Skip to content

chore: CI worfklows for linting docs#4076

Merged
maxrjones merged 10 commits into
zarr-developers:mainfrom
maxrjones:chore/test-docs-formatting
Jul 16, 2026
Merged

chore: CI worfklows for linting docs#4076
maxrjones merged 10 commits into
zarr-developers:mainfrom
maxrjones:chore/test-docs-formatting

Conversation

@maxrjones

@maxrjones maxrjones commented Jun 17, 2026

Copy link
Copy Markdown
Member

This PR adds a few scripts/workflows to:

  • Check that all top-level functions are included in the mkdocs API documentation
  • Check that docstrings use mkdocs rather than sphinx styles admonitions and links
  • Check that all links resolve

TODO:

  • Add unit tests and/or doctests in docstrings
  • Add docstrings and API docs for any new/modified user-facing classes and functions
  • New/modified features documented in docs/user-guide/*.md
  • Changes documented as a new file in changes/
  • GitHub Actions have all passed
  • Test coverage is 100% (Codecov passes)

@github-actions github-actions Bot added the needs release notes Automatically applied to PRs which haven't added release notes label Jun 17, 2026
@maxrjones maxrjones changed the title chore: CI worfklows for missing docs and RST docstrings chore: CI worfklows for linting docs Jun 17, 2026
@maxrjones

Copy link
Copy Markdown
Member Author

@d-v-b @chuckwondo this adds a fair amount of config/workflow files, so a review on the direction here would be welcome but not necessarily required

Comment thread ci/check_documented_exports.py Outdated
Comment thread ci/check_documented_exports.py Outdated
Comment thread ci/check_documented_exports.py Outdated
Comment thread ci/check_documented_exports.py Outdated
Comment thread ci/check_documented_exports.py Outdated
Comment thread ci/check_documented_exports.py Outdated
Comment thread ci/lint_docs.py Outdated
@maxrjones

Copy link
Copy Markdown
Member Author

thanks for the review @chuckwondo. I applied your fixes in fd36246 (this PR) and some other readability improvements. I chose to make the directory an optional argument.

@codecov

codecov Bot commented Jun 25, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.84%. Comparing base (91a8ec0) to head (d58a081).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4076   +/-   ##
=======================================
  Coverage   93.84%   93.84%           
=======================================
  Files          91       91           
  Lines       12570    12570           
=======================================
  Hits        11796    11796           
  Misses        774      774           
Files with missing lines Coverage Δ
src/zarr/core/metadata/v2.py 89.44% <ø> (ø)
src/zarr/testing/store.py 98.91% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@maxrjones
maxrjones requested a review from chuckwondo June 25, 2026 13:24
@maxrjones maxrjones self-assigned this Jun 25, 2026
@maxrjones
maxrjones enabled auto-merge (squash) July 16, 2026 15:20
@maxrjones
maxrjones merged commit 23d96d3 into zarr-developers:main Jul 16, 2026
32 checks passed
@maxrjones
maxrjones deleted the chore/test-docs-formatting branch July 16, 2026 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs release notes Automatically applied to PRs which haven't added release notes tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants