Support infobox doc gen on stable release
This commit is contained in:
parent
61e925cbed
commit
64f83dfcbd
1 changed files with 7 additions and 1 deletions
|
@ -3426,7 +3426,13 @@ macro_rules! mode_info {
|
|||
#[doc = "<table><tr><th>key</th><th>desc</th></tr><tbody>"]
|
||||
$(
|
||||
#[doc = "<tr><td>"]
|
||||
#[doc = mode_info!(@join $($key),+)]
|
||||
// TODO switch to this once we use rust 1.54
|
||||
// right now it will produce multiple rows
|
||||
// #[doc = mode_info!(@join $($key),+)]
|
||||
$(
|
||||
#[doc = $key]
|
||||
)+
|
||||
// <-
|
||||
#[doc = "</td><td>"]
|
||||
#[doc = $desc]
|
||||
#[doc = "</td></tr>"]
|
||||
|
|
Loading…
Reference in a new issue