feat(lib): move to std directory, versioned path, documentation (#2122)

* test: library versioning

* test: rearrange files and add shim

* docs: add content for library modules

* docs: add and move library content, sidebar

* docs: rearrange page structure, reference and faq, sidebar ordering

* chore: update userstyle issue browsers link to faq

* docs: add libstd v1 release notes

* docs: update lib references to correct new filename

* docs: revert changes to guides

* docs: order standard library page before modules under libraries

* docs: move v1 under changelog

* docs: move api documentation into versioned subdirectory

* docs: rename versioned api docs, fix links

* docs: move /v/1 to /v/v1

* docs: add link to std library api reference from overview page

* docs: add usage heading to std lib v1 page above codeblock

* docs: move libraries/standard/ overview page to index

* docs: link to overview page for standard library

Co-authored-by: WalkQuackBack <[email protected]>

* docs: wording clarifications

Co-authored-by: WalkQuackBack <[email protected]>

* docs: separate documentation link, remove hosted library link

* docs: reword library module justification paragraph

* docs: add section heading for importing

Co-authored-by: WalkQuackBack <[email protected]>

---------

Co-authored-by: uncenter <[email protected]>
This commit is contained in:
WalkQuackBackanduncenter authored and GitHub committed 2026-08-12 12:34:19 -06:00
1 parent 5ef4cc6423
commit f2dc45c739
25 files changed
+272 -192

No files matched your search

+9 -23
View File
@@ -4,6 +4,7 @@ import catppuccin from "@catppuccin/starlight";
import starlightLinksValidator from "starlight-links-validator";
import starlightImageZoom from "starlight-image-zoom";
import starlightGitHubAlerts from "starlight-github-alerts";
import starlightAutoSidebar from "starlight-auto-sidebar";
import mermaid from "astro-mermaid";
import { remarkHeadingId } from "remark-custom-heading-id";
@@ -57,29 +58,7 @@ export default defineConfig({
{
label: "Contributing",
collapsed: true,
items: [
"contributing",
"contributing/creating-userstyles",
"contributing/userstylesyml",
{
label: "How can I theme ...?",
autogenerate: { directory: "contributing/guides" },
},
{
label: "Tutorials",
autogenerate: { directory: "contributing/tutorials" },
},
{
label: "Tips and Tricks",
autogenerate: { directory: "contributing/tips-and-tricks" },
},
"contributing/standard-library",
"contributing/library-modules",
],
},
{
label: "Reference",
autogenerate: { directory: "reference" },
autogenerate: { directory: "contributing" },
},
],
plugins: [
@@ -87,7 +66,14 @@ export default defineConfig({
starlightLinksValidator(),
starlightGitHubAlerts(),
starlightImageZoom(),
starlightAutoSidebar(),
],
}),
],
redirects: {
"/contributing/standard-library/":
"/contributing/reference/libraries/standard/",
"/reference/browsers/":
"/getting-started/faq/#what-version-of-my-browser-am-i-using",
},
});