Skip to content

Commit

Permalink
docs: fix RTD build
Browse files Browse the repository at this point in the history
- Bump python version used when building documentation.
- setuptools is a deprecated installation method so switch to pip
- Add additional dependency on devlib master branch as RTD env is not
  respecting dependency_links.
  • Loading branch information
marcbonnici committed Aug 21, 2023
1 parent 13f9c64 commit 0113c6a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,16 @@ sphinx:
# Build the docs in additional formats such as PDF and ePub
formats: all

# Set the version of Python and requirements required to build your docs

# Configure the build environment
build:
os: ubuntu-22.04
tools:
python: "3.11"

# Ensure doc dependencies are installed before building
python:
version: 3.8
install:
- method: setuptools
path: .
- requirements: doc/requirements.txt
- method: pip
path: .
1 change: 1 addition & 0 deletions doc/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ pandas
sphinx_rtd_theme==1.0.0
sphinx==4.2
docutils<0.18
devlib @ git+https://github.com/ARM-software/devlib@master

0 comments on commit 0113c6a

Please sign in to comment.