An open API service indexing awesome lists of open source software.

https://github.com/auscompgeek/sphinxify

Convert Javadoc/Doxygen to Sphinx reST docstrings :page_facing_up:
https://github.com/auscompgeek/sphinxify

converter javadoc python restructuredtext robotpy sphinx

Last synced: about 1 year ago
JSON representation

Convert Javadoc/Doxygen to Sphinx reST docstrings :page_facing_up:

Awesome Lists containing this project

README

          

# sphinxify
Convert Javadoc and Doxygen to Sphinx docstrings.

## Why?
The [RobotPy][] project ports Java libraries to Python.

A converter was originally written in HTML + JavaScript, but then the need to
be able to programmatically convert doc comments arose.

This also makes it easier to use in certain editors such as vim...

## Usage
Run `sphinxify` and give it a Javadoc comment. It will keep reading until EOF.

If a Java function prototype is also given, sphinxify will also output a
Python type-hinted function signature.

You can also run `sphinxify server` and it will pop up a browser that you can
use to run sphinxify on the input also.

There is also a `sphinxify yaml` mode for the [robotpy-ctre][].

[RobotPy]: https://robotpy.github.io
[robotpy-ctre]: https://github.com/robotpy/robotpy-ctre