Skip to content

Commit

Permalink
Try to fix the RTD builds
Browse files Browse the repository at this point in the history
  • Loading branch information
MSeifert04 committed Oct 12, 2023
1 parent fdd4b7f commit 52d02df
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 3 deletions.
30 changes: 30 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Read the Docs configuration file for Sphinx projects
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Required
version: 2

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

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

# Optionally build your docs in additional formats such as PDF and ePub
# formats:
# - pdf
# - epub

# Optional but recommended, declare the Python requirements required
# to build your documentation
# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
python:
install:
- method: pip
path: .
extra_requirements:
- documentation
2 changes: 0 additions & 2 deletions docs/rtd-pip-requirements

This file was deleted.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Changelog = "https://github.com/MSeifert04/iteration_utilities/blob/master/docs/

[project.optional-dependencies]
test = ["pytest"]
documentation = ["sphinx", "numpydoc",]
documentation = ["sphinx>=2.2", "numpydoc"]

[tool.pytest.ini_options]
addopts = "--doctest-glob='docs/*.rst' --ignore='setup.py'"
Expand Down

0 comments on commit 52d02df

Please sign in to comment.