docs/.justfile
2023-07-22 14:25:44 +02:00

23 lines
529 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 download "{{COMMIT}}"
lune extract
lune generate
# Re-generates documentation from the main repository using moonwave
generate-documentation:
lune 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