chore(doc): use sphinx roles for referencing repository files and dirs

this allows PRs to add references without having to point to main where
a file might not be, and thus fail CI.
This commit is contained in:
holger krekel
2026-08-26 15:32:16 +02:00
parent cae03e2714
commit d25e8a8ee8
4 changed files with 31 additions and 20 deletions
+5
View File
@@ -13,6 +13,11 @@ jobs:
scripts:
name: build
runs-on: ubuntu-latest
env:
# Pin the repository links in the docs to this pull request's head commit
# so that linkcheck resolves files which only exist on the branch so far.
# see doc/conf.py
DOC_GITHUB_REF: ${{ github.event.pull_request.head.sha }}
environment:
name: 'staging.chatmail.at/doc/relay/'
url: https://staging.chatmail.at/doc/relay/${{ steps.prepare.outputs.prid }}