GenerateDocumentation
Package: kwave.devtools
Generate help documentation.
Syntax
kwave.devtools.GenerateDocumentation
Description
GenerateDocumentation is a static class that is called to generate the help files that appear in the MATLAB help browser and the documentation website. The documentation is generated in several stages:
- The
.mfiles in specified directories are converted directly to.htmlusing the MATLAB publish function and to.mdusing the export function. Text should be written using MATLAB publishing markup, which is parsed as headings, code, etc. - The generated
.htmland.mdfiles are modified to add links between related functions and classes. - A
helptoc.xmlfile is automatically created, adding links to the generated.htmlfiles. Similarly, the appropriateSUMMARY.mdfiles are generated in the appropriate file tree structure that contains the markdown files (ready to be turned into GitHub pages with mkdocs) - The documentation search database is created using builddocsearchdb.
This class is provided for generating documentation during development, and for preparing the documentation published on GitHub pages and packaged with a release. If you have downloaded a packaged release, there should be no need to call this class. However, if you have directly cloned the repository and are working with bleeding-edge changes, you can call GenerateDocumentation to (re-)generate the help files.