Skip to content

Commit

Permalink
Merge pull request #710 from ceache/feat/docs
Browse files Browse the repository at this point in the history
chore(core): Fix documentation build
  • Loading branch information
ceache authored Feb 19, 2023
2 parents 5225b3e + e24e120 commit 33c348b
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 6 deletions.
32 changes: 32 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# .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.7"
# You can also specify other tool versions:
# nodejs: "19"
# rust: "1.64"
# golang: "1.19"

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

# If using Sphinx, optionally build your docs in additional formats such as PDF
formats: []
# - pdf

# Optionally declare the Python requirements required to build your docs
python:
install:
- method: pip
path: .
extra_requirements:
- docs
6 changes: 0 additions & 6 deletions constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,3 @@ flake8==5.0.2
objgraph==3.5.0
pytest==6.2.5
pytest-cov==3.0.0

# Documentation building.
Jinja2==2.7.3
Pygments==1.6
Sphinx==1.2.2
docutils==0.12
1 change: 1 addition & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ def __getattr__(self, name):
"sphinx.ext.autodoc",
"sphinx.ext.doctest",
"sphinx.ext.viewcode",
"sphinx_autodoc_typehints",
]

# Add any paths that contain templates here, relative to this directory.
Expand Down
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ sasl =

docs =
Sphinx>=1.2.2
sphinx-autodoc-typehints>=1

typing =
mypy>=0.991
Expand Down

0 comments on commit 33c348b

Please sign in to comment.