From f97b885405b7ee2ea0fab9679ff2e6e0cbe438db Mon Sep 17 00:00:00 2001 From: Matthew Feickert Date: Wed, 16 Aug 2023 04:09:06 -0500 Subject: [PATCH] docs(backport): Update docs build requirements (#2281) * Backport components of: - PR https://github.com/scikit-hep/pyhf/pull/2252 - PR https://github.com/scikit-hep/pyhf/pull/2255 - PR https://github.com/scikit-hep/pyhf/pull/2267 - PR https://github.com/scikit-hep/pyhf/pull/2271 - PR https://github.com/scikit-hep/pyhf/pull/2272 - PR https://github.com/scikit-hep/pyhf/pull/2276 --- .readthedocs.yaml | 1 - README.rst | 2 +- binder/postBuild | 5 ++++- docs/conf.py | 6 ++++++ docs/examples.rst | 2 +- .../notebooks/binderexample/StatisticalAnalysis.ipynb | 4 ++-- pyproject.toml | 5 +++-- 7 files changed, 17 insertions(+), 8 deletions(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 7c786083a9..bdab4e8207 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -28,4 +28,3 @@ python: path: . extra_requirements: - docs - system_packages: true diff --git a/README.rst b/README.rst index 14d38d62aa..a5c44e75e9 100644 --- a/README.rst +++ b/README.rst @@ -372,7 +372,7 @@ and grant `OAC-1450377 =1.4.0", "pytest-mpl", + "ipympl>=0.3.0", "pydocstyle", "papermill~=2.3.4", "scrapbook~=0.5.0", @@ -107,10 +108,10 @@ test = [ ] docs = [ "pyhf[xmlio,contrib]", - "sphinx>=5.1.1", # c.f. https://github.com/scikit-hep/pyhf/pull/1926 + "sphinx>=7.0.0", # c.f. https://github.com/scikit-hep/pyhf/pull/2271 "sphinxcontrib-bibtex~=2.1", "sphinx-click", - "sphinx_rtd_theme", + "sphinx-rtd-theme>=1.3.0rc1", # c.f. https://github.com/scikit-hep/pyhf/pull/2271 "nbsphinx!=0.8.8", # c.f. https://github.com/spatialaudio/nbsphinx/issues/620 "ipywidgets", "sphinx-issues",