Repository navigation
docs: fix issues in the prose documentation and the docs build - #88
Merged
Merged
Conversation
- README: remove the logo, which pointed to a non-existent file (docs/logo/dcnum.png) - pipeline: the note on background computation contradicted the section on skipping it; describe `size_thresh_mask` (including 0 and the default with online gates) correctly - design: use code markup for the file name, mention the writer thread in debug mode - changelog extension: resolve the path relative to the document, so the docs can also be built from the repository root; fix the outdated docstring - fix an ambiguous cross-reference to `HDF5Writer` - fix typos in old changelog entries Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
paulmueller
approved these changes
Nov 23, 2026
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #88 +/- ##
==========================================
- Coverage 88.26% 88.22% -0.05%
==========================================
Files 63 63
Lines 4543 4543
==========================================
- Hits 4010 4008 -2
- Misses 533 535 +2 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
First of several documentation PRs from a review of the dcnum docs (prose pages, README, docs build). Docstring fixes follow in separate PRs.
Changes
docs/logo/dcnum.png, which has never existed in the repository. The image link returns 404, so the README showed a broken image on GitHub and PyPI. I removed the image and the title is now plain text. If you'd rather add a logo file, I can restore the reference instead.background_code="copy"helps.size_thresh_maskpixels or fewer are discarded and that0keeps all masks (fix: honor an explicit size_thresh_mask=0 in Gate #86). Withonline_gates=True, the default is taken from "bin area min" in the metadata.debug=Truethe writer is aQueueWriterThread.docs/extensions/github_changelog.py):include_changelogis now resolved relative to the document, usingenv.relfn2path, not the current working directory. Before,sphinx-build -b html docs <out>from the repository root failed withFileNotFoundError: '../CHANGELOG'; it only worked from insidedocs/.RI-imaging/{PROJECT}link._transfer_raw_basin_featuresusedHDF5Writerin its docstring, which matches bothdcnum.write.HDF5Writeranddcnum.write.writer.HDF5Writer. This was the only warning in the docs build.Checks
sphinx-build -b html docs …from the repository root succeeds with no warnings, and the changelog page still links the issues to DC-analysis/dcnum.README.rstrenders without docutils warnings.🤖 Generated with Claude Code