Skip to content

Commit

Permalink
Merge pull request #2 from OpenDataServices/2023-09-01
Browse files Browse the repository at this point in the history
.readthedocs.yaml
  • Loading branch information
radix0000 authored Sep 13, 2023
2 parents 849009e + 01745ee commit e033af8
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 1 deletion.
22 changes: 22 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# .readthedocs.yaml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Required
version: 2

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

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

# We recommend specifying your dependencies to enable reproducible builds:
# https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
# python:
# install:
# - requirements: docs/requirements.txt
3 changes: 3 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,7 @@

extensions = [
"sphinx.ext.autodoc",
"sphinx_rtd_theme",
]

html_theme = "sphinx_rtd_theme"
10 changes: 9 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,15 @@
python_requires=">=3.7",
install_requires=[],
extras_require={
"dev": ["pytest", "black", "isort", "flake8", "mypy"],
"dev": [
"pytest",
"black==22.12.0",
"isort",
"flake8",
"mypy",
"sphinx",
"sphinx_rtd_theme",
],
},
classifiers=[],
)

0 comments on commit e033af8

Please sign in to comment.