fix(docs): restructure content directory and fix TOC highlighting

Moves markdown files to `content/docs/` to match the TOC structure and ensures the correct `aria-current` attribute is used for the active TOC link.

Co-authored-by: PR0M3TH3AN <[email protected]>
This commit is contained in:
google-labs-jules[bot]andPR0M3TH3AN committed 2026-01-27 14:51:23 +00:00
1 parent b50180221b
commit a2efdc6d75
10 files changed
+29 -1

No files matched your search

File renamed without changes.
+8
View File
@@ -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.
File renamed without changes.
File renamed without changes.
+7
View File
@@ -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.
File renamed without changes.
+13
View File
@@ -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.
File renamed without changes.
+1 -1
View File
@@ -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");
});