Skip to content

Commit 48e9919

Browse files
docs: Use modern sphinx-click extension syntax (#2615)
* Use 'sphinx_click' as the form of the Sphinx extension syntax, which has been adopted since sphinx-click v2.5.0. * Set lower bound of v2.5.0 on sphinx-click requirement in 'docs' extra.
1 parent c30e337 commit 48e9919

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def setup(app):
5858
'sphinx.ext.intersphinx',
5959
'sphinxcontrib.bibtex',
6060
'sphinx.ext.napoleon',
61-
'sphinx_click.ext',
61+
'sphinx_click',
6262
'nbsphinx',
6363
'sphinx_issues',
6464
'sphinx_copybutton',

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ docs = [
102102
"pyhf[xmlio,contrib]",
103103
"sphinx>=7.0.0", # c.f. https://github.com/scikit-hep/pyhf/pull/2271
104104
"sphinxcontrib-bibtex>=2.1",
105-
"sphinx-click",
105+
"sphinx-click>=2.5.0",
106106
"pydata-sphinx-theme>=0.15.3",
107107
"nbsphinx!=0.8.8", # c.f. https://github.com/spatialaudio/nbsphinx/issues/620
108108
"ipywidgets",

0 commit comments

Comments
 (0)