Documentation to support the Nucleus Design System.
It is built using Astro with the Starlight theme and Lit.
npm install
npm run start
This command starts a local development server and open up a browser window. Most changes are reflected live without having to restart the server.
To build the Docs, run the build
script in the package.json
file:
npm run build
The output will be in the ./build
directory.
src/assets
: Contains the assets used in the project, including HTML snippets used in the Examples and Configurator.src/components
: Contains Astro and Lit components.src/content/docs
: Contains themdx
documentation files, including components, guidelines, page-types and patterns.
astro.config.mjs
: The Astro configuration file.src/content/docs/index.mdx
: The Homepage of https://nucleus.design/