Skip to main content

Docs Site

This documentation site lives in dain98/clipline-docs. It is built with Docusaurus and published through GitHub Pages project hosting at /clipline-docs/.

Local docs development​

npm install
npm start

Build the static site:

npm run build

Preview the production build locally:

npm run serve

Repository settings​

In GitHub, open Settings > Pages for dain98/clipline-docs and set Build and deployment > Source to GitHub Actions.

Automatic deployment​

The deployment workflow runs on pushes to main and can also be started manually from the Actions tab.

.github/workflows/deploy.yml

Pull requests run a build-only workflow:

.github/workflows/test-deploy.yml

Manual deployment alternative​

Docusaurus still includes the standard deploy command if you intentionally want to publish to the gh-pages branch manually. The repository's normal path is the workflow above.

GIT_USER=dain98 npm run deploy