Struct mdbook_linkcheck::Config [−][src]
pub struct Config { pub follow_web_links: bool, pub traverse_parent_directories: bool, pub exclude: Vec<Regex>, }
The configuration options available with this backend.
Fields
follow_web_links: bool
If a link on the internet is encountered, should we still try to check
if it's valid? Defaults to false
because this has a big performance
impact.
traverse_parent_directories: bool
Are we allowed to link to files outside of the book's source directory?
exclude: Vec<Regex>
Methods
impl Config
[src]
impl Config
pub fn should_skip(&self, link: &str) -> bool
[src]
pub fn should_skip(&self, link: &str) -> bool
Trait Implementations
impl Debug for Config
[src]
impl Debug for Config
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for Config
[src]
impl Clone for Config
fn clone(&self) -> Config
[src]
fn clone(&self) -> Config
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Default for Config
[src]
impl Default for Config
impl PartialEq for Config
[src]
impl PartialEq for Config