From fc24b41de9f498594d3527981da9cad91fcadfde Mon Sep 17 00:00:00 2001 From: StjerneIdioten <11218511+StjerneIdioten@users.noreply.github.com> Date: Tue, 18 Apr 2023 22:59:19 +0200 Subject: [PATCH 1/2] ci(docs): Fix 404 because of new git feature Apparently a new git feature messes with the documentation workflow. The fix is taken from maltfield/rtd-github-pages@2ca54c2a75eb3235cdebbcc1c663967bf98fc33e --- docs/buildDocs.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/buildDocs.sh b/docs/buildDocs.sh index f318979..2f2e28a 100755 --- a/docs/buildDocs.sh +++ b/docs/buildDocs.sh @@ -26,6 +26,9 @@ python3 -m pip install -r ./addon/requirements.txt # DECLARE VARIABLES # ##################### +# prevent git "detected dubious ownership" errors +git config --global --add safe.directory "*" + pwd ls -lah export SOURCE_DATE_EPOCH=$(git log -1 --pretty=%ct) From 9572e7d928662a2a578d55b7256d521cf3fd3dd6 Mon Sep 17 00:00:00 2001 From: StjerneIdioten <11218511+StjerneIdioten@users.noreply.github.com> Date: Sun, 14 May 2023 22:15:45 +0200 Subject: [PATCH 2/2] docs(analytics): Remove Google analytics from documentation Remove google analytics tracking from documentation website. It was only really used as a curiosity to see how often anyone actually bothered to look at the docs. --- docs/conf.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 14bafa3..08d4b7f 100755 --- a/docs/conf.py +++ b/docs/conf.py @@ -89,9 +89,7 @@ # further. For a list of options available for each theme, see the # documentation. # -html_theme_options = { - 'analytics_id': 'UA-186171057-1' -} +html_theme_options = {} # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files,