This repository hosts the user-facing documentation for GhostMap, a VS Code extension that turns @ghost annotations into a navigable Ghost Tree.
The site is built with Docusaurus 3 and is deployed on Vercel at https://ghostmap-docs.vercel.app/.
npm install
npm startThis launches the dev server on localhost:3000 with hot reload.
npm run buildThe static output is written to build/ and can be served from any static host.
The docs site is deployed on Vercel at https://ghostmap-docs.vercel.app/. Vercel builds from this repository's default branch using the standard Docusaurus build (npm run build, output in build/); see docusaurus.config.js for site configuration. Publish the marketing site after a docs deploy completes, because the marketing site links to the rendered docs routes.
Subpage routing relies on vercel.json setting cleanUrls: true together with trailingSlash: false in docusaurus.config.js: Docusaurus emits path/page.html and Vercel serves it at /path/page. If subpages 404 in production while local build/ contains the file, verify the Vercel project setting Output Directory is empty (so vercel.json's outputDirectory: "build" applies) and that Clean URLs is enabled.
| Path | Purpose |
|---|---|
docs/intro.md |
Root start page (slug /). |
docs/overview.md |
Product overview (slug /overview). |
docs/install.md |
Install / access (slug /install). |
docs/get-started/ |
Requirements and the first-5-minutes walkthrough. |
docs/guide/ |
Concepts: symbols, anchors, ownership, validity gate. |
docs/reference/ |
Syntax, Ghost Tree, diagnostics, settings, performance. |
docs/architecture/ |
Loading policy, local state. |
docs/roadmap/ |
V2 vision. |
docs/status/ |
Project status and known limits. |
docs/legal-support.md |
License summary and support contact (slug /legal-support). |
docs/legal/ |
Privacy Policy, Terms of Use, Third-Party Notices, Disclaimer. |
docs/changelog.md |
Release notes. |
docs/data-location.md, docs/troubleshooting.md, docs/faq.md, docs/glossary.md, docs/keyboard-shortcuts.md, docs/uninstall.md |
Standalone reference pages. |
sidebars.js |
Sidebar layout. |
docusaurus.config.js |
Site configuration. |
vercel.json |
Build and redirect config for Vercel. |
To add a new page:
- Create the
.mdfile underdocs/(or the appropriate subfolder) with a YAML frontmatter block (id,title,sidebar_label,slug). - Add the page id to
sidebars.jsunder the right category. - Run
npm run buildto verify the page renders and links resolve. - Open a pull request.
- Marketing site: ghostmap-liard.vercel.app.
- Extension source: closed-source, distributed under the GhostMap Free Non-Commercial License. For licensing questions, contact getghostmap@proton.me.