Skip to main content

sphinx-java-autodoc

CI PyPI Documentation

Publish your Java library's guides and API reference in one searchable Sphinx site. sphinx-java-autodoc reads your Java sources and Javadoc comments with the JDK compiler APIs and renders them as native Sphinx content:

  • Generated pages for classes, interfaces, enums, records, annotation types and nested types.
  • Signatures, overloads, Javadoc links and inherited method documentation.
  • Class excerpts in handwritten guides, and cross-project links through intersphinx.
  • Content-based caching: pages refresh when sources change.

Extraction never runs application classes or annotation processors, and never downloads Java dependencies. See the Apache Commons Lang example for the output.

Requirements

Python 3.12+, Sphinx 9.1.x, and JDK 25 for extraction. Your library can keep targeting Java 17 or 21. See compatibility and limits.

Quick start

uv add sphinx-java-autodoc

In docs/conf.py:

extensions = ["sphinx_java_autodoc"]
java_sources = ["../src/main/java"]
java_release = "17"
java_generate = "api"
java_visibility = "public"

Add api/index to the toctree in docs/index.rst, then build:

uv run sphinx-build -W --keep-going -n docs docs/_build/html

Next: the first-build walkthrough, writing guides, dependencies and CI and the configuration reference.

Development

See CONTRIBUTING.md. MIT licensed.

Metadata

Release files for sphinx-java-autodoc 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sphinx-java-autodoc 0.3.0
File Size Uploaded Provenance Actions
sphinx_java_autodoc-0.3.0.tar.gz 85.5 kB With provenance Details for sphinx_java_autodoc-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for sphinx-java-autodoc 0.3.0
File Interpreter ABI Platform Actions
sphinx_java_autodoc-0.3.0-py3-none-any.whl Python 3 none any Details for sphinx_java_autodoc-0.3.0-py3-none-any.whl

Total release size: 122.0 kB

Release files / sphinx_java_autodoc-0.3.0.tar.gz

Download URL sphinx_java_autodoc-0.3.0.tar.gz
Size 85.5 kB
Tags Source
SHA-256 checksum
How to use checksums
75fb023ff063e190e79ce630705f8a803363789bfc9af78f01a9899a72a33063
BLAKE2b-256 checksum
How to use checksums
96e0d31a9ecc365db27524dffc9d8dc6d0e7ed5f7a609b889ddeaf33ade5fec3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 13, 2026.

Transparency log

Release files / sphinx_java_autodoc-0.3.0-py3-none-any.whl

Download URL sphinx_java_autodoc-0.3.0-py3-none-any.whl
Size 36.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
eb6034e7b4e1de2d6bf4742e7a7c317d3ceed2a2bf5a8f6503b48c2e598a273a
BLAKE2b-256 checksum
How to use checksums
330dead652dd2318db9fcb3091198b58a0b27c5eca46dcaaf1517331b538c0f5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 13, 2026.

Transparency log

Security for sphinx-java-autodoc 0.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for sphinx_java_autodoc-0.3.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 13, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page