Repository navigation
feat: note overridden methods and summarize members with their modifiers and type - #47
Merged
Merged
Conversation
r4sky0
added this pull request to stack #48
October 13, 2026 14:37
r4sky0
force-pushed
the
feat/overrides-and-summaries
branch
from
October 13, 2026 14:39
2532aa6 to
dce26dc
Compare
Contributor
|
Documentation preview for dce26dc: https://r4sky0.github.io/sphinx-java-autodoc/pr-preview/pr-47/ |
r4sky0
pushed a commit
that referenced
this pull request
Oct 13, 2026
🤖 I have created a release *beep* *boop* --- ## [0.4.0](v0.3.0...v0.4.0) (2026-10-13) ### Features * note overridden methods and summarize members with their modifiers and type ([#47](#47)) ([9ae1723](9ae1723)) ### Bug Fixes * render links, throws, type parameters, annotations and quotes as the standard doclet does ([#46](#46)) ([0c91ca9](0c91ca9)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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.
Stacked on #46. Retarget it to
mainonce #46 merges.Compared with Javadoc, member pages left out two things readers rely on: which method a declaration overrides or implements, and the return type and modifiers in the member summary. The summary also showed erased parameter types, such as
of(Object, Object)forof(L left, R right).Changes
specifiedByandoverridesparts right after the description, following the standard doclet's rules, which I checked againstjavadocoutput:equalsin classRecord".in classorin interface, then a type link. Links to ancestors outside the documented API fall back to text, as summary links already do, so the showcase gets no new warnings.static <L, R> Pair<L, R>,final Landstatic final String. It is built from the signature tokens without annotations orpublic, and withoutabstractin interfaces. Its types link like signature types.of(L left, R right),Widget(String label).docs/schema.mddescribes the two new part kinds. They are additive in schema 1, so older renderers show them under their kind name.docs/usage.rstdescribes the notes and the summary column.Not included
Map.Entry<T,T>) and the summary's filter tabs (static, instance, abstract).Checks run locally
pre-commithooks: pass.pytest -q: 137 passed.showcase/build.py: warning counts equal the baseline in every theme. Checked thePairpage by hand:hashCodereads "Specified by:hashCodein interfaceMap.Entry" and "Overrides:hashCodein classObject", as in Javadoc.sphinx-build -W --keep-going -n docs: passes. The text builder renders the three-column tables.tests/visual_check.py, after building the fixture in all five themes): pass.