Skip to content

Commit

Permalink
Merge pull request #86 from gandersen101/documentation/update-readthe…
Browse files Browse the repository at this point in the history
…docs-config

Updating readthedocs config
  • Loading branch information
gandersen101 committed Mar 12, 2024
2 parents 7638605 + 13ef252 commit 0446603
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
9 changes: 7 additions & 2 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
version: 2

sphinx:
configuration: docs/conf.py
formats: all

build:
os: ubuntu-22.04
tools:
python: "3.11"

python:
version: 3.8
install:
- requirements: docs/requirements.txt
- path: .
6 changes: 1 addition & 5 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,7 @@
project = "spaczz"
author = "Grant Andersen"
copyright = f"2023, {author}"
extensions = [
"sphinx.ext.autodoc",
"sphinx.ext.napoleon",
"sphinx_autodoc_typehints",
]
extensions = ["sphinx.ext.autodoc", "sphinx_autodoc_typehints", "sphinx.ext.napoleon"]
napoleon_include_special_with_doc = True
napoleon_custom_sections = [("Match Settings", "params_style")]
napoleon_type_aliases = {"FlexType": "int | Literal['default', 'min', 'max']"}

0 comments on commit 0446603

Please sign in to comment.