File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010 steps :
1111 - name : Checkout code
1212 uses : actions/checkout@v4
13+ with :
14+ fetch-depth : 0
1315
1416 - name : Set up Go
1517 uses : actions/setup-go@v4
@@ -31,11 +33,23 @@ jobs:
3133 pip install --upgrade pip
3234 pip install pipenv
3335 pipenv lock --clear
34- pipenv install --deploy --system
36+ pipenv install --dev --deploy
37+
38+ - name : Fetch all branches
39+ run : |
40+ git fetch --all --prune
3541
36- - name : Build documentation
42+ - name : Build documentation (all versions)
3743 run : |
38- task build
44+ # Determine latest version from mkdocs.yml (last line in extra.versions)
45+ LATEST_VERSION="$(tail -n 1 mkdocs.yml | sed 's/://')"
46+ echo "Latest documentation version: ${LATEST_VERSION}"
47+
48+ # Build all versions using mkdocs_versioned (similar to build.sh)
49+ pipenv run mkdocs_versioned --default-branch="${LATEST_VERSION}"
50+
51+ # Copy issue report page into the built site root
52+ cp issue_report.php site/
3953
4054 - name : Create documentation archive
4155 run : |
You can’t perform that action at this time.
0 commit comments