ChemVault Docs Maintenance
ChemVault Docs is an Astro Starlight documentation site.
Its maintenance goal is simple: every note should be searchable, linked, readable and safe to build.
Content rules
Section titled “Content rules”Use these rules when adding or importing notes:
- include frontmatter with
titleanddescription - use one page-level title only
- prefer real Markdown links over Obsidian wikilinks
- keep filenames descriptive and stable
- add important pages to the sidebar or a hub page
- run a production build after larger imports
Import checklist
Section titled “Import checklist”Before importing a batch of notes:
- Check for duplicate H1 headings.
- Convert Obsidian-style internal references to public site routes.
- Verify image paths and attachments.
- Confirm that generated slugs match intended links.
- Add or update a hub page for the new folder.
- Build the site and inspect the Pagefind index.
Search quality
Section titled “Search quality”Search works best when pages have clear titles, descriptions and headings.
Avoid multiple pages with the same vague title. If two notes cover similar topics, make the title more specific.
Navigation quality
Section titled “Navigation quality”The sidebar should not list every imported page at the top level.
Use hub pages for large folders and reserve the main sidebar for stable entry points.
Build checks
Section titled “Build checks”Useful commands:
npm run buildgit diff --checkrg "\\[\\[" src distThe build should pass before publishing.
Related pages
Section titled “Related pages”Quick summary
Section titled “Quick summary”Maintenance work should protect three things:
- readers can find the right page
- links go to real routes
- new imports do not weaken the build
