Skip to content

openjobspec/website

Open Job Spec Website

License

The documentation website for Open Job Spec, built with Astro and Starlight.

Development

Prerequisites

Install dependencies

pnpm install

Start the dev server

pnpm dev

The site will be available at http://localhost:4321.

Build for production

pnpm build

The static output is written to dist/.

Preview the production build

pnpm preview

Project structure

website/
├── public/              # Static assets (favicon, images)
├── src/
│   ├── assets/          # Processed assets (images optimized by Astro)
│   ├── components/      # Custom Astro components
│   ├── content/
│   │   └── docs/        # MDX documentation pages
│   │       ├── getting-started/
│   │       ├── spec/
│   │       ├── guides/
│   │       ├── reference/
│   │       ├── ecosystem/
│   │       └── governance/
│   └── styles/          # Custom CSS
├── astro.config.mjs     # Astro + Starlight configuration
├── package.json
└── tsconfig.json

Adding content

All documentation pages are MDX files in src/content/docs/. Each file needs frontmatter with at least title and description:

---
title: Page Title
description: A short description for SEO and link previews.
---

Page content here.

The sidebar is configured in astro.config.mjs under the Starlight sidebar option.

About

Source for openjobspec.org, the official documentation and guide for the Open Job Spec.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Sponsor this project

Packages

 
 
 

Contributors