Skip to content

Latest commit

 

History

History
42 lines (26 loc) · 1.05 KB

README.md

File metadata and controls

42 lines (26 loc) · 1.05 KB

Nucleus Docs

Documentation to support the Nucleus Design System.

It is built using Astro with the Starlight theme and Lit.

Installation

npm install

Local development

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.

Building the Docs

To build the Docs, run the build script in the package.json file:

npm run build

The output will be in the ./build directory.

Docs structure

Directories

  • 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 the mdx documentation files, including components, guidelines, page-types and patterns.

Files

  • astro.config.mjs: The Astro configuration file.
  • src/content/docs/index.mdx: The Homepage of https://nucleus.design/