mirror of
https://github.com/lune-org/docs.git
synced 2024-12-12 13:00:37 +00:00
23 lines
529 B
Makefile
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
|