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="":
|
2024-01-14 18:07:03 +00:00
|
|
|
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:
|
2024-01-14 18:07:03 +00:00
|
|
|
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
|