File tree 3 files changed +8
-0
lines changed
3 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,7 @@ fn cache_side_bar(sidebar: &str) -> bool {
38
38
| "gamessidebar"
39
39
| "mathmlref"
40
40
| "pwasidebar"
41
+ | "addonsidebarmain"
41
42
)
42
43
}
43
44
Original file line number Diff line number Diff line change @@ -59,6 +59,7 @@ pub fn invoke(
59
59
| "gamessidebar"
60
60
| "mathmlref"
61
61
| "pwasidebar"
62
+ | "addonsidebarmain"
62
63
) ;
63
64
let f = match name. as_str ( ) {
64
65
"compat" => compat:: compat_any,
@@ -150,6 +151,7 @@ pub fn invoke(
150
151
"gamessidebar" => sidebars:: gamessidebar_any,
151
152
"mathmlref" => sidebars:: mathmlref_any,
152
153
"pwasidebar" => sidebars:: pwasidebar_any,
154
+ "addonsidebarmain" => sidebars:: addonsidebarmain_any,
153
155
154
156
// unknown
155
157
_ if deny_warnings ( ) => return Err ( DocError :: UnknownMacro ( ident. to_string ( ) ) ) ,
Original file line number Diff line number Diff line change @@ -98,3 +98,8 @@ pub fn mathmlref() -> Result<String, DocError> {
98
98
pub fn pwasidebar ( ) -> Result < String , DocError > {
99
99
sidebar:: render_sidebar ( "pwasidebar" , env. slug , env. locale )
100
100
}
101
+
102
+ #[ rari_f]
103
+ pub fn addonsidebarmain ( ) -> Result < String , DocError > {
104
+ sidebar:: render_sidebar ( "addonsidebarmain" , env. slug , env. locale )
105
+ }
You can’t perform that action at this time.
0 commit comments