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:
@@ -884,12 +884,16 @@
|
|||||||
sidebar.append(div);
|
sidebar.append(div);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
block("primitive", "Primitive Types");
|
||||||
block("mod", "Modules");
|
block("mod", "Modules");
|
||||||
|
block("macro", "Macros");
|
||||||
block("struct", "Structs");
|
block("struct", "Structs");
|
||||||
block("enum", "Enums");
|
block("enum", "Enums");
|
||||||
|
block("constant", "Constants");
|
||||||
|
block("static", "Statics");
|
||||||
block("trait", "Traits");
|
block("trait", "Traits");
|
||||||
block("fn", "Functions");
|
block("fn", "Functions");
|
||||||
block("macro", "Macros");
|
block("type", "Type Definitions");
|
||||||
}
|
}
|
||||||
|
|
||||||
window.initSidebarItems = initSidebarItems;
|
window.initSidebarItems = initSidebarItems;
|
||||||
|
|||||||
Reference in New Issue
Block a user