Skip to content

Commit c5fe058

Browse files
committed
feat: add package registrations for ShellDocs components and documentation links to enhance navigation and usability
1 parent 9100216 commit c5fe058

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

examples/ShellDocs.Preview/Program.cs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,17 @@
3333
o.AddNavLink("Showcase", "/showcase");
3434
o.AddNavLink("Blog", "/blog");
3535

36+
o.AddPackage("shelldocs", "ShellDocs", "The docs framework itself.", "/docs/introduction",
37+
"M12 2 4 6v6c0 5 3.5 9.5 8 10 4.5-.5 8-5 8-10V6z");
38+
o.AddPackage("shelldocs.markdown", "ShellDocs.Markdown", "Markdig extensions, slots, MDX.", "/docs/markdown",
39+
"M4 4h16v16H4z M4 9h16 M9 4v16");
40+
o.AddPackage("shelldocs.core", "ShellDocs.Core", "Navigation graph + content model.", "/docs/core",
41+
"M12 2 2 7l10 5 10-5-10-5z M2 17l10 5 10-5 M2 12l10 5 10-5");
42+
o.AddPackage("shelldocs.cli", "ShellDocs.CLI", "Scaffold, build, publish.", "/docs/cli",
43+
"m8 6-6 6 6 6 M16 6l6 6-6 6");
44+
o.AddPackage("shelldocs.components","ShellDocs.Components","Layouts, header, sidebar, TOC.", "/docs/components",
45+
"M3 3h7v7H3z M14 3h7v7h-7z M3 14h7v7H3z M14 14h7v7h-7z");
46+
3647
// Callout, Card, Steps, FileTree, CodeGroup, LinkCard etc. are
3748
// auto-registered by AddShellDocs — no extra work needed here.
3849
});

0 commit comments

Comments
 (0)