2
1
Fork 0
quickshell-docs/Justfile

18 lines
841 B
Makefile
Raw Normal View History

2024-02-12 12:07:01 +00:00
clean:
rm -rf build
rm -rf data/modules/QuickShell
rm -rf content/docs/types/QuickShell
rm -rf data/modules/QuickShell.Wayland
rm -rf content/docs/types/QuickShell.Wayland
2024-02-12 12:07:01 +00:00
typedocs: clean
cd typegen && cargo build
mkdir -p build/types/types
./typegen/target/debug/typegen gentypes ../src/core/module.md build/types/types/QuickShell.json
./typegen/target/debug/typegen gentypes ../src/wayland/module.md build/types/types/QuickShell.Wayland.json
sh -c './typegen/target/debug/typegen gendocs ../src/core/module.md data/modules/QuickShell content/docs/types/QuickShell types/* build/types/types/*'
sh -c './typegen/target/debug/typegen gendocs ../src/wayland/module.md data/modules/QuickShell.Wayland content/docs/types/QuickShell.Wayland types/* build/types/types/*'
2024-02-12 12:07:01 +00:00
serve: typedocs
hugo server --buildDrafts --disableFastRender