From 59422420977b5294349b81c75527a131a035f89b Mon Sep 17 00:00:00 2001 From: Mateusz Galazyn Date: Fri, 10 Nov 2023 08:56:30 +0100 Subject: [PATCH] Fix haddocks references to libraries --- .github/bin/haddocks.sh | 1 + .github/workflows/github-page.yml | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/bin/haddocks.sh b/.github/bin/haddocks.sh index 77202dd5db..7d31eea3e1 100755 --- a/.github/bin/haddocks.sh +++ b/.github/bin/haddocks.sh @@ -46,6 +46,7 @@ HADDOCK_OPTS=( --haddock-hyperlink-source --haddock-option "--show-all" --haddock-option "--use-unicode" + --haddock-option="--base-url=.." --disable-tests $DRY_RUN_ARGS ) diff --git a/.github/workflows/github-page.yml b/.github/workflows/github-page.yml index 2c8f0bd3ef..2513631c21 100644 --- a/.github/workflows/github-page.yml +++ b/.github/workflows/github-page.yml @@ -1,6 +1,7 @@ name: "Haddock documentation" on: + pull_request: # REMOVEME push: branches: - main @@ -137,7 +138,7 @@ jobs: path: ./haddocks - name: Deploy documentation to gh-pages 🚀 - if: github.ref == 'refs/heads/main' + # if: github.ref == 'refs/heads/main' uses: peaceiris/actions-gh-pages@v3 with: github_token: ${{ secrets.GITHUB_TOKEN || github.token }}