Sidebar Navigation

This project uses two data sources to build the sidebar:

  • Docs pages from src/content/docs
  • Custom links from src/content/sidebar-links

Custom links are managed as content entries, not in config.json.

Create a new file in src/content/sidebar-links, for example:

---
title: GitHub
href: https://github.com/your-org/your-repo
section: Resources
order: 10
open_in_new_tab: true
---

Frontmatter Fields

  • title (required): Sidebar label
  • href (required): Destination URL/path
  • section (required): Group heading in the sidebar
  • order (optional): Sort order inside a section (lower comes first)
  • open_in_new_tab (optional): Open this link in a new tab
  • draft (optional, default false): Hide link when true

Grouping Rules

  • If section matches an existing docs section, the link is merged into that group.
  • If section is new, a new group is created in the sidebar.
  • Links are sorted by: section -> order -> title.
  • External URLs (http:// or https://) are treated as external for active-state logic.
  • If open_in_new_tab is not set, external URLs default to opening in a new tab.
  • Internal links can still be forced to open in a new tab by setting open_in_new_tab: true.

Hide “Made with Atlas”

In config.json, set:

{
  "site_title": "Atlas",
  "hide_made_with_atlas": true
}

Notes

  • The old sidebar_sections config path is no longer used.
  • The old external field is no longer used.