Skip to content

lightbug-io/docs

Repository files navigation

Lightbug docs

Code powering https://docs.lightbug.io making use of vitepress

Development

Install dependencies

npm install

Run the development server

npm run dev

Or build and serve the static site

npm run build
npm run preview

Deployments

Merges to the main branch will auto deploy onto https://docs-next.lightbug.io

The production branch will deploy to the main site at https://docs.lightbug.io

Reproducing CI builds locally

The site build uses an environment variable DEPLOYMENT_NAME to alter some config (for example sitemap and editLink). CI sets this during the build step. To reproduce CI builds locally you can use the included npm scripts:

  • npm run build:next — sets DEPLOYMENT_NAME=Next (matches main branch/next site)
  • npm run build:production — sets DEPLOYMENT_NAME=Production (matches production branch/main site)

Both scripts use cross-env so they work cross-platform.

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •