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 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.6.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.6.0
File Size Uploaded Provenance Actions
sphinx_java_autodoc-0.6.0.tar.gz 91.3 kB With provenance Details for sphinx_java_autodoc-0.6.0.tar.gz

Built distribution (wheel)

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

Total release size: 130.3 kB

Release files / sphinx_java_autodoc-0.6.0.tar.gz

Download URL sphinx_java_autodoc-0.6.0.tar.gz
Size 91.3 kB
Tags Source
SHA-256 checksum
How to use checksums
82aafb4f3adc3510efe7fa4cc1f801fca4acd1cb3a129c820a7e8cc85dc85bcd
BLAKE2b-256 checksum
How to use checksums
68fc33a1d9b3b88faa5e513a338caeb65accb543eb9c16afdfb11732ebdc754b
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 16, 2026.

Transparency log

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

Download URL sphinx_java_autodoc-0.6.0-py3-none-any.whl
Size 38.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
90e7680314608164bb21191226bfffb4e035927e5465367418d6be28a5cd64fe
BLAKE2b-256 checksum
How to use checksums
22a2731420aee3ac3ca1fc49d87aebcd2a78601f005c7cddac40e0d54cf4ddb7
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 16, 2026.

Transparency log

Security for sphinx-java-autodoc 0.6.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.6.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 16, 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