Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

expand reference file schema docs #375

Merged
merged 7 commits into from
Jan 9, 2025

Conversation

braingram
Copy link
Collaborator

@braingram braingram commented Jan 8, 2025

Link to updated docs:
https://stdatamodels--375.org.readthedocs.build/en/375/jwst/datamodels/schemas.html#reference-file-keywords

Expand documentation for reference file schemas to mention keyword_* references and "pattern" keyword_p* references.

Tasks

  • update or add relevant tests
  • update relevant docstrings and / or docs/ page
  • Does this PR change any API used downstream? (if not, label with no-changelog-entry-needed)
    • write news fragment(s) in changes/: echo "changed something" > changes/<PR#>.<changetype>.rst (see below for change types)
    • run jwst regression tests with this branch installed ("git+https://github.com/<fork>/stdatamodels@<branch>")
news fragment change types...
  • changes/<PR#>.feature.rst: new feature
  • changes/<PR#>.bugfix.rst: fixes an issue
  • changes/<PR#>.doc.rst: documentation change
  • changes/<PR#>.removal.rst: deprecation or removal of public API
  • changes/<PR#>.misc.rst: infrastructure or miscellaneous change

@braingram braingram marked this pull request as ready for review January 8, 2025 17:21
@braingram braingram requested a review from a team as a code owner January 8, 2025 17:21
@braingram braingram requested a review from emolter January 8, 2025 17:22
Copy link
Contributor

@emolter emolter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Brett, I think these additions are really helpful. I made some suggestions to improve clarity.

docs/source/jwst/datamodels/schemas.rst Outdated Show resolved Hide resolved
docs/source/jwst/datamodels/schemas.rst Outdated Show resolved Hide resolved
docs/source/jwst/datamodels/schemas.rst Outdated Show resolved Hide resolved
docs/source/jwst/datamodels/schemas.rst Outdated Show resolved Hide resolved
docs/source/jwst/datamodels/schemas.rst Outdated Show resolved Hide resolved
Copy link

codecov bot commented Jan 9, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 78.20%. Comparing base (788f7bd) to head (f4a541f).
Report is 7 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##             main     #375       +/-   ##
===========================================
+ Coverage   67.59%   78.20%   +10.60%     
===========================================
  Files         115      115               
  Lines        5932     5135      -797     
===========================================
+ Hits         4010     4016        +6     
+ Misses       1922     1119      -803     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@braingram
Copy link
Collaborator Author

Thanks for the improvements. I like the new wording. I accepted most of your suggestions with one follow-up comment about the section header.

Copy link
Contributor

@emolter emolter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great thanks Brett!

@braingram braingram enabled auto-merge (squash) January 9, 2025 15:48
@braingram braingram merged commit 1a05ad2 into spacetelescope:main Jan 9, 2025
20 checks passed
@braingram braingram deleted the ref_schema_docs branch January 9, 2025 16:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants