Skip to content

Commit

Permalink
Use pytest-doctestplus sphinx extension
Browse files Browse the repository at this point in the history
  • Loading branch information
jdavies-st committed Oct 5, 2021
1 parent e21623b commit 36b8259
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ def check_sphinx_version(expected_version):
# ones.
extensions = [
'numfig',
'pytest_doctestplus.sphinx.doctestplus',
'sphinx.ext.autodoc',
'sphinx.ext.intersphinx',
'sphinx.ext.todo',
Expand All @@ -94,7 +95,6 @@ def check_sphinx_version(expected_version):
'sphinx_automodapi.automodsumm',
'sphinx_automodapi.autodoc_enhancements',
'sphinx_automodapi.smart_resolver',
'sphinx_astropy.ext.doctest',
'sphinx_asdf',
]

Expand Down
7 changes: 6 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ docs =
sphinx-automodapi
sphinx-rtd-theme
stsci-rtd-theme
sphinx-astropy
sphinx-astropy>=1.5
sphinx-asdf>=0.1.1
test =
ci-watson>=0.3.0
Expand Down Expand Up @@ -120,15 +120,20 @@ ignore =
minversion = 4.6
norecursedirs =
docs/_build
docs/exts
jwst/timeconversion
jwst/associations/tests/data
scripts
.tox
asdf_schema_tests_enabled = true
asdf_schema_validate_default = false
asdf_schema_root = jwst/transforms/schemas jwst/datamodels/schemas
junit_family = xunit2
inputs_root = jwst-pipeline
results_root = jwst-pipeline-results
text_file_format = rst
doctest_plus = enabled
doctest_rst = enabled
addopts = --show-capture=no --open-files --report-crds-context
filterwarnings =
ignore:Models in math_functions:astropy.utils.exceptions.AstropyUserWarning
Expand Down

0 comments on commit 36b8259

Please sign in to comment.