on master help sign in
Support infobox doc gen on stable release
commit64f83dfcbd3e093a31b2ef6bd787161ea8904583 authorIvan Tham <pickfire@riseup.net> dateThu 1 Jul 2021, 09:33 (5 years ago) parent61e925c
1 file changed+7−1
helix-term/src/commands.rs+7−1
helix-term/src/commands.rs+7−1
@@ -3426,7 +3426,13 @@ macro_rules! mode_info {
34263426 #[doc = "<table><tr><th>key</th><th>desc</th></tr><tbody>"]
34273427 $(
34283428 #[doc = "<tr><td>"]
3429− #[doc = mode_info!(@join $($key),+)]
3429+ // TODO switch to this once we use rust 1.54
3430+ // right now it will produce multiple rows
3431+ // #[doc = mode_info!(@join $($key),+)]
3432+ $(
3433+ #[doc = $key]
3434+ )+
3435+ // <-
34303436 #[doc = "</td><td>"]
34313437 #[doc = $desc]
34323438 #[doc = "</td></tr>"]