Repository Analysis

rust-lang/mdBook

Create book from markdown files. Like Gitbook but implemented in Rust

1.5 Likely human-written View on GitHub
1.5
Adjusted Score
1.5
Raw Score
100%
Time Factor
2026-05-19
Last Push
21,723
Stars
Rust
Language
30,807
Lines of Code
568
Files
46
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 0MEDIUM 0LOW 46

Pattern Findings

46 matches across 2 categories. Click a row to expand file-level details.

Over-Commented Block41 hits · 41 pts
SeverityFileLineSnippet
LOWcrates/mdbook-core/src/config.rs1//! Mdbook's configuration system.
LOWcrates/mdbook-core/src/config.rs21//! authors = ["Michael-F-Bryan"]
LOWcrates/mdbook-core/src/config.rs61#[serde(default, deny_unknown_fields)]
LOWcrates/mdbook-core/src/config.rs121 /// created by removing the `MDBOOK_` prefix and turning the resulting
LOWcrates/mdbook-core/src/config.rs261 /// Set a config key, clobbering any existing values along the way.
LOWcrates/mdbook-core/src/config.rs421#[non_exhaustive]
LOWcrates/mdbook-core/src/config.rs441 #[serde(rename = "2015")]
LOWcrates/mdbook-core/src/config.rs461 /// Support for admonitions.
LOWcrates/mdbook-core/src/config.rs481 /// Search settings. If `None`, the default will be used.
LOWcrates/mdbook-core/src/config.rs501 /// Contains {path} that is replaced with chapter source file path
LOWcrates/mdbook-core/src/config.rs601 /// The higher the more folded regions are open. When level is 0, all folds
LOWcrates/mdbook-core/src/config.rs641pub struct Code {
LOWcrates/mdbook-core/src/config.rs661 /// Default: `2`.
LOWcrates/mdbook-core/src/book.rs1//! A tree structure representing a book.
LOWcrates/mdbook-core/src/book.rs141pub struct Chapter {
LOWcrates/mdbook-core/src/utils/fs.rs41/// This is mostly interesting for a relative path to point back to the
LOWcrates/mdbook-core/src/utils/fs.rs161 // This is a workaround for an issue with the macOS file watcher.
LOWcrates/mdbook-renderer/src/lib.rs21
LOWcrates/mdbook-renderer/src/lib.rs41 /// Which version of `mdbook` did this come from (as written in `mdbook`'s
LOWcrates/mdbook-html/src/html/tree.rs161 /// [`pulldown_cmark`] iterator of [`pulldown_cmark::Event`] elements.
LOWcrates/mdbook-html/src/html/tree.rs181 /// What parsing a table, the index of the current column.
LOWcrates/mdbook-html/src/html/mod.rs1//! HTML rendering support.
LOWcrates/mdbook-markdown/src/lib.rs1//! Markdown processing used in mdBook.
LOWcrates/mdbook-driver/src/lib.rs1//! High-level library for running mdBook.
LOWcrates/mdbook-driver/src/lib.rs21//! - [`mdbook_html`]: The HTML renderer.
LOWcrates/mdbook-driver/src/lib.rs41//! let root_dir = "/path/to/book/root";
LOWcrates/mdbook-driver/src/mdbook.rs121 /// BookItem::Separator => {},
LOWcrates/mdbook-driver/src/mdbook.rs141 ///
LOWcrates/mdbook-driver/src/mdbook.rs341 bail!("Chapter not found: {}", chapter);
LOWcrates/mdbook-driver/src/builtin_preprocessors/links.rs21///
LOWcrates/mdbook-preprocessor/src/lib.rs21pub use mdbook_core::errors;
LOWcrates/mdbook-summary/src/lib.rs21///
LOWcrates/mdbook-summary/src/lib.rs41/// will be numbered and can be nested, resulting in a nice hierarchy (chapters,
LOWcrates/mdbook-summary/src/lib.rs141 fn from(other: Link) -> SummaryItem {
LOWcrates/mdbook-summary/src/lib.rs161/// part ::= title dotted_item+
LOW…/includes/all_includes/src/nested-test-with-anchors.rs1// This is a test of includes with anchors.
LOWtests/testsuite/rendering/hidelines/src/hide-lines.md21#
LOWtests/gui/books/sidebar-scroll/src/chapter_35.md1# Chapter 35
LOWtests/gui/books/sidebar-scroll/src/chapter_35.md21## Heading S
LOWtests/gui/books/sidebar-scroll/src/chapter_10.md1# Chapter 10
LOWtests/gui/books/sidebar-scroll/src/chapter_10.md21## Heading S
Fake / Example Data5 hits · 5 pts
SeverityFileLineSnippet
LOWguide/src/format/configuration/general.md10authors = ["John Doe"]
LOWguide/src/format/configuration/general.md57authors = ["John Doe", "Jane Doe"]
LOWguide/src/format/configuration/general.md57authors = ["John Doe", "Jane Doe"]
LOWguide/src/format/configuration/renderers.md93authors = ["John Doe", "Jane Doe"]
LOWguide/src/format/configuration/renderers.md93authors = ["John Doe", "Jane Doe"]