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 775a69a commit 25cae66
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 16 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/gating.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ jobs:
with:
python-version: "3.8"

- name: Test building documentation with tox
run: tox -e docs

coveralls-finish:
name: Finish coveralls-python
needs: tests
Expand Down
28 changes: 13 additions & 15 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -1,25 +1,23 @@
# .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"
apt_packages:
- libkrb5-dev
- libldap2-dev
- libsasl2-dev
- libkrb5-dev
- libldap2-dev
- libsasl2-dev

# 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 @@ -27,7 +27,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 25cae66

Please sign in to comment.