mirror of
https://github.com/digital-asset/daml.git
synced 2024-09-20 01:07:18 +03:00
d3dad75d00
Adding `Daml Documentation >> Building applications >> "Self-Service Error Codes (Experimental)` section in the HTML documentation. The section is populated automatically with error code information retrieved from the classpath. The process of generating documentation for error codes looks like this: - first we find error codes information from the classpath, - then we save it to a json file, - then the json file is made available to a custom Sphinx extension, - then the custom Sphinx extension generates documentation wherever we put a new custom Sphinx directive. Try it out with `./docs/scripts/live-preview.sh` or `./docs/scripts/preview.sh` CHANGELOG_BEGIN CHANGELOG_END |
||
---|---|---|
.. | ||
html | ||
static |