Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sphinx API documentation for Javascript

I am using Sphinx extensively for documentation and feel comfortable with it.

However, more more I found myself doing Javascript (front-end) than Python.

Are there any plug-ins or ways to do similar API documentation from JavaScript code comments with Sphinx as there is with Python docstrings?

like image 482
Mikko Ohtamaa Avatar asked Dec 06 '25 08:12

Mikko Ohtamaa


1 Answers

I had the same problem, so I wrote sphinx-js to address it. It's basically autodoc for JavaScript, with a few other niceties. There's a more in-depth writeup over at the Mozilla Hacks blog. Advantages over similar packages are better polish, no Java dependency, standard JSDoc syntax in your source, and an autodoc-esque rather than an include-based workflow.

like image 81
Erik Rose Avatar answered Dec 07 '25 21:12

Erik Rose



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!