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