mirror of
https://github.com/lune-org/docs.git
synced 2024-12-12 04:50:36 +00:00
23 lines
545 B
Makefile
23 lines
545 B
Makefile
# Installs development tooling for documentation
|
|
install-dev-tools:
|
|
aftman install
|
|
npm install
|
|
cargo binstall moonwave
|
|
|
|
# Extract documentation from the main repository using moonwave
|
|
extract-documentation COMMIT="":
|
|
lune run download "{{COMMIT}}"
|
|
lune run extract
|
|
lune run generate
|
|
|
|
# Re-generates documentation from the main repository using moonwave
|
|
generate-documentation:
|
|
lune run generate
|
|
|
|
# Builds and generates a static site directory
|
|
build:
|
|
npm run build
|
|
|
|
# Starts a local development server for the docs site
|
|
dev:
|
|
npm run dev
|