Skip to content

Fix Sphinx Documentation - #33

Merged
jgaul3 merged 1 commit into
mainfrom
fix-sphinx-issue
Jan 27, 2026
Merged

jgaul3 merged 1 commit into
mainfrom
fix-sphinx-issue

Conversation

@jgaul3

@jgaul3 jgaul3 commented Jan 23, 2026

Copy link
Copy Markdown
Collaborator

Resolves #24

The cryptography Certificates reference in the documentation currently displays the rust bindings. This means that Sphinx is unable to use intersphinx_mapping to link them. By importing it and overwriting __module__, docs generation works as expected.
image

Seems like the default values for ValidationConfig are causing problems and making the docs "restate" the attributes here. Including a docstring lets us overwrite the displayed text with something cleaner, reserving the more descriptive but more complex types for the attributes below.
image

@jgaul3 jgaul3 self-assigned this Jan 23, 2026
@jgaul3
jgaul3 merged commit 0232e3d into main Jan 27, 2026
34 checks passed
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.

sphinx fails to properly autodoc validate_response and ValidationConfig

2 participants