SYMBOL INDEX (984 symbols across 88 files) FILE: crates/mdbook-compare/src/main.rs function main (line 14) | fn main() { function clean (line 39) | fn clean(path: &Path) { function build (line 46) | fn build(mdbook: &Path, book: &Path) { function process (line 61) | fn process(path: &Path) { function process_html (line 78) | fn process_html(path: &Path) { function tidy (line 88) | fn tidy(path: &Path) { function diff (line 105) | fn diff(a: &Path, b: &Path) { FILE: crates/mdbook-core/src/book.rs type Book (line 26) | pub struct Book { method new (line 33) | pub fn new() -> Self { method new_with_items (line 38) | pub fn new_with_items(items: Vec) -> Book { method iter (line 43) | pub fn iter(&self) -> BookItems<'_> { method chapters (line 50) | pub fn chapters(&self) -> impl Iterator { method for_each_mut (line 65) | pub fn for_each_mut(&mut self, mut func: F) method for_each_chapter_mut (line 74) | pub fn for_each_chapter_mut(&mut self, mut func: F) method push_item (line 93) | pub fn push_item>(&mut self, item: I) -> &mut Self { function for_each_mut (line 99) | fn for_each_mut<'a, F, I>(func: &mut F, items: I) type BookItem (line 119) | pub enum BookItem { method from (line 129) | fn from(other: Chapter) -> BookItem { type Chapter (line 141) | pub struct Chapter { method new (line 173) | pub fn new>( method new_draft (line 192) | pub fn new_draft(name: &str, parent_names: Vec) -> Self { method is_draft_chapter (line 204) | pub fn is_draft_chapter(&self) -> bool { method fmt (line 210) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { type SectionNumber (line 222) | pub struct SectionNumber(Vec); method new (line 226) | pub fn new(numbers: impl Into>) -> SectionNumber { method from_iter (line 258) | fn from_iter>(it: I) -> Self { method fmt (line 232) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { type Target (line 245) | type Target = Vec; method deref (line 246) | fn deref(&self) -> &Self::Target { method deref_mut (line 252) | fn deref_mut(&mut self) -> &mut Self::Target { type BookItems (line 269) | pub struct BookItems<'a> { type Item (line 274) | type Item = &'a BookItem; method next (line 276) | fn next(&mut self) -> Option { FILE: crates/mdbook-core/src/book/tests.rs function section_number_has_correct_dotted_representation (line 4) | fn section_number_has_correct_dotted_representation() { function book_iter_iterates_over_sequential_items (line 18) | fn book_iter_iterates_over_sequential_items() { function for_each_mut_visits_all_items (line 37) | fn for_each_mut_visits_all_items() { function iterate_over_nested_book_items (line 75) | fn iterate_over_nested_book_items() { FILE: crates/mdbook-core/src/config.rs type Config (line 63) | pub struct Config { method from_disk (line 113) | pub fn from_disk>(config_file: P) -> Result { method update_from_env (line 150) | pub fn update_from_env(&mut self) -> Result<()> { method get (line 189) | pub fn get<'de, T: Deserialize<'de>>(&self, name: &str) -> Result bool { method preprocessors (line 228) | pub fn preprocessors<'de, T: Deserialize<'de>>(&self) -> Result>(&self) -> Result Option { method set (line 274) | pub fn set>(&mut self, index: I, value: S)... function is_default (line 81) | fn is_default(t: &T) -> bool { function toml_is_empty (line 86) | fn toml_is_empty(table: &Value) -> bool { type Err (line 91) | type Err = Error; method from_str (line 94) | fn from_str(src: &str) -> Result { method default (line 100) | fn default() -> Config { function parse_env (line 308) | fn parse_env(key: &str) -> Option { type BookConfig (line 318) | pub struct BookConfig { method realized_text_direction (line 356) | pub fn realized_text_direction(&self) -> TextDirection { function is_default_src (line 336) | fn is_default_src(src: &PathBuf) -> bool { method default (line 341) | fn default() -> BookConfig { type TextDirection (line 368) | pub enum TextDirection { method from_lang_code (line 379) | pub fn from_lang_code(code: &str) -> Self { type BuildConfig (line 394) | pub struct BuildConfig { method default (line 408) | fn default() -> BuildConfig { type RustConfig (line 422) | pub struct RustConfig { type RustEdition (line 430) | pub enum RustEdition { type HtmlConfig (line 449) | pub struct HtmlConfig { method theme_dir (line 558) | pub fn theme_dir(&self, root: &Path) -> PathBuf { method get_404_output_file (line 566) | pub fn get_404_output_file(&self) -> String { method default (line 524) | fn default() -> HtmlConfig { type Print (line 578) | pub struct Print { method default (line 586) | fn default() -> Self { type Fold (line 598) | pub struct Fold { type Playground (line 611) | pub struct Playground { method default (line 626) | fn default() -> Playground { type Code (line 641) | pub struct Code { type Search (line 650) | pub struct Search { method default (line 686) | fn default() -> Search { type SearchChapterSettings (line 708) | pub struct SearchChapterSettings { type Updateable (line 718) | trait Updateable<'de>: Serialize + Deserialize<'de> { method update_value (line 719) | fn update_value(&mut self, key: &str, value: S) -> Resul... constant COMPLEX_CONFIG (line 735) | const COMPLEX_CONFIG: &str = r#" function load_a_complex_config_file (line 769) | fn load_a_complex_config_file() { function disable_runnable (line 823) | fn disable_runnable() { function edition_2015 (line 839) | fn edition_2015() { function edition_2018 (line 871) | fn edition_2018() { function edition_2021 (line 891) | fn edition_2021() { function load_arbitrary_output_type (line 911) | fn load_arbitrary_output_type() { function set_special_tables (line 944) | fn set_special_tables() { function set_invalid_keys (line 968) | fn set_invalid_keys() { function parse_env_vars (line 975) | fn parse_env_vars() { function file_404_default (line 992) | fn file_404_default() { function file_404_custom (line 1004) | fn file_404_custom() { function text_direction_ltr (line 1017) | fn text_direction_ltr() { function text_direction_rtl (line 1028) | fn text_direction_rtl() { function text_direction_none (line 1039) | fn text_direction_none() { function test_text_direction (line 1049) | fn test_text_direction() { function invalid_language_type_error (line 1085) | fn invalid_language_type_error() { function invalid_title_type (line 1100) | fn invalid_title_type() { function invalid_build_dir_type (line 1115) | fn invalid_build_dir_type() { function invalid_rust_edition (line 1127) | fn invalid_rust_edition() { function invalid_rust_edition_expected (line 1140) | fn invalid_rust_edition_expected() { function print_config (line 1150) | fn print_config() { function test_json_direction (line 1170) | fn test_json_direction() { function get_deserialize_error (line 1177) | fn get_deserialize_error() { function contains_key (line 1191) | fn contains_key() { FILE: crates/mdbook-core/src/lib.rs constant MDBOOK_VERSION (line 7) | pub const MDBOOK_VERSION: &str = env!("CARGO_PKG_VERSION"); FILE: crates/mdbook-core/src/utils/fs.rs function read_to_string (line 11) | pub fn read_to_string>(path: P) -> Result { function write (line 20) | pub fn write, C: AsRef<[u8]>>(path: P, contents: C) -> Re... function create_dir_all (line 31) | pub fn create_dir_all(p: impl AsRef) -> Result<()> { function path_to_root (line 55) | pub fn path_to_root>(path: P) -> String { function remove_dir_content (line 74) | pub fn remove_dir_content(dir: &Path) -> Result<()> { function copy_files_except_ext (line 93) | pub fn copy_files_except_ext( function copy (line 155) | fn copy, Q: AsRef>(from: P, to: Q) -> Result<()> { function symlink (line 217) | fn symlink, Q: AsRef>(src: P, dst: Q) -> Result<()> { function symlink (line 222) | fn symlink, Q: AsRef>(src: P, dst: Q) -> Result<()> { function copy_files_except_ext_test (line 227) | fn copy_files_except_ext_test() { FILE: crates/mdbook-core/src/utils/html.rs function escape_html_attribute (line 6) | pub fn escape_html_attribute(text: &str) -> Cow<'_, str> { function escape_html (line 32) | pub fn escape_html(text: &str) -> Cow<'_, str> { function attributes_are_escaped (line 55) | fn attributes_are_escaped() { function html_is_escaped (line 68) | fn html_is_escaped() { FILE: crates/mdbook-core/src/utils/mod.rs function log_backtrace (line 29) | pub fn log_backtrace(e: &Error) { FILE: crates/mdbook-core/src/utils/toml_ext.rs type TomlExt (line 6) | pub(crate) trait TomlExt { method read (line 8) | fn read(&self, key: &str) -> Option<&Value>; method insert (line 10) | fn insert(&mut self, key: &str, value: Value); method read (line 14) | fn read(&self, key: &str) -> Option<&Value> { method insert (line 22) | fn insert(&mut self, key: &str, value: Value) { function split (line 40) | fn split(key: &str) -> Option<(&str, &str)> { function read_simple_table (line 55) | fn read_simple_table() { function read_nested_item (line 65) | fn read_nested_item() { function insert_item_at_top_level (line 75) | fn insert_item_at_top_level() { function insert_nested_item (line 85) | fn insert_nested_item() { FILE: crates/mdbook-driver/src/builtin_preprocessors/cmd.rs type CmdPreprocessor (line 14) | pub struct CmdPreprocessor { method new (line 23) | pub fn new(name: String, cmd: String, root: PathBuf, optional: bool) -... method write_input_to_child (line 32) | fn write_input_to_child(&self, child: &mut Child, book: &Book, ctx: &P... method write_input (line 42) | fn write_input( method cmd (line 52) | pub fn cmd(&self) -> &str { method name (line 58) | fn name(&self) -> &str { method run (line 62) | fn run(&self, ctx: &PreprocessorContext, book: Book) -> Result { method supports_renderer (line 115) | fn supports_renderer(&self, renderer: &str) -> Result { function guide (line 155) | fn guide() -> MDBook { function round_trip_write_and_parse_input (line 161) | fn round_trip_write_and_parse_input() { FILE: crates/mdbook-driver/src/builtin_preprocessors/index.rs type IndexPreprocessor (line 12) | pub struct IndexPreprocessor; constant NAME (line 16) | pub const NAME: &'static str = "index"; method new (line 19) | pub fn new() -> Self { method name (line 25) | fn name(&self) -> &str { method run (line 29) | fn run(&self, ctx: &PreprocessorContext, mut book: Book) -> Result { function warn_readme_name_conflict (line 50) | fn warn_readme_name_conflict>(readme_path: P, index_path:... function is_readme_file (line 70) | fn is_readme_file>(path: P) -> bool { function file_stem_exactly_matches_readme_case_insensitively (line 86) | fn file_stem_exactly_matches_readme_case_insensitively() { FILE: crates/mdbook-driver/src/builtin_preprocessors/links.rs constant ESCAPE_CHAR (line 17) | const ESCAPE_CHAR: char = '\\'; constant MAX_LINK_NESTED_DEPTH (line 18) | const MAX_LINK_NESTED_DEPTH: usize = 10; type LinkPreprocessor (line 32) | pub struct LinkPreprocessor; constant NAME (line 36) | pub const NAME: &'static str = "links"; method new (line 39) | pub fn new() -> Self { method name (line 45) | fn name(&self) -> &str { method run (line 49) | fn run(&self, ctx: &PreprocessorContext, mut book: Book) -> Result { function replace_all (line 77) | fn replace_all( type LinkType (line 139) | enum LinkType<'a> { type RangeOrAnchor (line 148) | enum RangeOrAnchor { type LineRange (line 155) | enum LineRange { method start_bound (line 163) | fn start_bound(&self) -> Bound<&usize> { method end_bound (line 172) | fn end_bound(&self) -> Bound<&usize> { method from (line 183) | fn from(r: Range) -> LineRange { method from (line 189) | fn from(r: RangeFrom) -> LineRange { method from (line 195) | fn from(r: RangeTo) -> LineRange { method from (line 201) | fn from(r: RangeFull) -> LineRange { function relative_path (line 207) | fn relative_path>(self, base: P) -> Option { function return_relative_path (line 218) | fn return_relative_path>(base: P, relative: P) -> PathBuf { function parse_range_or_anchor (line 226) | fn parse_range_or_anchor(parts: Option<&str>) -> RangeOrAnchor { function parse_include_path (line 256) | fn parse_include_path(path: &str) -> LinkType<'static> { function parse_rustdoc_include_path (line 265) | fn parse_rustdoc_include_path(path: &str) -> LinkType<'static> { type Link (line 275) | struct Link<'a> { function from_capture (line 283) | fn from_capture(cap: Captures<'a>) -> Option> { function render_with_path (line 324) | fn render_with_path>( type LinkIter (line 398) | struct LinkIter<'a>(CaptureMatches<'a, 'a>); type Item (line 401) | type Item = Link<'a>; method next (line 402) | fn next(&mut self) -> Option> { function find_links (line 412) | fn find_links(contents: &str) -> LinkIter<'_> { function test_replace_all_escaped (line 433) | fn test_replace_all_escaped() { function test_set_chapter_title (line 449) | fn test_set_chapter_title() { function test_find_links_no_link (line 462) | fn test_find_links_no_link() { function test_find_links_partial_link (line 468) | fn test_find_links_partial_link() { function test_find_links_empty_link (line 478) | fn test_find_links_empty_link() { function test_find_links_unknown_link_type (line 484) | fn test_find_links_unknown_link_type() { function test_find_links_simple_link (line 490) | fn test_find_links_simple_link() { function test_find_links_with_special_characters (line 516) | fn test_find_links_with_special_characters() { function test_find_links_with_range (line 534) | fn test_find_links_with_range() { function test_find_links_with_line_number (line 553) | fn test_find_links_with_line_number() { function test_find_links_with_from_range (line 572) | fn test_find_links_with_from_range() { function test_find_links_with_to_range (line 591) | fn test_find_links_with_to_range() { function test_find_links_with_full_range (line 610) | fn test_find_links_with_full_range() { function test_find_links_with_no_range_specified (line 629) | fn test_find_links_with_no_range_specified() { function test_find_links_with_anchor (line 648) | fn test_find_links_with_anchor() { function test_find_links_escaped_link (line 667) | fn test_find_links_escaped_link() { function test_find_playgrounds_with_properties (line 685) | fn test_find_playgrounds_with_properties() { function test_find_all_link_types (line 714) | fn test_find_all_link_types() { function parse_without_colon_includes_all (line 758) | fn parse_without_colon_includes_all() { function parse_with_nothing_after_colon_includes_all (line 770) | fn parse_with_nothing_after_colon_includes_all() { function parse_with_two_colons_includes_all (line 782) | fn parse_with_two_colons_includes_all() { function parse_with_garbage_after_two_colons_includes_all (line 794) | fn parse_with_garbage_after_two_colons_includes_all() { function parse_with_one_number_after_colon_only_that_line (line 806) | fn parse_with_one_number_after_colon_only_that_line() { function parse_with_one_based_start_becomes_zero_based (line 818) | fn parse_with_one_based_start_becomes_zero_based() { function parse_with_zero_based_start_stays_zero_based_but_is_probably_an_error (line 830) | fn parse_with_zero_based_start_stays_zero_based_but_is_probably_an_error... function parse_start_only_range (line 842) | fn parse_start_only_range() { function parse_start_with_garbage_interpreted_as_start_only_range (line 854) | fn parse_start_with_garbage_interpreted_as_start_only_range() { function parse_end_only_range (line 866) | fn parse_end_only_range() { function parse_start_and_end_range (line 878) | fn parse_start_and_end_range() { function parse_with_negative_interpreted_as_anchor (line 890) | fn parse_with_negative_interpreted_as_anchor() { function parse_with_floating_point_interpreted_as_anchor (line 902) | fn parse_with_floating_point_interpreted_as_anchor() { function parse_with_anchor_followed_by_colon (line 914) | fn parse_with_anchor_followed_by_colon() { function parse_with_more_than_three_colons_ignores_everything_after_third_colon (line 926) | fn parse_with_more_than_three_colons_ignores_everything_after_third_colo... FILE: crates/mdbook-driver/src/builtin_preprocessors/links/take_lines.rs function take_lines (line 6) | pub(super) fn take_lines>(s: &str, range: R) -> St... function take_anchored_lines (line 31) | pub(super) fn take_anchored_lines(s: &str, anchor: &str) -> String { function take_rustdoc_include_lines (line 63) | pub(super) fn take_rustdoc_include_lines>(s: &str,... function take_rustdoc_include_anchored_lines (line 81) | pub(super) fn take_rustdoc_include_anchored_lines(s: &str, anchor: &str)... function take_lines_test (line 124) | fn take_lines_test() { function take_anchored_lines_test (line 136) | fn take_anchored_lines_test() { function take_rustdoc_include_lines_test (line 166) | fn take_rustdoc_include_lines_test() { function take_rustdoc_include_anchored_lines_test (line 190) | fn take_rustdoc_include_anchored_lines_test() { FILE: crates/mdbook-driver/src/builtin_renderers/markdown_renderer.rs type MarkdownRenderer (line 10) | pub struct MarkdownRenderer; method new (line 14) | pub fn new() -> Self { method name (line 20) | fn name(&self) -> &str { method render (line 24) | fn render(&self, ctx: &RenderContext) -> Result<()> { FILE: crates/mdbook-driver/src/builtin_renderers/mod.rs type CmdRenderer (line 20) | pub struct CmdRenderer { method new (line 27) | pub fn new(name: String, cmd: String) -> CmdRenderer { method name (line 33) | fn name(&self) -> &str { method render (line 37) | fn render(&self, ctx: &RenderContext) -> Result<()> { FILE: crates/mdbook-driver/src/init.rs type BookBuilder (line 13) | pub struct BookBuilder { method new (line 23) | pub fn new>(root: P) -> BookBuilder { method with_config (line 33) | pub fn with_config(&mut self, cfg: Config) -> &mut BookBuilder { method config (line 39) | pub fn config(&self) -> &Config { method copy_theme (line 45) | pub fn copy_theme(&mut self, copy: bool) -> &mut BookBuilder { method create_gitignore (line 51) | pub fn create_gitignore(&mut self, create: bool) -> &mut BookBuilder { method build (line 64) | pub fn build(&self) -> Result { method write_book_toml (line 98) | fn write_book_toml(&self) -> Result<()> { method copy_across_theme (line 108) | fn copy_across_theme(&self) -> Result<()> { method build_gitignore (line 116) | fn build_gitignore(&self) -> Result<()> { method create_stub_files (line 124) | fn create_stub_files(&self) -> Result<()> { method create_directory_structure (line 145) | fn create_directory_structure(&self) -> Result<()> { FILE: crates/mdbook-driver/src/lib.rs function compose_command (line 82) | fn compose_command(cmd: &str, root: &Path) -> Result { function handle_command_error (line 107) | fn handle_command_error( FILE: crates/mdbook-driver/src/load.rs function load_book (line 10) | pub(crate) fn load_book>(src_dir: P, cfg: &BuildConfig) -... function create_missing (line 25) | fn create_missing(src_dir: &Path, summary: &Summary) -> Result<()> { function load_book_from_disk (line 60) | pub(crate) fn load_book_from_disk>(summary: &Summary, src... function load_summary_item (line 80) | fn load_summary_item + Clone>( function load_chapter (line 93) | fn load_chapter>( constant DUMMY_SRC (line 148) | const DUMMY_SRC: &str = " function dummy_link (line 158) | fn dummy_link() -> (Link, TempDir) { function nested_links (line 170) | fn nested_links() -> (Link, TempDir) { function load_a_single_chapter_from_disk (line 187) | fn load_a_single_chapter_from_disk() { function load_a_single_chapter_with_utf8_bom_from_disk (line 201) | fn load_a_single_chapter_with_utf8_bom_from_disk() { function cant_load_a_nonexistent_chapter (line 221) | fn cant_load_a_nonexistent_chapter() { function load_recursive_link_with_separators (line 229) | fn load_recursive_link_with_separators() { function load_a_book_with_a_single_chapter (line 253) | fn load_a_book_with_a_single_chapter() { function cant_load_chapters_with_an_empty_path (line 272) | fn cant_load_chapters_with_an_empty_path() { function cant_load_chapters_when_the_link_is_a_directory (line 282) | fn cant_load_chapters_when_the_link_is_a_directory() { function cant_open_summary_md (line 296) | fn cant_open_summary_md() { FILE: crates/mdbook-driver/src/mdbook.rs type MDBook (line 29) | pub struct MDBook { method load (line 48) | pub fn load>(book_root: P) -> Result { method load_with_config (line 71) | pub fn load_with_config>(book_root: P, config: Config... method load_with_config_and_summary (line 90) | pub fn load_with_config_and_summary>( method iter (line 135) | pub fn iter(&self) -> BookItems<'_> { method init (line 156) | pub fn init>(book_root: P) -> BookBuilder { method build (line 161) | pub fn build(&self) -> Result<()> { method preprocess_book (line 172) | pub fn preprocess_book(&self, renderer: &dyn Renderer) -> Result<(Book... method execute_build_process (line 189) | pub fn execute_build_process(&self, renderer: &dyn Renderer) -> Result... method with_renderer (line 214) | pub fn with_renderer(&mut self, renderer: R) ->... method with_preprocessor (line 221) | pub fn with_preprocessor(&mut self, preproc... method test (line 228) | pub fn test(&mut self, library_paths: Vec<&str>) -> Result<()> { method test_chapter (line 235) | pub fn test_chapter(&mut self, library_paths: Vec<&str>, chapter: Opti... method build_dir_for (line 371) | pub fn build_dir_for(&self, backend_name: &str) -> PathBuf { method source_dir (line 382) | pub fn source_dir(&self) -> PathBuf { method theme_dir (line 387) | pub fn theme_dir(&self) -> PathBuf { type OutputConfig (line 397) | struct OutputConfig { function determine_renderers (line 402) | fn determine_renderers(config: &Config) -> Result bool { type PreprocessorConfig (line 435) | struct PreprocessorConfig { function determine_preprocessors (line 446) | fn determine_preprocessors( function preprocessor_should_run (line 549) | fn preprocessor_should_run( FILE: crates/mdbook-driver/src/mdbook/tests.rs function config_defaults_to_html_renderer_if_empty (line 6) | fn config_defaults_to_html_renderer_if_empty() { function add_a_random_renderer_to_the_config (line 19) | fn add_a_random_renderer_to_the_config() { function add_a_random_renderer_with_custom_command_to_the_config (line 30) | fn add_a_random_renderer_with_custom_command_to_the_config() { function config_defaults_to_link_and_index_preprocessor_if_not_set (line 44) | fn config_defaults_to_link_and_index_preprocessor_if_not_set() { function use_default_preprocessors_works (line 57) | fn use_default_preprocessors_works() { function can_determine_third_party_preprocessors (line 67) | fn can_determine_third_party_preprocessors() { function preprocessors_can_provide_their_own_commands (line 90) | fn preprocessors_can_provide_their_own_commands() { function preprocessor_before_must_be_array (line 107) | fn preprocessor_before_must_be_array() { function preprocessor_after_must_be_array (line 119) | fn preprocessor_after_must_be_array() { function preprocessor_order_is_honored (line 131) | fn preprocessor_order_is_honored() { function cyclic_dependencies_are_detected (line 162) | fn cyclic_dependencies_are_detected() { function dependencies_dont_register_undefined_preprocessors (line 177) | fn dependencies_dont_register_undefined_preprocessors() { function dependencies_dont_register_builtin_preprocessors_if_disabled (line 192) | fn dependencies_dont_register_builtin_preprocessors_if_disabled() { function config_respects_preprocessor_selection (line 210) | fn config_respects_preprocessor_selection() { type BoolPreprocessor (line 225) | struct BoolPreprocessor(bool); method name (line 227) | fn name(&self) -> &str { method run (line 231) | fn run(&self, _ctx: &PreprocessorContext, _book: Book) -> Result { method supports_renderer (line 235) | fn supports_renderer(&self, _renderer: &str) -> Result { function preprocessor_should_run_falls_back_to_supports_renderer_method (line 241) | fn preprocessor_should_run_falls_back_to_supports_renderer_method() { function preprocessor_sorted_by_name (line 256) | fn preprocessor_sorted_by_name() { function renderers_sorted_by_name (line 272) | fn renderers_sorted_by_name() { FILE: crates/mdbook-html/front-end/js/book.js function playground_text (line 9) | function playground_text(playground, hidden = true) { function fetch_with_timeout (line 23) | function fetch_with_timeout(url, options, timeout = 6000) { function handle_crate_list_update (line 47) | function handle_crate_list_update(playground_block, playground_crates) { function update_play_button (line 74) | function update_play_button(pre_block, playground_crates) { function run_rust_code (line 105) | function run_rust_code(code_block) { function showThemes (line 324) | function showThemes() { function updateThemeSelected (line 330) | function updateThemeSelected() { function hideThemes (line 343) | function hideThemes() { function get_saved_theme (line 349) | function get_saved_theme() { function delete_saved_theme (line 359) | function delete_saved_theme() { function get_theme (line 363) | function get_theme() { function set_theme (line 380) | function set_theme(theme, store = true) { function showSidebar (line 553) | function showSidebar() { function hideSidebar (line 567) | function hideSidebar() { function initResize (line 597) | function initResize() { function resize (line 602) | function resize(e) { function stopResize (line 615) | function stopResize() { function next (line 659) | function next() { function prev (line 665) | function prev() { function showHelp (line 671) | function showHelp() { function hideHelp (line 703) | function hideHelp() { function hideTooltip (line 744) | function hideTooltip(elem) { function showTooltip (line 749) | function showTooltip(elem, msg) { function updateBorder (line 833) | function updateBorder() { FILE: crates/mdbook-html/front-end/js/highlight.js function e (line 6) | function e(n){Object.freeze(n);var t="function"==typeof n;return Object.... class n (line 6) | class n{constructor(e){void 0===e.data&&(e.data={}),this.data=e.data}ign... method constructor (line 6) | constructor(e){void 0===e.data&&(e.data={}),this.data=e.data} method ignoreMatch (line 6) | ignoreMatch(){this.ignore=!0} function t (line 6) | function t(e){return e.replace(/&/g,"&").replace(/`} function c (line 6) | function c(e){s+="<"+a(e)+[].map.call(e.attributes,(function(e){return" ... method constructor (line 6) | constructor(){this.rootNode={children:[]},this.stack=[this.rootNode]} method top (line 6) | get top(){return this.stack[this.stack.length-1]} method root (line 6) | get root(){return this.rootNode} method add (line 6) | add(e){this.top.children.push(e)} method openNode (line 6) | openNode(e){const n={kind:e,children:[]};this.add(n),this.stack.push(n)} method closeNode (line 6) | closeNode(){if(this.stack.length>1)return this.stack.pop()} method closeAllNodes (line 6) | closeAllNodes(){for(;this.closeNode(););} method toJSON (line 6) | toJSON(){return JSON.stringify(this.rootNode,null,4)} method walk (line 6) | walk(e){return this.constructor._walk(e,this.rootNode)} method _walk (line 6) | static _walk(e,n){return"string"==typeof n?e.addText(n):n.children&&(e... method _collapse (line 6) | static _collapse(e){"string"!=typeof e&&e.children&&(e.children.every(... function u (line 6) | function u(e){s+=""} method constructor (line 6) | constructor(e){super(),this.options=e} method addKeyword (line 6) | addKeyword(e,n){""!==e&&(this.openNode(n),this.addText(e),this.closeNo... method addText (line 6) | addText(e){""!==e&&this.add(e)} method addSublanguage (line 6) | addSublanguage(e,n){const t=e.root;t.kind=n,t.sublanguage=!0,this.add(t)} method toHTML (line 6) | toHTML(){return new l(this,this.options).value()} method finalize (line 6) | finalize(){return!0} function d (line 6) | function d(e){("start"===e.event?c:u)(e.node)} class l (line 6) | class l{constructor(e,n){this.buffer="",this.classPrefix=n.classPrefix,e... method constructor (line 6) | constructor(e,n){this.buffer="",this.classPrefix=n.classPrefix,e.walk(... method addText (line 6) | addText(e){this.buffer+=t(e)} method openNode (line 6) | openNode(e){if(!o(e))return;let n=e.kind;e.sublanguage||(n=`${this.cla... method closeNode (line 6) | closeNode(e){o(e)&&(this.buffer+=s)} method value (line 6) | value(){return this.buffer} method span (line 6) | span(e){this.buffer+=``} class c (line 6) | class c{constructor(){this.rootNode={children:[]},this.stack=[this.rootN... method constructor (line 6) | constructor(){this.rootNode={children:[]},this.stack=[this.rootNode]} method top (line 6) | get top(){return this.stack[this.stack.length-1]} method root (line 6) | get root(){return this.rootNode} method add (line 6) | add(e){this.top.children.push(e)} method openNode (line 6) | openNode(e){const n={kind:e,children:[]};this.add(n),this.stack.push(n)} method closeNode (line 6) | closeNode(){if(this.stack.length>1)return this.stack.pop()} method closeAllNodes (line 6) | closeAllNodes(){for(;this.closeNode(););} method toJSON (line 6) | toJSON(){return JSON.stringify(this.rootNode,null,4)} method walk (line 6) | walk(e){return this.constructor._walk(e,this.rootNode)} method _walk (line 6) | static _walk(e,n){return"string"==typeof n?e.addText(n):n.children&&(e... method _collapse (line 6) | static _collapse(e){"string"!=typeof e&&e.children&&(e.children.every(... class u (line 6) | class u extends c{constructor(e){super(),this.options=e}addKeyword(e,n){... method constructor (line 6) | constructor(e){super(),this.options=e} method addKeyword (line 6) | addKeyword(e,n){""!==e&&(this.openNode(n),this.addText(e),this.closeNo... method addText (line 6) | addText(e){""!==e&&this.add(e)} method addSublanguage (line 6) | addSublanguage(e,n){const t=e.root;t.kind=n,t.sublanguage=!0,this.add(t)} method toHTML (line 6) | toHTML(){return new l(this,this.options).value()} method finalize (line 6) | finalize(){return!0} function d (line 6) | function d(e){return e?"string"==typeof e?e:e.source:null} function w (line 6) | function w(e,n){return n?+n:function(e){return N.includes(e.toLowerCase(... function p (line 6) | function p(e){return f.noHighlightRe.test(e)} function b (line 6) | function b(e,n,t,r){var a={code:n,language:e};S("before:highlight",a);va... function m (line 6) | function m(e,t,a,s){var o=t;function c(e,n){var t=E.case_insensitive?n[0... function v (line 6) | function v(e,n){n=n||f.languages||Object.keys(i);var t=function(e){const... function x (line 6) | function x(e){return f.tabReplace||f.useBR?e.replace(c,e=>"\n"===e?f.use... function E (line 6) | function E(e){let n=null;const t=function(e){var n=e.className+" ";n+=e.... function T (line 6) | function T(e){return e=(e||"").toLowerCase(),i[e]||i[s[e]]} function A (line 6) | function A(e,{languageName:n}){"string"==typeof e&&(e=[e]),e.forEach(e=>... function I (line 6) | function I(e){var n=T(e);return n&&!n.disableAutodetect} function S (line 6) | function S(e,n){var t=e;o.forEach((function(e){e[t]&&e[t](n)}))} function t (line 9) | function t(e){return"(?:"+e+")?"} function e (line 18) | function e(e){return e?"string"==typeof e?e:e.source:null} function n (line 18) | function n(...n){return n.map(n=>e(n)).join("")} method constructor (line 6) | constructor(e){void 0===e.data&&(e.data={}),this.data=e.data} method ignoreMatch (line 6) | ignoreMatch(){this.ignore=!0} function e (line 19) | function e(e){return e?"string"==typeof e?e:e.source:null} function n (line 19) | function n(e){return a("(",e,")?")} method constructor (line 6) | constructor(e){void 0===e.data&&(e.data={}),this.data=e.data} method ignoreMatch (line 6) | ignoreMatch(){this.ignore=!0} function a (line 19) | function a(...n){return n.map(n=>e(n)).join("")} function s (line 19) | function s(...n){return"("+n.map(n=>e(n)).join("|")+")"} function s (line 20) | function s(e){return r("(?=",e,")")} function r (line 20) | function r(...e){return e.map(e=>(function(e){return e?"string"==typeof ... function e (line 47) | function e(...e){return e.map(e=>(function(e){return e?"string"==typeof ... FILE: crates/mdbook-html/front-end/playground_editor/ace.js function o (line 28) | function o(n){var i=e;n&&(e[n]||(e[n]={}),i=e[n]);if(!i.define||!i.defin... function o (line 28) | function o(e){return(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline... function u (line 28) | function u(e,t,n){if(Array.prototype.indexOf)return e.indexOf(t,n);for(v... function r (line 28) | function r(){} function w (line 28) | function w(e){try{return Object.defineProperty(e,"sentinel",{}),"sentine... function H (line 28) | function H(e){return e=+e,e!==e?e=0:e!==0&&e!==1/0&&e!==-1/0&&(e=(e>0||-... function B (line 28) | function B(e){var t=typeof e;return e===null||t==="undefined"||t==="bool... function j (line 28) | function j(e){var t,n,r;if(B(e))return e;n=e.valueOf;if(typeof n=="funct... function e (line 28) | function e(e){var t=new Array(e+2);return t[0]=t[1]=0,t} function a (line 28) | function a(e,t,n){var a=u(t);if(!i.isMac&&s){t.getModifierState&&(t.getM... function f (line 28) | function f(){s=Object.create(null)} function i (line 28) | function i(e){n&&n(e),r&&r(e),t.removeListener(document,"mousemove",n,!0... function c (line 28) | function c(e){t.getButton(e)!==0?o=0:e.detail>1?(o++,o>4&&(o=1)):o=1;if(... function h (line 28) | function h(e){o=2,f&&clearTimeout(f),f=setTimeout(function(){f=null},n[o... function W (line 28) | function W(){x=!0,n.blur(),n.focus(),x=!1} function V (line 28) | function V(e){e.keyCode==27&&n.value.length>8;return n==0?t>191?g:B[t]:n==5... function U (line 28) | function U(e){return e>="\u064b"&&e<="\u0655"} function i (line 28) | function i(s){var o=r[s];o.processed=!0;for(var u=0;u=0&&t.row=0&&t.column<=... function s (line 28) | function s(e,t){t.action!="insert"&&t.action!="remove"&&r(t,"delta.actio... function e (line 28) | function e(e,t,n){var r=n?e.column<=t.column:e.column=4352&&e<=4447||e>=4515&&e<=4519||e>=46... function n (line 28) | function n(e){return t?e.action!=="insert":e.action==="insert"} function g (line 28) | function g(){var t=0;if(m===0)return t;if(p)for(var n=0;n"+e.end.row+":"+e... function p (line 28) | function p(e,t){var n=e.action=="insert",r=t.action=="insert";if(n&&r)if... function d (line 28) | function d(e,t){for(var n=e.length;n--;)for(var r=0;r>1,o=n(t,e[... function u (line 28) | function u(e,t,n){var r=e.getAnnotations().sort(s.comparePoints);if(!r.l... FILE: crates/mdbook-html/front-end/searcher/searcher.js function hasFocus (line 57) | function hasFocus() { function removeChildren (line 61) | function removeChildren(elem) { function parseURL (line 68) | function parseURL(url) { function renderURL (line 95) | function renderURL(urlobject) { function formatSearchMetric (line 131) | function formatSearchMetric(count, searchterm) { function formatSearchResult (line 141) | function formatSearchResult(result, searchterms) { function makeTeaser (line 163) | function makeTeaser(body, searchterms) { function init (line 261) | function init(config) { function initSearchInteractions (line 278) | function initSearchInteractions(config) { function unfocusSearchbar (line 307) | function unfocusSearchbar() { function doSearchOrMarkFromUrl (line 317) | function doSearchOrMarkFromUrl() { function globalKeyHandler (line 353) | function globalKeyHandler(e) { function loadSearchScript (line 420) | function loadSearchScript(url, id) { function showSearch (line 436) | function showSearch(yes) { function showResults (line 454) | function showResults(yes) { function searchIconClickHandler (line 463) | function searchIconClickHandler() { function searchbarKeyUpHandler (line 474) | function searchbarKeyUpHandler() { function setSearchUrlParameters (line 495) | function setSearchUrlParameters(searchterm, action) { function doSearch (line 520) | function doSearch(searchterm) { FILE: crates/mdbook-html/src/html/admonitions.rs constant ICON_NOTE (line 4) | const ICON_NOTE: &str = r#" Result<()> { function get_previous (line 25) | fn get_previous() -> Result { function get_current (line 36) | fn get_current() -> Result { function get_prs (line 47) | fn get_prs(previous: &str) -> Result> { function update_changelog (line 91) | fn update_changelog(previous: &str, current: &str, prs: &[(String, Strin... FILE: crates/xtask/src/main.rs type Result (line 11) | type Result = std::result::Result>; function main (line 13) | fn main() -> Result<()> { function test_all (line 59) | fn test_all() -> Result<()> { function cargo (line 70) | fn cargo(args: &str, cb: &dyn Fn(&mut Command)) -> Result<()> { function test_workspace (line 82) | fn test_workspace() -> Result<()> { function clippy (line 88) | fn clippy() -> Result<()> { function doc (line 96) | fn doc() -> Result<()> { function fmt (line 106) | fn fmt() -> Result<()> { function semver_checks (line 111) | fn semver_checks() -> Result<()> { function gui (line 116) | fn gui() -> Result<()> { function eslint (line 121) | fn eslint() -> Result<()> { function bump (line 133) | fn bump(bump: &str) -> Result<()> { FILE: eslint.config.mjs method preprocess (line 7) | preprocess(text, filename) { method postprocess (line 16) | postprocess(messages, filename) { FILE: examples/nop-preprocessor.rs function make_app (line 12) | fn make_app() -> Command { function main (line 22) | fn main() { function handle_preprocessing (line 36) | fn handle_preprocessing(pre: &dyn Preprocessor) -> Result<()> { function handle_supports (line 58) | fn handle_supports(pre: &dyn Preprocessor, sub_args: &ArgMatches) -> ! { type Nop (line 79) | pub struct Nop; method new (line 82) | pub fn new() -> Nop { method name (line 88) | fn name(&self) -> &str { method run (line 92) | fn run(&self, ctx: &PreprocessorContext, book: Book) -> Result { method supports_renderer (line 108) | fn supports_renderer(&self, renderer: &str) -> Result { function nop_preprocessor_run (line 118) | fn nop_preprocessor_run() { FILE: examples/remove-emphasis/mdbook-remove-emphasis/src/main.rs function main (line 10) | fn main() { type RemoveEmphasis (line 30) | struct RemoveEmphasis; method name (line 33) | fn name(&self) -> &str { method run (line 37) | fn run(&self, _ctx: &PreprocessorContext, mut book: Book) -> Result { function remove_emphasis (line 49) | fn remove_emphasis(num_removed_items: &mut usize, chapter: &mut Chapter)... function handle_preprocessing (line 65) | pub fn handle_preprocessing() -> Result<()> { FILE: examples/remove-emphasis/test.rs function remove_emphasis_works (line 4) | fn remove_emphasis_works() { FILE: guide/guide-helper/src/lib.rs function handle_preprocessing (line 10) | pub fn handle_preprocessing() -> Result<()> { type GuideHelper (line 33) | struct GuideHelper; method name (line 36) | fn name(&self) -> &str { method run (line 40) | fn run(&self, _ctx: &PreprocessorContext, mut book: Book) -> Result { function insert_version (line 46) | fn insert_version(book: &mut Book) { FILE: guide/guide-helper/src/main.rs function main (line 3) | fn main() { FILE: guide/src/for_developers/mdbook-wordcount/src/main.rs function main (line 12) | fn main() { function count_words (line 40) | fn count_words(ch: &Chapter) -> usize { type WordcountConfig (line 46) | pub struct WordcountConfig { FILE: guide/src/format/example.rs function main (line 1) | fn main() { FILE: src/cmd/build.rs function make_subcommand (line 8) | pub fn make_subcommand() -> Command { function execute (line 17) | pub fn execute(args: &ArgMatches) -> Result<()> { FILE: src/cmd/clean.rs function make_subcommand (line 11) | pub fn make_subcommand() -> Command { function execute (line 19) | pub fn execute(args: &ArgMatches) -> Result<()> { function human_readable_bytes (line 38) | pub fn human_readable_bytes(bytes: u64) -> (f32, &'static str) { type Clean (line 46) | pub struct Clean { method new (line 53) | fn new(dir: &PathBuf) -> Result { method fmt (line 92) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { FILE: src/cmd/command_prelude.rs type CommandExt (line 7) | pub trait CommandExt: Sized { method _arg (line 8) | fn _arg(self, arg: Arg) -> Self; method arg_dest_dir (line 10) | fn arg_dest_dir(self) -> Self { method arg_root_dir (line 26) | fn arg_root_dir(self) -> Self { method arg_open (line 37) | fn arg_open(self) -> Self { method arg_watcher (line 42) | fn arg_watcher(self) -> Self { method _arg (line 57) | fn _arg(self, arg: Arg) -> Self { function set_dest_dir (line 62) | pub fn set_dest_dir(args: &ArgMatches, book: &mut MDBook) { FILE: src/cmd/init.rs function make_subcommand (line 12) | pub fn make_subcommand() -> ClapCommand { function execute (line 32) | pub fn execute(args: &ArgMatches) -> Result<()> { function get_author_name (line 88) | fn get_author_name() -> Option { function request_book_title (line 102) | fn request_book_title() -> Option { function confirm (line 116) | fn confirm() -> bool { FILE: src/cmd/serve.rs constant LIVE_RELOAD_ENDPOINT (line 20) | const LIVE_RELOAD_ENDPOINT: &str = "__livereload"; function make_subcommand (line 23) | pub fn make_subcommand() -> Command { function execute (line 51) | pub fn execute(args: &ArgMatches) -> Result<()> { function serve (line 109) | async fn serve( function websocket_connection (line 142) | async fn websocket_connection(ws: WebSocket, reload_tx: broadcast::Sende... FILE: src/cmd/test.rs function make_subcommand (line 9) | pub fn make_subcommand() -> Command { function execute (line 35) | pub fn execute(args: &ArgMatches) -> Result<()> { FILE: src/cmd/watch.rs function make_subcommand (line 12) | pub fn make_subcommand() -> Command { type WatcherKind (line 21) | pub enum WatcherKind { method from_str (line 27) | pub fn from_str(s: &str) -> WatcherKind { function execute (line 37) | pub fn execute(args: &ArgMatches) -> Result<()> { function rebuild_on_change (line 62) | pub fn rebuild_on_change( function find_gitignore (line 74) | fn find_gitignore(book_root: &Path) -> Option { FILE: src/cmd/watch/native.rs function rebuild_on_change (line 11) | pub fn rebuild_on_change( function remove_ignored_files (line 107) | fn remove_ignored_files(book_root: &Path, paths: &[PathBuf]) -> Vec Vec Watcher { method set_roots (line 124) | fn set_roots(&mut self, book: &MDBook) { method scan (line 153) | fn scan(&mut self) -> Vec { function check_watch_behavior (line 242) | fn check_watch_behavior( function test_ignore (line 302) | fn test_ignore() { function test_ignore_in_parent (line 315) | fn test_ignore_in_parent() { function test_ignore_canonical (line 333) | fn test_ignore_canonical() { function test_scan_extra_watch (line 350) | fn test_scan_extra_watch() { FILE: src/main.rs constant VERSION (line 16) | const VERSION: &str = concat!("v", clap::crate_version!()); function main (line 18) | fn main() { function create_clap_command (line 58) | fn create_clap_command() -> Command { function init_logger (line 93) | fn init_logger() { function get_book_dir (line 126) | fn get_book_dir(args: &ArgMatches) -> PathBuf { function open (line 139) | fn open>(path: P) { function verify_app (line 147) | fn verify_app() { FILE: tests/gui/runner.rs function get_available_browser_ui_test_version_inner (line 12) | fn get_available_browser_ui_test_version_inner(global: bool) -> Option Option { function expected_browser_ui_test_version (line 35) | fn expected_browser_ui_test_version() -> String { function main (line 50) | fn main() { function build_books (line 77) | fn build_books(out_dir: &Path) { function check_status (line 99) | fn check_status(cmd: &Command, output: &Output) { function run_browser_ui_test (line 109) | fn run_browser_ui_test(out_dir: &Path) { FILE: tests/testsuite/book_test.rs type StatusCode (line 16) | enum StatusCode { type BookTest (line 23) | pub struct BookTest { method from_dir (line 37) | pub fn from_dir(dir: &str) -> BookTest { method empty (line 54) | pub fn empty() -> BookTest { method init (line 61) | pub fn init(f: impl Fn(&mut BookBuilder)) -> BookTest { method new_tmp (line 70) | fn new_tmp() -> PathBuf { method new (line 83) | fn new(dir: PathBuf, original_source: Option) -> BookTest { method check_main_file (line 99) | pub fn check_main_file(&mut self, path: &str, expected: impl IntoData)... method check_all_main_files (line 127) | pub fn check_all_main_files(&mut self) -> &mut Self { method check_toc_js (line 167) | pub fn check_toc_js(&mut self, expected: impl IntoData) -> &mut Self { method toc_js_html (line 180) | pub fn toc_js_html(&self) -> String { method check_file (line 199) | pub fn check_file(&mut self, path_pattern: &str, expected: impl IntoDa... method check_file_contains (line 213) | pub fn check_file_contains(&mut self, path_pattern: &str, expected: &s... method check_file_doesnt_contain (line 232) | pub fn check_file_doesnt_contain(&mut self, path_pattern: &str, string... method check_file_list (line 247) | pub fn check_file_list(&mut self, path: &str, expected: impl IntoData)... method load_book (line 269) | pub fn load_book(&self) -> MDBook { method build (line 274) | pub fn build(&mut self) -> &mut Self { method run (line 288) | pub fn run(&mut self, args: &str, f: impl Fn(&mut BookCommand)) -> &mu... method change_file (line 311) | pub fn change_file(&mut self, path: impl AsRef, body: &str) -> &... method rm_r (line 318) | pub fn rm_r(&mut self, path: impl AsRef) -> &mut Self { method rust_program (line 341) | pub fn rust_program(&mut self, path: &str, src: &str) -> &mut Self { type BookCommand (line 361) | pub struct BookCommand { method expect_failure (line 374) | pub fn expect_failure(&mut self) -> &mut Self { method expect_code (line 380) | pub fn expect_code(&mut self, code: i32) -> &mut Self { method expect_stderr (line 386) | pub fn expect_stderr(&mut self, expected: impl snapbox::IntoData) -> &... method expect_stdout (line 392) | pub fn expect_stdout(&mut self, expected: impl snapbox::IntoData) -> &... method args (line 398) | pub fn args(&mut self, args: &[&str]) -> &mut Self { method env (line 404) | pub fn env>(&mut self, key: &str, value: T) -> &mut Se... method current_dir (line 410) | pub fn current_dir>(&mut self, path: S) -> &... method debug (line 422) | pub fn debug(&mut self, value: &str) -> &mut Self { method run (line 431) | fn run(&mut self) { function split_args (line 504) | fn split_args(s: &str) -> Vec { function assert (line 536) | fn assert(root: &Path) -> snapbox::Assert { function read_to_string (line 552) | pub fn read_to_string>(path: P) -> String { function glob_one (line 558) | pub fn glob_one>(path: P, pattern: &str) -> PathBuf { function list_all_files (line 578) | pub fn list_all_files(dir: &Path) -> Vec { FILE: tests/testsuite/build.rs function basic_build (line 10) | fn basic_build() { function failure_on_missing_file (line 24) | fn failure_on_missing_file() { function create_missing (line 36) | fn create_missing() { function no_reserved_filename (line 46) | fn no_reserved_filename() { function book_toml_isnt_required (line 60) | fn book_toml_isnt_required() { function dest_dir_relative_path (line 72) | fn dest_dir_relative_path() { FILE: tests/testsuite/cli.rs function no_args (line 12) | fn no_args() { function help (line 26) | fn help() { FILE: tests/testsuite/config.rs function config_from_env (line 7) | fn config_from_env() { function config_json_from_env (line 23) | fn config_json_from_env() { function preprocessor_cfg_from_env (line 47) | fn preprocessor_cfg_from_env() { function output_cfg_from_env (line 82) | fn output_cfg_from_env() { function bad_config_top_level (line 116) | fn bad_config_top_level() { function bad_config_top_level_table (line 137) | fn bad_config_top_level_table() { function bad_config_in_book_table (line 162) | fn bad_config_in_book_table() { function bad_config_in_rust_table (line 188) | fn bad_config_in_rust_table() { function env_invalid_config_key (line 213) | fn env_invalid_config_key() { function env_invalid_value (line 228) | fn env_invalid_value() { function env_entire_book_table (line 267) | fn env_entire_book_table() { function env_entire_output_preprocessor_table (line 288) | fn env_entire_output_preprocessor_table() { FILE: tests/testsuite/includes.rs function include (line 7) | fn include() { function anchored_include (line 29) | fn anchored_include() { function recursive_include (line 44) | fn recursive_include() { function playground_include (line 75) | fn playground_include() { function rustdoc_include (line 91) | fn rustdoc_include() { FILE: tests/testsuite/includes/all_includes/src/example.rs function main (line 1) | fn main() { FILE: tests/testsuite/includes/all_includes/src/partially-included-test-with-anchors.rs function some_other_function (line 1) | fn some_other_function() { function main (line 8) | fn main() { FILE: tests/testsuite/includes/all_includes/src/partially-included-test.rs function some_function (line 1) | fn some_function() { function main (line 5) | fn main() { FILE: tests/testsuite/index.rs function readme_to_index (line 7) | fn readme_to_index() { FILE: tests/testsuite/init.rs function basic_init (line 10) | fn basic_init() { function init_api (line 61) | fn init_api() { function init_force (line 78) | fn init_force() { function no_git_config_with_title (line 107) | fn no_git_config_with_title() { function init_from_summary (line 139) | fn init_from_summary() { function init_with_custom_book_and_src_locations (line 168) | fn init_with_custom_book_and_src_locations() { function copy_theme (line 211) | fn copy_theme() { FILE: tests/testsuite/markdown.rs function custom_header_attributes (line 8) | fn custom_header_attributes() { function footnotes (line 20) | fn footnotes() { function tables (line 40) | fn tables() { function strikethrough (line 75) | fn strikethrough() { function tasklists (line 87) | fn tasklists() { function smart_punctuation (line 103) | fn smart_punctuation() { function basic_markdown (line 146) | fn basic_markdown() { function definition_lists (line 151) | fn definition_lists() { function admonitions (line 168) | fn admonitions() { FILE: tests/testsuite/playground.rs function playground_on_rust_code (line 7) | fn playground_on_rust_code() { function disabled_playground (line 22) | fn disabled_playground() { FILE: tests/testsuite/preprocessor.rs type Spy (line 12) | struct Spy(Arc>); type Inner (line 15) | struct Inner { method name (line 21) | fn name(&self) -> &str { method run (line 25) | fn run(&self, ctx: &PreprocessorContext, book: Book) -> Result { function runs_preprocessors (line 35) | fn runs_preprocessors() { function test_with_custom_preprocessor (line 49) | fn test_with_custom_preprocessor() { function nop_preprocessor (line 63) | fn nop_preprocessor() { function failing_preprocessor (line 76) | fn failing_preprocessor() { function example (line 89) | fn example() -> CmdPreprocessor { function example_supports_whatever (line 99) | fn example_supports_whatever() { function example_doesnt_support_not_supported (line 108) | fn example_doesnt_support_not_supported() { function relative_command_path (line 118) | fn relative_command_path() { function missing_preprocessor (line 171) | fn missing_preprocessor() { function missing_optional_not_fatal (line 187) | fn missing_optional_not_fatal() { function with_preprocessor_same_name (line 201) | fn with_preprocessor_same_name() { function extension_compatibility (line 225) | fn extension_compatibility() { FILE: tests/testsuite/print.rs function relative_links (line 8) | fn relative_links() { function duplicate_ids (line 17) | fn duplicate_ids() { function chapter_no_h1 (line 26) | fn chapter_no_h1() { function noindex (line 35) | fn noindex() { FILE: tests/testsuite/redirects.rs function redirects_are_emitted_correctly (line 8) | fn redirects_are_emitted_correctly() { function redirect_removed_with_fragments_only (line 22) | fn redirect_removed_with_fragments_only() { function redirect_existing_page (line 38) | fn redirect_existing_page() { FILE: tests/testsuite/renderer.rs type Spy (line 10) | struct Spy(Arc>); type Inner (line 13) | struct Inner { method name (line 18) | fn name(&self) -> &str { method render (line 22) | fn render(&self, _ctx: &RenderContext) -> Result<()> { function runs_renderers (line 31) | fn runs_renderers() { function failing_command (line 44) | fn failing_command() { function missing_renderer (line 80) | fn missing_renderer() { function missing_optional_not_fatal (line 99) | fn missing_optional_not_fatal() { function renderer_with_arguments (line 113) | fn renderer_with_arguments() { function backends_receive_render_context_via_stdin (line 144) | fn backends_receive_render_context_via_stdin() { function relative_command_path (line 216) | fn relative_command_path() { function with_renderer_same_name (line 247) | fn with_renderer_same_name() { FILE: tests/testsuite/rendering.rs function edit_url_template (line 9) | fn edit_url_template() { function edit_url_template_explicit_src (line 19) | fn edit_url_template_explicit_src() { function first_chapter_is_copied_as_index_even_if_not_first_elem (line 30) | fn first_chapter_is_copied_as_index_even_if_not_first_elem() { function fontawesome (line 49) | fn fontawesome() { function fontawesome_error_message (line 66) | fn fontawesome_error_message() { function default_rust_edition (line 83) | fn default_rust_edition() { function editable_rust_block (line 89) | fn editable_rust_block() { function hidelines (line 95) | fn hidelines() { function language_rust_playground (line 101) | fn language_rust_playground() { function code_block_in_list (line 193) | fn code_block_in_list() { function header_links (line 226) | fn header_links() { function busted_end_tag (line 232) | fn busted_end_tag() { function html_blocks (line 251) | fn html_blocks() { function code_block_fenced_with_indent (line 257) | fn code_block_fenced_with_indent() { function unclosed_html_tags (line 266) | fn unclosed_html_tags() { function unbalanced_html_tags (line 288) | fn unbalanced_html_tags() { function heading_with_unbalanced_html (line 307) | fn heading_with_unbalanced_html() { FILE: tests/testsuite/search.rs function read_book_index (line 8) | fn read_book_index(root: &Path) -> serde_json::Value { function reasonable_search_index (line 20) | fn reasonable_search_index() { function search_index_hasnt_changed_accidentally (line 88) | fn search_index_hasnt_changed_accidentally() { function can_disable_individual_chapters (line 97) | fn can_disable_individual_chapters() { function with_no_source_path (line 116) | fn with_no_source_path() { function chapter_settings_validation_error (line 126) | fn chapter_settings_validation_error() { FILE: tests/testsuite/test.rs function passing_tests (line 7) | fn passing_tests() { function failing_tests (line 20) | fn failing_tests() { function test_individual_chapter (line 59) | fn test_individual_chapter() { function chapter_not_found (line 80) | fn chapter_not_found() { FILE: tests/testsuite/test/failing_tests/src/test1.rs function test2 (line 1) | fn test2() { FILE: tests/testsuite/test/passing_tests/src/test2.rs function test2 (line 1) | fn test2() { FILE: tests/testsuite/theme.rs function missing_theme (line 7) | fn missing_theme() { function empty_theme (line 21) | fn empty_theme() { function override_index (line 35) | fn override_index() { function default_fonts (line 47) | fn default_fonts() { function theme_fonts_copied (line 73) | fn theme_fonts_copied() { function fonts_css (line 122) | fn fonts_css() { function empty_fonts_css (line 144) | fn empty_fonts_css() { function custom_fonts_css (line 160) | fn custom_fonts_css() { FILE: tests/testsuite/toc.rs constant TOC_TOP_LEVEL (line 8) | const TOC_TOP_LEVEL: &[&str] = &[ constant TOC_SECOND_LEVEL (line 16) | const TOC_SECOND_LEVEL: &[&str] = &[ function toc_js_html (line 37) | fn toc_js_html() -> Document { function toc_fallback_html (line 46) | fn toc_fallback_html() -> Result { function check_second_toc_level (line 56) | fn check_second_toc_level() { function check_first_toc_level (line 78) | fn check_first_toc_level() { function check_spacers (line 101) | fn check_spacers() { function check_link_target_js (line 113) | fn check_link_target_js() { function check_link_target_fallback (line 128) | fn check_link_target_fallback() { function summary_with_markdown_formatting (line 146) | fn summary_with_markdown_formatting() {