Skip to content

Commit d6cd50b

Browse files
authored
Merge pull request #2907 from ehuss/search-feature
Expose "search" feature from mdbook-driver
2 parents 3fa4921 + 68d9bcf commit d6cd50b

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

crates/mdbook-driver/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,6 @@ tracing.workspace = true
2727

2828
[lints]
2929
workspace = true
30+
31+
[features]
32+
search = ["mdbook-html/search"]

crates/mdbook-driver/src/lib.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,12 @@
2323
//! for shared types. Types from this crate are rexported from the other
2424
//! crates as appropriate.
2525
//!
26+
//! ## Cargo features
27+
//!
28+
//! The following cargo features are available:
29+
//!
30+
//! - `search`: Enables the search index in the HTML renderer.
31+
//!
2632
//! ## Examples
2733
//!
2834
//! If creating a new book from scratch, you'll want to get a [`init::BookBuilder`] via

0 commit comments

Comments
 (0)