Skip to content

DM-53868: Switch to new sphinxutils + documenteer2 doc build#237

Merged
timj merged 8 commits into
mainfrom
tickets/DM-53868
Jan 21, 2026
Merged

DM-53868: Switch to new sphinxutils + documenteer2 doc build#237
timj merged 8 commits into
mainfrom
tickets/DM-53868

Conversation

@timj

@timj timj commented Jan 20, 2026

Copy link
Copy Markdown
Member

Requires lsst/sconsUtils#140

Checklist

  • ran Jenkins
  • added a release note for user-visible changes to doc/changes

Comment thread doc/conf.py Outdated
@codecov

codecov Bot commented Jan 20, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.61%. Comparing base (4f6239e) to head (22bc26b).
⚠️ Report is 9 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #237   +/-   ##
=======================================
  Coverage   94.61%   94.61%           
=======================================
  Files          51       51           
  Lines        3883     3883           
=======================================
  Hits         3674     3674           
  Misses        209      209           

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

@timj
timj force-pushed the tickets/DM-53868 branch from a49c448 to 0a78729 Compare January 20, 2026 22:23
@timj
timj requested a review from TallJimbo January 20, 2026 23:07

@TallJimbo TallJimbo left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Changes seem fine, but they're not working for me locally; I get

$ package-docs build
Running Sphinx v8.1.3

Configuration error:
sphinx.show_github_edit_link is True by the project.github_url is not set.

I suspect "by" should be "but" in that error message.

I've tried setting show_github_edit_link = [Ff]alse in both conf.py and documenteer.toml to no avail.

Parameters
----------
obj : function, method, or class
obj : `~collections.abc.Callable`

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

While it's an improvement in a lot of cases here, this new rigidity does make me sad (I like "convertible to ResourcePath" as a type, for example). Not much we can do about it, I imagine.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I did add array-like to the ignore list because fixing all those seemed a step too far.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

If there's an ignore list we can add our own exceptions to then I'm totally happy with this change. I'm all for better guards against non-types due to mispellings, as long as we can carve out exceptions.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Yes. It's in the documenteer.toml file.

@timj
timj requested a review from jonathansick January 21, 2026 15:17

@TallJimbo TallJimbo left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

As @timj pointed out offline, my show_github_edit_link issue was just due to not having rebuild the package with the sconsUtils branch.

@timj
timj merged commit 30137a2 into main Jan 21, 2026
19 checks passed
@timj
timj deleted the tickets/DM-53868 branch January 21, 2026 17:41
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