diff --git a/content/about.md b/content/docs/about.md similarity index 100% rename from content/about.md rename to content/docs/about.md diff --git a/content/community-guidelines.md b/content/docs/community/community-guidelines.md similarity index 100% rename from content/community-guidelines.md rename to content/docs/community/community-guidelines.md diff --git a/content/docs/community/index.md b/content/docs/community/index.md new file mode 100644 index 00000000..fbb4103f --- /dev/null +++ b/content/docs/community/index.md @@ -0,0 +1,8 @@ +# Community + +Connect with other bitvid users and learn about our community standards. + +## Resources + +- **[Community Guidelines](#view=docs&doc=community-guidelines)**: Expectations for behavior and content. +- **[Links](#view=docs&doc=links)**: Official links and resources. diff --git a/content/links.md b/content/docs/community/links.md similarity index 100% rename from content/links.md rename to content/docs/community/links.md diff --git a/content/getting-started.md b/content/docs/getting-started.md similarity index 100% rename from content/getting-started.md rename to content/docs/getting-started.md diff --git a/content/docs/guides/index.md b/content/docs/guides/index.md new file mode 100644 index 00000000..0b4ab457 --- /dev/null +++ b/content/docs/guides/index.md @@ -0,0 +1,7 @@ +# Guides + +Learn how to make the most of bitvid. + +## Available Guides + +- **[Upload Content](#view=docs&doc=upload-content)**: How to host and share your videos on bitvid. diff --git a/content/upload-content.md b/content/docs/guides/upload-content.md similarity index 100% rename from content/upload-content.md rename to content/docs/guides/upload-content.md diff --git a/content/docs/overview.md b/content/docs/overview.md new file mode 100644 index 00000000..85766c79 --- /dev/null +++ b/content/docs/overview.md @@ -0,0 +1,13 @@ +# Docs Overview + +Welcome to the bitvid documentation! + +Here you will find guides, community information, and details about our roadmap. + +## Sections + +- **[Getting Started](#view=docs&doc=getting-started)**: Learn how to watch and share videos. +- **[About](#view=docs&doc=about)**: Learn more about bitvid's mission. +- **[Guides](#view=docs&doc=guides)**: Detailed guides on using bitvid. +- **[Community](#view=docs&doc=community)**: Community guidelines and links. +- **[Roadmap](#view=docs&doc=roadmap)**: What's coming next. diff --git a/content/roadmap.md b/content/docs/roadmap.md similarity index 100% rename from content/roadmap.md rename to content/docs/roadmap.md diff --git a/js/docsView.js b/js/docsView.js index 167497e8..3cb2089e 100644 --- a/js/docsView.js +++ b/js/docsView.js @@ -206,7 +206,7 @@ function updateActiveToc(slug) { const links = tocState.linkLookup.get(slug); if (links) { links.forEach((link) => { - link.setAttribute("aria-current", "true"); + link.setAttribute("aria-current", "page"); link.classList.remove("text-muted"); link.classList.add("text-text-strong", "font-semibold"); });