Skip to main content

Editing these docs

The documentation site is a Docusaurus project in docs-site.

Where docs live​

Documentation pages are Markdown files in docs-site/docs.

Current folders:

  • runbooks: longer start-to-finish workflows
  • organisers: competition setup and organiser operations
  • clubs: club admin, gymnast, and testing workflows
  • judges: judge portal and scoring workflows
  • live: public leaderboards and scoreboards
  • support: troubleshooting, contact, legal, and docs maintenance

Edit an existing page​

  1. Open the relevant .md file in docs-site/docs.
  2. Edit the front matter at the top if you need to change the page title or description.
  3. Edit the Markdown content below the front matter.
  4. Preview the docs locally before publishing.

Example front matter:

---
title: Judge portal
description: How judges use Salto on competition day.
---

Create a new page​

  1. Add a new .md file under the right folder in docs-site/docs.
  2. Add front matter with at least a title.
  3. Write the page using normal Markdown headings and lists.
  4. Add the page id to docs-site/sidebars.ts so it appears in the sidebar.

For example, a file at docs-site/docs/organisers/awards.md would be added to the sidebar as:

'organisers/awards'

Use relative Markdown links:

[Go-live checklist](../organisers/go-live-checklist.md)

Use plain external links for the app:

[Open Salto](https://saltoapp.au)

Preview locally​

From the project root, run:

npm run docs:start

Docusaurus will print a local preview URL.

Check the production build​

From the project root, run:

npm run docs:build

This catches broken links and build errors before deployment.

Publish​

When the docs build passes and the changes are ready, deploy the docs hosting target:

npm run deploy:docs