From 50ca5a61b22a473a82021692eab143a68b173f87 Mon Sep 17 00:00:00 2001 From: Gerrit Birkeland Date: Tue, 26 Nov 2024 19:58:50 -0700 Subject: [PATCH] Remove unnecessary filters from site --- scripts/build_site.sh | 4 +++- site/typedoc.config.jsonc | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) 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,