Repository navigation
Fix docs that disagree with the code, and golden build errors - #42
Merged
Merged
Conversation
The README install line pinned v0.2.0 although the version is 0.3.0. The --json note said every reporting command takes it, but only list, diff and watch do. The check row left out --pdf-dir. The must-pass checks in README, CLAUDE.md and CONTRIBUTING.md omitted mypy, which CI runs. The 0.3.0 changelog said the old sheettext.status name still works; it was removed. The repo template told new repos to install fonts-dejavu-core and its CI installed it, although the fonts have shipped with the package since 0.3.0.
golden check and golden update printed "Build failed in ..." on stdout although the 0.3.0 notes say every DdtoolsError goes to stderr. They now let BuildError reach main(), so they match build. The test is updated first to expect stderr. The README said "desloppify at 0.3.0" while the scorecard shows desloppify v1.0. It now names the ddtools version and the desloppify version. The 0.3.0 changelog listed the deprecations three times, the error handling change twice and the watch fix twice. Each is now one entry, with no facts dropped.
The Template repo check compares init output with dnd-campaign-template, which still has the old fonts text. Restore the two template files and drop the changelog line until both repos can change together.
dnd-campaign-template now matches (its PR 8 is merged), so the init output and the template repo agree again.
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.
Summary
Documentation that disagreed with the code, found by a docs consistency check and each one confirmed against the source before changing it. One small code fix, which the changelog already promised.
@v0.2.0; the version and latest tag are 0.3.0.--json. Onlylist,diffandwatchdo.checkrow omitted--pdf-dir.mypywas missing from the must-pass checks in README, CLAUDE.md and CONTRIBUTING.md. CI runs it.sheettext.statusname still works. It was removed.ddtools inittemplate told new repos to installfonts-dejavu-core, and its CI installed it. The fonts ship with the package since 0.3.0. Both are removed.watchfix twice. Each is now one entry with no facts dropped.golden checkandgolden updateprintedBuild failed in ...on stdout, although the 0.3.0 notes say everyDdtoolsErrorgoes to stderr. They now letBuildErrorreachmain(), likebuild. The test was updated first and failed before the change. This changes where that message goes, so scripts that read stdout for it must read stderr. It is noted under Unreleased.Test plan
pytest: 287 passedruff check .andruff format --check .: cleanmypy: no issues