Files
swift-cli-doc/justfile

29 lines
694 B
Makefile

[private]
default:
@just --list
clean:
@rm -rf .build
preview-documentation target="CliDoc":
# using the --enable-experimental-combined-documentation doesn't work in previews currently.
@swift package \
--disable-sandbox \
--allow-writing-to-directory "docs/" \
preview-documentation \
--target {{target}} \
--include-extended-types \
--enable-inherited-docs \
build-documentation:
swift package \
--disable-sandbox \
--allow-writing-to-directory "docs/" \
generate-documentation \
--target CliDoc \
--target CliDocCore \
--output-path "docs/" \
--transform-for-static-hosting \
--enable-experimental-combined-documentation