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 8.2.x, 9.0.x or 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.7.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.7.0
File Size Uploaded Provenance Actions
sphinx_java_autodoc-0.7.0.tar.gz 99.2 kB With provenance Details for sphinx_java_autodoc-0.7.0.tar.gz

Built distribution (wheel)

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

Total release size: 140.5 kB

Release files / sphinx_java_autodoc-0.7.0.tar.gz

Download URL sphinx_java_autodoc-0.7.0.tar.gz
Size 99.2 kB
Tags Source
SHA-256 checksum
How to use checksums
71d35535a9ff2592d8e099b6d27304a93b0b059a17f25179235c572e668f2fae
BLAKE2b-256 checksum
How to use checksums
b35bc8dd5f546b5f85969c3daefc60b4ecb9701f8aaf9ba28bf0b3be870413a3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 14, 2026.

Transparency log

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

Download URL sphinx_java_autodoc-0.7.0-py3-none-any.whl
Size 41.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5b67266272cf551749307f1c66340ebc0b124097197497f8e6c1e2f605cf18c8
BLAKE2b-256 checksum
How to use checksums
156f3b6292362dd22b9bc01f4def6b3a3ead95738c55d36892623e36fc266150
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 14, 2026.

Transparency log

Security for sphinx-java-autodoc 0.7.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.7.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 Nov 14, 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