Add reasoning/thinking tokens support to traces #1730
Workflow file for this run
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: | |
branches: [main] | |
paths: | |
- mkdocs.yml | |
- 'docs/**' | |
- 'src/**' | |
- 'scripts/hooks.py' | |
- 'pyproject.toml' | |
pull_request: | |
paths: | |
- mkdocs.yml | |
- 'docs/**' | |
- 'src/**' | |
- 'scripts/hooks.py' | |
- 'pyproject.toml' | |
workflow_dispatch: | |
jobs: | |
docs: | |
permissions: | |
contents: write | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out the repository | |
uses: actions/checkout@v5 | |
with: | |
fetch-depth: 0 | |
- name: Install the latest version of uv and set the python version to 3.13 | |
uses: astral-sh/setup-uv@v6 | |
with: | |
python-version: 3.13 | |
activate-environment: true | |
- name: Configure git | |
run: | | |
git config user.name 'github-actions[bot]' | |
git config user.email 'github-actions[bot]@users.noreply.github.com' | |
- name: Install requirements | |
run: | | |
uv sync --group docs | |
- name: Build docs | |
if: github.event_name == 'pull_request' | |
run: mkdocs build -s | |
- name: Publish docs | |
if: ${{ github.event_name == 'push' || github.event_name == 'workflow_dispatch' }} | |
run: mkdocs gh-deploy |