Expose "search" feature from mdbook-driver
This allows users of mdbook-driver to easily enable the search feature.
This commit is contained in:
parent
3fa49214ad
commit
68d9bcfec4
2 changed files with 9 additions and 0 deletions
|
|
@ -27,3 +27,6 @@ tracing.workspace = true
|
||||||
|
|
||||||
[lints]
|
[lints]
|
||||||
workspace = true
|
workspace = true
|
||||||
|
|
||||||
|
[features]
|
||||||
|
search = ["mdbook-html/search"]
|
||||||
|
|
|
||||||
|
|
@ -23,6 +23,12 @@
|
||||||
//! for shared types. Types from this crate are rexported from the other
|
//! for shared types. Types from this crate are rexported from the other
|
||||||
//! crates as appropriate.
|
//! crates as appropriate.
|
||||||
//!
|
//!
|
||||||
|
//! ## Cargo features
|
||||||
|
//!
|
||||||
|
//! The following cargo features are available:
|
||||||
|
//!
|
||||||
|
//! - `search`: Enables the search index in the HTML renderer.
|
||||||
|
//!
|
||||||
//! ## Examples
|
//! ## Examples
|
||||||
//!
|
//!
|
||||||
//! If creating a new book from scratch, you'll want to get a [`init::BookBuilder`] via
|
//! If creating a new book from scratch, you'll want to get a [`init::BookBuilder`] via
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue