mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-27 07:52:24 +00:00
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:
1 parent
b50180221b
commit
a2efdc6d75
10 files changed
+29
-1
No files matched your search
File renamed without changes.
File renamed without changes.
@@ -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.
@@ -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.
@@ -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
@@ -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");
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user