about summary refs log tree commit diff
path: root/src/librustdoc/error.rs
AgeCommit message (Collapse)AuthorLines
2024-08-29Fix clippy lintsGuillaume Gomez-1/+1
2022-05-21Remove `crate` visibility modifier in libs, testsJacob Pratt-3/+3
2021-11-24Simplify rendering of stylesheet links into HTMLJacob Hoffman-Andrews-1/+4
We carry around a list of stylesheets that can carry two different types of thing: 1. Internal stylesheets specific to a page type (only for settings) 2. Themes In this change I move the link generation for settings.css into settings(), so Context.style_files is reserved just for themes. We had two places where we extracted a base theme name from a list of StylePaths. I consolidated that code to be a method on StylePath. I moved generation of link tags for stylesheets into the page.html template. With that change, I made the template responsible for special handling of light.css (making it the default theme) and of the other themes (marking them disabled). That allowed getting rid of the `disabled` field on StylePath.
2020-11-15Make all rustdoc functions and structs crate-privateJoshua Nelson-3/+3
This gives warnings about dead code.
2020-07-27Move `Error` and `RenderInfo` out of `html` moduleJoseph Ryan-0/+56