Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chore: Further RTD dependency and metadata updates #244

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,5 @@
sys.path.insert(0, os.path.abspath("../src/"))

config = SphinxConfig("../pyproject.toml", globalns=globals())

extensions = ["sphinx_pyproject"]
6 changes: 0 additions & 6 deletions docs/conf.py.backup
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,6 @@ import sys
sys.path.insert(0, os.path.abspath(".."))
sys.path.insert(0, os.path.abspath("../src/"))

# Migrate as much of the configuration as possible into pyproject.toml
from sphinx_pyproject import SphinxConfig
config = SphinxConfig("../pyproject.toml", globalns=globals())



# -- Project information -----------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information

Expand Down
1 change: 1 addition & 0 deletions docs/requirements-docs.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
sphinx==5.3.0
sphinx-pyproject
numpydoc==1.0.0
sphinx-copybutton==0.5.0
myst-nb==0.16.0
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ include = ["physrisk*"]
test = [
"pdm[pytest]",
"pytest",
"pytest-cov"
"pytest-cov",
"sphinx-pyproject"
]
docs = [
"sphinx",
Expand Down
Loading