Quickstart
Edit an Existing Page
Section titled “Edit an Existing Page”Every doc page has an “Edit page” link in the footer. Click it to open the file directly in GitLab. Make your changes and submit a merge request.
To edit locally:
- Clone the repository and run
npm install - Start the dev server with
npm run dev - Find the file in
src/content/docs/and edit it - The browser reloads automatically as you save
Add a New Page
Section titled “Add a New Page”- Create a
.mdfile in the appropriate directory undersrc/content/docs/:
src/content/docs/business/hr/hiring/my-new-page.md- Add the required frontmatter:
---title: My New Pagedescription: What this page covers.---
Content here.- If the department uses
autogenerateinsidebar.json, the page appears in the sidebar automatically. If it uses explicit slugs, add your page:
{ "label": "My New Page", "slug": "business/hr/hiring/my-new-page" }Restart Required
Section titled “Restart Required”Changes to sidebar.json or astro.config.mjs require restarting the dev server (Ctrl+C, then npm run dev). Content file changes hot-reload automatically.
File Naming
Section titled “File Naming”Use lowercase kebab-case for all file and directory names:
hiring/career-growth.md ✅hiring/CareerGrowth.md ❌hiring/career_growth.md ❌See Nomenclature for the full naming conventions.