mirror of
https://github.com/prdlk/leetcode.git
synced 2026-11-02 13:12:44 +00:00
docs(docs): add header tabs for Changelog and Appendix pages
This commit is contained in:
1 parent
b5c3f1a159
commit
0e58b63d4d
2 files changed
+9
-33
No files matched your search
@@ -142,8 +142,11 @@ export default defineConfig({
|
||||
sidebar: {
|
||||
display: "flat", // "flat" | "group" | "page"
|
||||
},
|
||||
// No `featured`: Blume renders it above the `Sidebar` slot, and the
|
||||
// content-source selector must sit above the pinned links, so
|
||||
// components/SourceSidebar.astro renders both (Changelog, Appendix).
|
||||
// The two custom pages (pages/*.astro) as header tabs. Neither is a
|
||||
// content folder, so the tabs scope nothing out of the sidebar tree.
|
||||
tabs: [
|
||||
{ label: "Changelog", path: "/changelog", icon: "clock" },
|
||||
{ label: "Appendix", path: "/appendix", icon: "library" },
|
||||
],
|
||||
},
|
||||
});
|
||||
Reference in new issue
Block a user