docs/.justfile

24 lines
545 B
Makefile
Raw Normal View History

2023-07-22 13:25:44 +01:00
# 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
2023-07-22 13:25:44 +01:00
# Re-generates documentation from the main repository using moonwave
generate-documentation:
lune run generate
2023-07-22 13:25:44 +01:00
# Builds and generates a static site directory
build:
npm run build
# Starts a local development server for the docs site
dev:
npm run dev