This directory contains the Docusaurus site for the laravel-chronicle/core package documentation.
- package documentation pages under
docs/ - the homepage and custom theme styling under
src/ - static site assets such as the Chronicle logo and favicon under
static/
npm installRun the docs site locally:
npm run startBuild and serve the production output locally:
npm run build
npm run servenpm run startstarts the local development servernpm run buildcreates the production build inbuild/npm run serveserves the built site locallynpm run clearclears the Docusaurus cachenpm run typecheckruns TypeScript checks for the docs app
The sidebar is defined in sidebars.ts.
The current information architecture is organized as:
- top-level onboarding pages
FoundationsGuidesReferenceOperations
When updating documentation for laravel-chronicle/core:
- verify the behavior against the code in
../core - update the relevant page under
docs/ - run
npm run buildto catch broken routes, links, and MDX issues
This is a standard Docusaurus site and can be deployed as static files from the generated build/ directory.