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.5.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.5.0
File Size Uploaded Provenance Actions
sphinx_java_autodoc-0.5.0.tar.gz 91.3 kB With provenance Details for sphinx_java_autodoc-0.5.0.tar.gz

Built distribution (wheel)

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

Total release size: 130.2 kB

Release files / sphinx_java_autodoc-0.5.0.tar.gz

Download URL sphinx_java_autodoc-0.5.0.tar.gz
Size 91.3 kB
Tags Source
SHA-256 checksum
How to use checksums
b6dbefa5e8dac183da1a4514d2e7703c0e5c096171040ef6bc32ebddc1cfbdfa
BLAKE2b-256 checksum
How to use checksums
d3065eff9aa093d58912656100ef99f5866d63717f8ce0c3b5d57b1891b953c2
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 14, 2026.

Transparency log

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

Download URL sphinx_java_autodoc-0.5.0-py3-none-any.whl
Size 38.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9ef3ef74fd3ceef149ecc1b821d43367adfde0b9f5d618dc272fbac92f994494
BLAKE2b-256 checksum
How to use checksums
c94dae98d720c996ae439d86af2b41c040c3ccdd68727b7da55ca63b8fcaacae
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 14, 2026.

Transparency log

Security for sphinx-java-autodoc 0.5.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.5.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 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