resources
ModuleSource
Rendering the resource files into the documentation.
This module manages the files in the resource folder. These files are not a part of the codes but provide the templates and the files to be rendered as typescripts in the exported documentation.
Functions
| Member | |
|---|---|
| is_jinja_template | Check whether the file is a jinja2 template. |
| get_jinja_template_out_name | Get the destination name of the file rendered from a jinja2 template file. |
| ts_object | Dump a value as json, and put it in a typescript object. |
| as_pypi_name | Convert the package name as a PyPI name. |
| render_resource_tree | Render the resource tree of a package. |