Skip to content

Commit

Permalink
add docs to test paths, fix failing doctest (#182)
Browse files Browse the repository at this point in the history
  • Loading branch information
braingram authored Jul 10, 2023
1 parent 9281ec1 commit 998528a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ Other
TARGCAT and TARGDESC, which record the target category and description
as given by the user in the APT. [#179]

- Enable searching docs directory for doctests and fix failing doctest. [#182]

Bug Fixes
---------

Expand Down
4 changes: 4 additions & 0 deletions docs/source/jwst/datamodels/metadata.rst
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,14 @@ search is case-insensitive::
<BLANKLINE>
meta.target.catalog_name
<BLANKLINE>
meta.target.category
<BLANKLINE>
meta.target.dec
<BLANKLINE>
meta.target.dec_uncertainty
<BLANKLINE>
meta.target.description
<BLANKLINE>
meta.target.proper_motion_dec
<BLANKLINE>
meta.target.proper_motion_epoch
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ doctest_rst = true
text_file_format = "rst"
addopts = "--color=yes"
testpaths = [
"docs",
"tests",
"src/stdatamodels/jwst",
]
Expand Down

0 comments on commit 998528a

Please sign in to comment.