Skip to content

Commit

Permalink
Fix readthedocs config for missing os (#25)
Browse files Browse the repository at this point in the history
We received the error:

```
Config validation error in build.os. Value build not found.
```

This patch fixes the error by specifying the `build.os` as written in
the example linked from the [readthedocs issue 11173].

[readthedocs issue 11173]: readthedocs/readthedocs.org#11173
  • Loading branch information
mristin committed Mar 23, 2024
1 parent 546109d commit 1955550
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@
# Required
version: 2

# Set the version of Python and other tools you might need
build:
os: ubuntu-22.04
tools:
python: "3.8"

# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: docs/source/conf.py
Expand All @@ -15,7 +21,6 @@ formats:

# Optionally set the version of Python and requirements required to build your docs
python:
version: 3.8
install:
- method: pip
path: .
Expand Down

0 comments on commit 1955550

Please sign in to comment.