Skip to content

Commit

Permalink
docs: Fix RTD configuration for v2 (#4032)
Browse files Browse the repository at this point in the history
RTD recently cut off old configuration file style and these additions
were needed.

Signed-off-by: Larry Gritz <[email protected]>
  • Loading branch information
lgritz authored Oct 20, 2023
1 parent a55d05c commit a41949f
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,20 @@
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Copyright Contributors to the OpenImageIO project.
# SPDX-License-Identifier: Apache-2.0
# https://github.com/AcademySoftwareFoundation/OpenImageIO


# Required
version: 2

# Set the OS, Python version and other tools you might need
build:
os: ubuntu-22.04
tools:
python: "3.12"

# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: src/doc/conf.py
Expand All @@ -16,6 +27,5 @@ formats:

# Optionally set the version of Python and requirements required to build your docs
python:
version: 3.7
install:
- requirements: src/doc/requirements.txt

0 comments on commit a41949f

Please sign in to comment.