docs(leaderboard): refresh TDL Challenge 2026 results #1248
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: "Docs: Check and Deploy" | |
| on: | |
| push: | |
| branches: [main, github-actions-test] | |
| pull_request: | |
| branches: [main] | |
| workflow_dispatch: | |
| # Project site https://geometric-intelligence.github.io/topobench/ is served from the | |
| # topobench/ folder of the org Pages repo geometric-intelligence.github.io — not from | |
| # this repo's gh-pages branch. | |
| concurrency: | |
| group: topobench-docs-${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: false | |
| permissions: | |
| contents: write | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ["3.11"] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| # 1. Setup uv | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| enable-cache: true | |
| cache-dependency-glob: "uv.lock" | |
| # 2. Run your centralized installation script | |
| - name: Install dependencies (via script) | |
| run: | | |
| # This installs '.[all]' which includes doc dependencies | |
| source uv_env_setup.sh | |
| # 3. Install System Dependencies | |
| - name: Install Pandoc | |
| run: sudo apt-get -y install pandoc | |
| # 4. Generate Docs | |
| - name: Generate API Documentation | |
| run: | | |
| source .venv/bin/activate | |
| cd docs | |
| bash generate_api_docs.sh | |
| - name: Generate Docs [Sphinx] | |
| run: | | |
| source .venv/bin/activate | |
| sphinx-build -b html -D version=latest -D release=latest docs docs/_build | |
| # Disable Jekyll so paths like _static/ are served as static files. | |
| touch docs/_build/.nojekyll | |
| # 5. Deploy — push the build into the topobench/ folder of the org Pages repo, | |
| # which is what actually serves https://geometric-intelligence.github.io/topobench/. | |
| - name: Deploy Docs | |
| uses: JamesIves/github-pages-deploy-action@v4 | |
| if: ${{ github.ref == 'refs/heads/main' && github.repository == 'geometric-intelligence/topobench' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch') }} | |
| with: | |
| branch: main | |
| folder: docs/_build | |
| token: ${{ secrets.DOCUMENTATION_KEY }} | |
| repository-name: geometric-intelligence/geometric-intelligence.github.io | |
| target-folder: topobench | |
| clean: true | |
| # Restored from the last known-working deploy config (pre-regression) as a | |
| # guard against `clean` deleting these paths on the target. | |
| clean-exclude: | | |
| leaderboard/** | |
| tdl-challenge-2025/** | |
| tdl-challenge-2026/** |