rustdoc: Add more types to the sidebar
They're displayed in the same order as they are on modules pages.
This commit is contained in:
parent
3313e50594
commit
b8bddb00bd
1 changed files with 5 additions and 1 deletions
|
@ -884,12 +884,16 @@
|
|||
sidebar.append(div);
|
||||
}
|
||||
|
||||
block("primitive", "Primitive Types");
|
||||
block("mod", "Modules");
|
||||
block("macro", "Macros");
|
||||
block("struct", "Structs");
|
||||
block("enum", "Enums");
|
||||
block("constant", "Constants");
|
||||
block("static", "Statics");
|
||||
block("trait", "Traits");
|
||||
block("fn", "Functions");
|
||||
block("macro", "Macros");
|
||||
block("type", "Type Definitions");
|
||||
}
|
||||
|
||||
window.initSidebarItems = initSidebarItems;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue