vicdocs
is a documentation generator for VisionScript.
vicdocs
reads a VisionScript file (.vic
), parses the comments, and generates a HTML document with:
- The program code;
- The title, description, and author information specified (if any);
- A list of function definitions.
vicdocs
only works with single-file scripts.
vicdocs
is available on PyPI, so you can install it with pip
:
pip install vicdocs
To generate a documentation file, run vicdocs
with the path to the VisionScript file as the first argument:
vicdocs file.vic
This will generate a HTML file in a {file}-docs
, where {file}
is the name of the VisionScript file for which you are generating documentation.
This project is licensed under an MIT license.