Skip to content

Commit 9fce4ad

Browse files
committed
Remove theme_option
This helper is no longer used.
1 parent 76c5b69 commit 9fce4ad

File tree

3 files changed

+0
-41
lines changed

3 files changed

+0
-41
lines changed

crates/mdbook-html/src/html_handlebars/hbs_renderer.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -271,8 +271,6 @@ impl HtmlHandlebars {
271271
no_section_label: html_config.no_section_label,
272272
}),
273273
);
274-
// TODO: remove theme_option in 0.5, it is not needed.
275-
handlebars.register_helper("theme_option", Box::new(helpers::theme::theme_option));
276274
}
277275

278276
fn emit_redirects(
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
pub(crate) mod resources;
2-
pub(crate) mod theme;
32
pub(crate) mod toc;

crates/mdbook-html/src/html_handlebars/helpers/theme.rs

Lines changed: 0 additions & 38 deletions
This file was deleted.

0 commit comments

Comments
 (0)