Skip to content

corridor/ggx-docs

Repository files navigation

GenGuardX Documentation

Documentation site for GenGuardX ("GGX"), built with Astro Starlight.

Prerequisites

  • Node.js 20+ (22 recommended)

Local development

Install dependencies and start the dev server with live reload:

npm install
npm run dev

The site is served at http://localhost:4321.

Building the site

npm run build

This outputs the static site to dist/ with the site root (/).

Deployment

Pushing to main triggers .github/workflows/deploy.yml, which builds the site with base URL / and publishes it to GitHub Pages.

The repository's Settings → Pages → Source must be set to GitHub Actions.

Authoring content

  • Content lives in src/content/docs/ as Markdown (.md) or MDX (.mdx).
  • Navigation/sidebar order is configured in astro.config.mjs.
  • Every page needs a title in its frontmatter.
  • Use Starlight asides for callouts: :::note, :::tip, :::caution, :::danger.
  • For richer layouts (tabs, card grids) use MDX with Starlight components such as <Tabs>, <TabItem>, <CardGrid>, and <Card>.
  • Co-locate images next to the page that uses them and reference them with relative paths so Astro can optimize them.

Writing guidelines

  • Avoid using "the platform" and instead use "GenGuardX" so readers are clear on what is being said.
  • Run a grammar/spell check on the content to fix any grammar issues and typos.

About

Documentation for GGX

Resources

Stars

4 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors