Skip to content

Commit 95cbe09

Browse files
authored
Merge pull request #45 from bsipocz/doctest_remotedata
Adding the doctest-remote-data directive
2 parents 638aa0b + 48e310b commit 95cbe09

File tree

4 files changed

+18
-72
lines changed

4 files changed

+18
-72
lines changed

CHANGES.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ Changes in sphinx-astropy
44
1.5 (unreleased)
55
----------------
66

7+
- ``doctest`` sphinx extension has been moved to ``pytest-doctestplus`` and
8+
therefore ``pytest-doctestplus`` is now a required dependency. [#45]
79

810
1.4 (2021-06-22)
911
----------------

setup.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ install_requires =
2525
sphinx-automodapi
2626
sphinx-gallery
2727
pillow
28+
pytest-doctestplus>=0.10.1
2829

2930
[options.extras_require]
3031
all = astropy

sphinx_astropy/conf/v1.py

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -199,22 +199,21 @@ def check_sphinx_version(expected_version):
199199
# Add any Sphinx extension module names here, as strings. They can be
200200
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
201201
# ones.
202-
extensions = [
203-
'sphinx_astropy.ext.intersphinx_toggle',
204-
'sphinx.ext.autodoc',
205-
'sphinx.ext.intersphinx',
206-
'sphinx.ext.todo',
207-
'sphinx.ext.coverage',
208-
'sphinx.ext.inheritance_diagram',
209-
'sphinx.ext.viewcode',
210-
'numpydoc',
211-
'sphinx_automodapi.automodapi',
212-
'sphinx_automodapi.smart_resolver',
213-
'sphinx_astropy.ext.doctest',
214-
'sphinx_astropy.ext.changelog_links',
215-
'sphinx_astropy.ext.generate_config',
216-
'sphinx_astropy.ext.missing_static',
217-
'sphinx.ext.mathjax']
202+
extensions = ['sphinx_astropy.ext.intersphinx_toggle',
203+
'sphinx.ext.autodoc',
204+
'sphinx.ext.intersphinx',
205+
'sphinx.ext.todo',
206+
'sphinx.ext.coverage',
207+
'sphinx.ext.inheritance_diagram',
208+
'sphinx.ext.viewcode',
209+
'numpydoc',
210+
'sphinx_automodapi.automodapi',
211+
'sphinx_automodapi.smart_resolver',
212+
'sphinx_astropy.ext.changelog_links',
213+
'sphinx_astropy.ext.generate_config',
214+
'sphinx_astropy.ext.missing_static',
215+
'sphinx.ext.mathjax',
216+
'pytest_doctestplus.sphinx.doctestplus']
218217

219218
try:
220219
import matplotlib.sphinxext.plot_directive

sphinx_astropy/ext/doctest.py

Lines changed: 0 additions & 56 deletions
This file was deleted.

0 commit comments

Comments
 (0)