From ecbd7ca8d43747b0926c34e89c4519110da35c3a Mon Sep 17 00:00:00 2001 From: Kevin Renskers Date: Sun, 27 Mar 2022 11:28:03 +0200 Subject: [PATCH] chore: Added a script to generate the HTML documentation --- generate_docs.sh | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 generate_docs.sh diff --git a/generate_docs.sh b/generate_docs.sh new file mode 100755 index 0000000..8d54558 --- /dev/null +++ b/generate_docs.sh @@ -0,0 +1,6 @@ +#! /bin/bash + +swift build + +# See https://apple.github.io/swift-docc-plugin/documentation/swiftdoccplugin/publishing-to-github-pages +swift package --allow-writing-to-directory ./docs generate-documentation --target Saga --output-path ./docs --transform-for-static-hosting --hosting-base-path Saga \ No newline at end of file