docs: add SnSe joint-fit phonon figure #72
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: Documentation | |
| on: | |
| push: | |
| pull_request: | |
| workflow_dispatch: | |
| concurrency: | |
| group: docs-${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| documentation: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # v9.0.0 | |
| with: | |
| enable-cache: true | |
| python-version: "3.12" | |
| version: "0.11.26" | |
| - name: Install documentation environment | |
| run: uv sync --group docs | |
| - name: Verify README single source of truth | |
| run: uv run python scripts/sync_readmes.py --check | |
| - name: Verify bilingual documentation structure | |
| run: uv run python scripts/check_docs.py | |
| - name: Build documentation | |
| run: uv run --group docs mkdocs build --strict -f mkdocs.yml | |
| - name: Verify published layout | |
| run: | | |
| test -f site/index.html | |
| test -f site/en/index.html | |
| test -f site/zh/index.html |