3

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?

2

2 Answers 2

10

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.

Sign up to request clarification or add additional context in comments.

Comments

0

You might want to check out jsdoc-for-sphinx. I haven't tried it so no idea how well that works.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.