File tree 3 files changed +3
-14
lines changed
crates/lad_backends/mdbook_lad_preprocessor
tests/books/example_ladfile
3 files changed +3
-14
lines changed Original file line number Diff line number Diff line change @@ -12,20 +12,11 @@ mod markdown;
12
12
mod sections;
13
13
14
14
#[ derive( Debug ) ]
15
- struct Options {
16
- pub root : String ,
17
- }
15
+ struct Options { }
18
16
19
17
impl From < & PreprocessorContext > for Options {
20
- fn from ( context : & PreprocessorContext ) -> Self {
21
- let root = context
22
- . config
23
- . get_preprocessor ( "lad-preprocessor" )
24
- . and_then ( |t| t. get ( "root" ) )
25
- . and_then ( |v| v. as_str ( ) )
26
- . map ( |s| s. to_owned ( ) )
27
- . unwrap_or_default ( ) ;
28
- Options { root }
18
+ fn from ( _context : & PreprocessorContext ) -> Self {
19
+ Options { }
29
20
}
30
21
}
31
22
Original file line number Diff line number Diff line change @@ -8,6 +8,5 @@ description = "Documentation for the Bevy Scripting library"
8
8
9
9
10
10
[preprocessor .lad-preprocessor ]
11
- root = " root"
12
11
13
12
[output .markdown ]
Original file line number Diff line number Diff line change @@ -16,4 +16,3 @@ enable = true
16
16
level = 1
17
17
18
18
[preprocessor .lad-preprocessor ]
19
- root = " bevy_mod_scripting"
You can’t perform that action at this time.
0 commit comments