Skip to content

Commit

Permalink
.github: Add destination depth to doc build
Browse files Browse the repository at this point in the history
ADOC_TARGET_DEPTH sets the relative link to reach the documentation
root, for example:

* ./         : ../       (0)
* ./main/    : ../../    (1)
* ./prs/1234 : ../../../ (2)

This fixes the system level navigation links.

Signed-off-by: Jorge Marques <[email protected]>
  • Loading branch information
gastmaier committed Aug 22, 2024
1 parent 764dd5b commit 8366cdc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ jobs:
- name: Build doc and release
run: |
export ADOC_TARGET_DEPTH=1
cd doc && make html
cd ..
Expand Down Expand Up @@ -174,6 +175,7 @@ jobs:
run: |
export GIT_BRANCH=${{ github.head_ref }}
export DEV_BUILD=1
export ADOC_TARGET_DEPTH=2
cd doc && make html
cd ..
Expand Down

0 comments on commit 8366cdc

Please sign in to comment.