Skip to content

Commit 07a819d

Browse files
committed
chore: fix ci
1 parent a643b70 commit 07a819d

File tree

3 files changed

+3
-14
lines changed

3 files changed

+3
-14
lines changed

crates/lad_backends/mdbook_lad_preprocessor/src/lib.rs

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,11 @@ mod markdown;
1212
mod sections;
1313

1414
#[derive(Debug)]
15-
struct Options {
16-
pub root: String,
17-
}
15+
struct Options {}
1816

1917
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 {}
2920
}
3021
}
3122

crates/lad_backends/mdbook_lad_preprocessor/tests/books/example_ladfile/book.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,5 @@ description = "Documentation for the Bevy Scripting library"
88

99

1010
[preprocessor.lad-preprocessor]
11-
root = "root"
1211

1312
[output.markdown]

docs/book.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,3 @@ enable = true
1616
level = 1
1717

1818
[preprocessor.lad-preprocessor]
19-
root = "bevy_mod_scripting"

0 commit comments

Comments
 (0)