Skip to content

Commit 6945dc2

Browse files
committed
latest endpoint points to the latest tagged docu
1 parent 6828838 commit 6945dc2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/pylibfranka-docs.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ jobs:
6464
# Fallback to pylibfranka version if no tag found
6565
VERSION=$(python3 -c "import pylibfranka; print(pylibfranka.__version__)")
6666
fi
67+
echo "Building documentation for version: $VERSION"
6768
6869
# Build documentation
6970
make clean
@@ -72,6 +73,10 @@ jobs:
7273
# Prepare output directory with pylibfranka subfolder
7374
mkdir -p /workspace/docs_output/pylibfranka/${VERSION}
7475
cp -r _build/html/* /workspace/docs_output/pylibfranka/${VERSION}/
76+
77+
# Also copy to 'latest' directory for easy access
78+
mkdir -p /workspace/docs_output/pylibfranka/latest
79+
cp -r _build/html/* /workspace/docs_output/pylibfranka/latest/
7580
7681
- name: Deploy to GitHub Pages
7782
uses: peaceiris/actions-gh-pages@v3

0 commit comments

Comments
 (0)