2
1
Fork 0
quickshell-docs/Justfile

22 lines
1.1 KiB
Makefile
Raw Normal View History

2024-02-12 12:07:01 +00:00
clean:
rm -rf build
2024-02-26 08:57:10 +00:00
rm -rf data/modules/Quickshell
rm -rf content/docs/types/Quickshell
2024-03-03 09:58:33 +00:00
rm -rf data/modules/Quickshell.Io
rm -rf content/docs/types/Quickshell.Io
2024-02-26 08:57:10 +00:00
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
2024-02-26 08:57:10 +00:00
./typegen/target/debug/typegen gentypes ../src/core/module.md build/types/types/Quickshell.json
2024-03-03 09:58:33 +00:00
./typegen/target/debug/typegen gentypes ../src/io/module.md build/types/types/Quickshell.Io.json
2024-02-26 08:57:10 +00:00
./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/*'
2024-03-03 09:58:33 +00:00
sh -c './typegen/target/debug/typegen gendocs ../src/io/module.md data/modules/Quickshell.Io content/docs/types/Quickshell.Io types/* build/types/types/*'
2024-02-26 08:57:10 +00:00
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