Skip to content

Commit

Permalink
[docs] add pint API docs mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
gipert committed May 4, 2023
1 parent 493100f commit 56c4012
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
# Furo theme
html_theme = "furo"
html_theme_options = {
"source_repository": "https://github.com/legend-exp/legendoptics",
"source_repository": "https://github.com/legend-exp/legend-geom-optics",
"source_branch": "main",
"source_directory": "docs/source",
}
Expand All @@ -52,6 +52,7 @@
"scipy": ("http://docs.scipy.org/doc/scipy/reference", None),
"pandas": ("https://pandas.pydata.org/docs", None),
"matplotlib": ("http://matplotlib.org/stable", None),
"pint": ("https://pint.readthedocs.io/en/stable", None),
} # add new intersphinx mappings here

# sphinx-autodoc
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ where = src

[options.extras_require]
all =
legend-optics[docs,test]
legend-geom-optics[docs,test]
docs =
furo
myst-parser
Expand Down

0 comments on commit 56c4012

Please sign in to comment.