Skip to main content

sphinxcontrib-ocaml is a Sphinx (1.6.3+) extension to document OCaml libraries. It provides a Sphinx domain for OCaml and autodoc-like directives to generate documentation from source code.

It’s licensed under the MIT license. It’s available in two parts, on the Python package index and OPAM (both are required). Its documentation and its source code are on GitHub.

Questions? Remarks? Bugs? Want to contribute? Open an issue!

https://img.shields.io/travis/jacquev6/sphinxcontrib-ocaml/master.svg https://img.shields.io/github/issues/jacquev6/sphinxcontrib-ocaml.svg https://img.shields.io/github/forks/jacquev6/sphinxcontrib-ocaml.svg https://img.shields.io/github/stars/jacquev6/sphinxcontrib-ocaml.svg

Status

sphinxcontrib-ocaml is still highly experimental. Interfaces may be changed unannounced. We welcome all feedback from our daring early users.

Quick start

Install both packages:

$ pip3 install sphinxcontrib-ocaml
$ opam install sphinxcontrib-ocaml

Enable and configure the Sphinx extension in your conf.py file:

extensions.append("ocaml")
primary_domain = "ocaml"  # Optional
ocaml_source_directories = ["src"]
ocaml_findlib_packages = ["batteries", "js_of_ocaml"]

And document your module (in an .rst file):

.. autoocamlmodule:: MyModule

Release files for sphinxcontrib-ocaml 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 sphinxcontrib-ocaml 0.3.0
File Size Uploaded
sphinxcontrib-ocaml-0.3.0.tar.gz 7.0 kB Details

Release files / sphinxcontrib-ocaml-0.3.0.tar.gz

Download URL sphinxcontrib-ocaml-0.3.0.tar.gz
Size 7.0 kB
Tags Source
SHA-256 checksum
How to use checksums
3b7d50dd6639118065de5dfb806ee66bfa9f08d5310c346b0988fe2249370dc2
BLAKE2b-256 checksum
How to use checksums
14e7b50aef92b56d52744fca00aac6e2c4c1bee9678b71fecfc154d3dda81265
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.3.0 This release

1 release file

0.2.0

1 release file

0.1.2

1 release file

0.1.1

1 release file

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