Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 0 additions & 21 deletions .github/actions/build-docs/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,28 +16,7 @@ runs:
include_asyncio: 'true'
python_version: ${{ inputs.python-version }}

- name: Pretend this project requires Python 3.11
shell: bash
run: |
# Poetry won't let me install sphinx as a dev dependency in this project
# because of the wide range of versions our library supports. So during this
# action, we'll pretend this project requires Python 3.11 or greater.
sed -i 's/python = "^3.9"/python = "^3.11"/' pyproject.toml
poetry lock
poetry install -E grpc -E asyncio

- name: Install sphinx
shell: bash
run: |
poetry add sphinx myst-parser --group dev

- name: Build html documentation
shell: bash
run: |
poetry run sphinx-build -b html docs docsbuild

- name: Discard changes to pyproject.toml and poetry.lock
shell: bash
run: |
git checkout pyproject.toml
git checkout poetry.lock
Loading
Loading