Repository navigation
Conversation
Signed-off-by: Ym <173550318+MaxonT@users.noreply.github.com>
This branch has not been deployed
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.
The thread's suggestion to use undoc-members was easy to try, so I added it to autodoc_default_options in doc/conf.py; the identifiers page went from 24 to 70 names, but I built with Sphinx 7.4.7, not the pinned 5.3.0.
Fixes #162
The module pages are generated by
autosummarywithautodoc_default_options = {"show-inheritance": True, "members": True}, and enum members such asAlgorithmSuite.AES_128_GCM_IV12_TAG16have no docstring, so autodoc skips them. This adds"undoc-members": Trueto those defaults indoc/conf.py.I built the docs with Sphinx before and after the change and compared the generated pages by anchor id. From what I saw here,
aws_encryption_sdk.identifiersgoes from 24 to 70 documented names, which includes theAlgorithmSuitemembers, and nothing that was there before is removed. The same option also lists a few other undocumented attributes: 6 onkey_providers.kms, 2 oninternal.structuresand 1 onkey_providers.raw. If you would rather keep this to the enum page only, I can switch to per-module:undoc-members:, but that needs a custom autosummary template.Checked with
sphinx-build -b html docon Sphinx 7.4.7 (the pinned 5.3.0 did not install on my Python 3.14), warnings are the same as before the change (including the existingintersphinx_mappingdeprecation notice). Not verified: the pinned Sphinx 5.3.0 and the rendered look of the pages in the RTD theme.