Skip to content

Commit

Permalink
Enable srcref in audit report document
Browse files Browse the repository at this point in the history
  • Loading branch information
reneme committed Oct 29, 2024
1 parent 28d2c30 commit e624d4f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,14 @@ jobs:
AUDIT_REPO_LOCATION: ${{ github.workspace }}/botan
BASIC_GH_TOKEN: ${{ github.token }}

- name: Check Source Links
working-directory: source/docs/audit_report
run: poetry run make SPHINXOPTS="-D src_ref_check_url=True -W --keep-going" html
env:
AUDIT_CACHE_LOCATION: ${{ github.workspace }}/audit_generator_cache
AUDIT_REPO_LOCATION: ${{ github.workspace }}/botan
BASIC_GH_TOKEN: ${{ github.token }}

- name: Query the API Rate Limit
run: ${{ github.workspace }}/source/.github/scripts/query_rate_limit.sh
if: always()
Expand Down
1 change: 1 addition & 0 deletions docs/audit_report/src/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
# ones.
extensions = [
'sphinx.ext.todo',
'sourceref',
]

# Add any paths that contain templates here, relative to this directory.
Expand Down

0 comments on commit e624d4f

Please sign in to comment.