Skip to content

Commit

Permalink
ENH: split doc generation to avoid sphinx-design requiring nonnewest …
Browse files Browse the repository at this point in the history
…sphinx version (pydata#1099)
  • Loading branch information
nicoa authored and drammock committed Jan 24, 2023
1 parent 4ce02b8 commit ac4df5a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# -- Project information -----------------------------------------------------

project = "PyData Theme"
copyright = "2019, PyData Community"
copyright = "2023, PyData Community"
author = "PyData Community"

import pydata_sphinx_theme
Expand Down
13 changes: 8 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ classifiers = [
]

[project.optional-dependencies]
doc = [
doc_base = [
"numpydoc",
"myst-nb",
"linkify-it-py", # for link shortening
Expand All @@ -61,22 +61,25 @@ doc = [
"numpy",
"xarray",
"sphinx-copybutton",
"sphinx-design",
"sphinx-togglebutton",
"ipyleaflet",
]
doc = [
"sphinx-design",
# Install nbsphinx in case we want to test it locally even though we can't load
# it at the same time as MyST-NB.
"nbsphinx",
"ipyleaflet",
"pydata-sphinx-theme[doc_base]"
]
test = [
"pytest",
"pydata-sphinx-theme[doc]",
"pydata-sphinx-theme[doc_base]",
]
coverage = [
"pytest-cov",
"codecov",
"colorama",
"pydata-sphinx-theme[test]",
"pydata-sphinx-theme[doc]",
]
dev = [
"pyyaml",
Expand Down

0 comments on commit ac4df5a

Please sign in to comment.