diff --git a/scripts/build_site.sh b/scripts/build_site.sh index f4468a020..ce7cc7cfb 100755 --- a/scripts/build_site.sh +++ b/scripts/build_site.sh @@ -19,7 +19,9 @@ if [[ -n "$CI" || ! -d example/docs ]]; then fi # Checkout the changelog as of the last release -git checkout $(git describe --tags --abbrev=0) -- CHANGELOG.md +if [[ -n "$CI" ]]; then + git checkout $(git describe --tags --abbrev=0) -- CHANGELOG.md +fi # Build the actual site, references the API docs node bin/typedoc --options site/typedoc.config.jsonc diff --git a/site/typedoc.config.jsonc b/site/typedoc.config.jsonc index f5ca494a5..429c343bc 100644 --- a/site/typedoc.config.jsonc +++ b/site/typedoc.config.jsonc @@ -37,6 +37,8 @@ "API": "https://typedoc.org/api/index.html", "GitHub": "https://github.com/TypeStrong/typedoc", }, + // The site doesn't need filters as it doesn't actually include code + "visibilityFilters": {}, "validation": { "invalidLink": true,