rustdoc: Add setting for hiding large items

This commit is contained in:
Manish Goregaokar
2021-03-20 19:44:55 -07:00
parent 173cbecc66
commit 256e594b0a
2 changed files with 6 additions and 1 deletions

View File

@@ -486,6 +486,7 @@ fn settings(root_path: &str, suffix: &str, themes: &[StylePath]) -> Result<Strin
],
)
.into(),
("auto-hide-large-items", "Auto-hide item contents for large items.", true).into(),
("auto-hide-attributes", "Auto-hide item attributes.", true).into(),
("auto-hide-method-docs", "Auto-hide item methods' documentation", false).into(),
("auto-hide-trait-implementations", "Auto-hide trait implementation documentation", true)