Skip to content

Commit

Permalink
Fix readthedocs configuration and use Python 3.11
Browse files Browse the repository at this point in the history
JIRA: RHELWF-9927
  • Loading branch information
hluk committed Oct 3, 2023
1 parent 21f2de2 commit 19c49ec
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/gating.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
- name: Set up Python for documentation build
uses: actions/setup-python@v4
with:
python-version: "3.8"
python-version: "3.11"

- name: Test building documentation with tox
run: tox -e docs
Expand Down
24 changes: 12 additions & 12 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
# .readthedocs.yaml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Required
---
version: 2

# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: docs/conf.py
configuration: docs/conf.py

build:
os: ubuntu-22.04
tools:
python: "3.11"

# Optionally set the version of Python and requirements required to build your docs
python:
version: 3.8
install:
- method: pip
path: .
extra_requirements:
- docs
install:
- method: pip
path: .
extra_requirements:
- docs
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ commands =

[testenv:docs]
# Same Python version as in .readthedocs.yaml
basepython = python3.8
basepython = python3.11
changedir = docs
extras =
docs
Expand Down

0 comments on commit 19c49ec

Please sign in to comment.