Processed online by Toolvito
AI Code Documentation
Paste your code. For Python, AI writes a docstring for each class and function that has none, and the page puts them into your code. For other languages, AI writes README-style documentation.
How it works
- Paste Python code and choose the docstring style: Google, NumPy or reST (Sphinx).
- Press Document the code. A language model that runs on the Toolvito server writes a summary, a line for each parameter, what is returned and what is raised.
- Code checks the answer: each name and parameter must be the one in your code, and only exceptions your code raises itself are listed. Then the docstrings are put into your code, and the result is checked to be the same code apart from the docstrings.
- Read every docstring: the checks make sure nothing in your code changes, not that each text is right.
Other tasks
- README text describes code in any language: an overview, how to use it and its main parts. Every name it mentions is checked to be in the code.
- Outline Python code lists the classes, functions and methods with their signatures and which have no docstring, without AI.
- Your code is never run.