[−][src]Struct mdbook::config::Search
Configuration of the search functionality of the HTML renderer.
Fields
enable: boolEnable the search feature. Default: true.
limit_results: u32Maximum number of visible results. Default: 30.
The number of words used for a search result teaser. Default: 30.
use_boolean_and: boolDefine the logical link between multiple search words.
If true, all search words must appear in each result. Default: false.
boost_title: u8Boost factor for the search result score if a search word appears in the header.
Default: 2.
boost_hierarchy: u8Boost factor for the search result score if a search word appears in the hierarchy.
The hierarchy contains all titles of the parent documents and all parent headings.
Default: 1.
boost_paragraph: u8Boost factor for the search result score if a search word appears in the text.
Default: 1.
expand: boolTrue if the searchword micro should match microwave. Default: true.
heading_split_level: u8Documents are split into smaller parts, seperated by headings. This defines, until which
level of heading documents should be split. Default: 3. (### This is a level 3 heading)
copy_js: boolCopy JavaScript files for the search functionality to the output directory?
Default: true.
Trait Implementations
impl Clone for Search[src]
impl Debug for Search[src]
impl Default for Search[src]
impl<'de> Deserialize<'de> for Search where
Search: Default, [src]
Search: Default,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
impl PartialEq<Search> for Search[src]
impl Serialize for Search[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer, [src]
__S: Serializer,
impl StructuralPartialEq for Search[src]
Auto Trait Implementations
impl RefUnwindSafe for Search
impl Send for Search
impl Sync for Search
impl Unpin for Search
impl UnwindSafe for Search
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> CloneAny for T where
T: Clone + Any, [src]
T: Clone + Any,
fn clone_any(&self) -> Box<dyn CloneAny + 'static>[src]
fn clone_any_send(&self) -> Box<dyn CloneAny + 'static + Send> where
T: Send, [src]
T: Send,
fn clone_any_sync(&self) -> Box<dyn CloneAny + 'static + Sync> where
T: Sync, [src]
T: Sync,
fn clone_any_send_sync(&self) -> Box<dyn CloneAny + 'static + Sync + Send> where
T: Send + Sync, [src]
T: Send + Sync,
impl<T> DebugAny for T where
T: Any + Debug, [src]
T: Any + Debug,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>, [src]
T: Deserialize<'de>,
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> Same<T> for T[src]
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> Typeable for T where
T: Any, [src]
T: Any,
impl<T> UnsafeAny for T where
T: Any, [src]
T: Any,
impl<V, T> VZip<V> for T where
V: MultiLane<T>, [src]
V: MultiLane<T>,