Usage:doc_structure(Term)
It defines the document structure as a tree.
The tree is defined as a root node with optional children. Nodes can be atoms or pairs (N-Cs), where Cs is a list of nodes. The root of the tree is the main file of the manual, i.e., the file which determines the manual's cover page, and first chapter. The children files are used as components, i.e., they will constitute the subsequent chapters of the manual.
If the main or any component file name ends with _doc, then it is treated as documenting the same file name without the _doc suffix. This is useful for separating the documentation from the source file (see Separating the documentation from the source file).
Usage:filepath(Path)
It defines the directories where the .pl files to be documented can be found.
You also need to specify all the paths containing files which are used by the files being documented. For example, the paths to files included by an @include command or to figures.
Usage:output_name(Base)
It determines the base file name of the main documents generated by lpdoc.
By default it is equal to the main file name (root) specified in doc_structure/1.
If the main file name ends with _doc, then it is equal to the name without the _doc suffix (see doc_structure/1).
If the versioned_output option is specified in doc_mainopts/1, the bundle version number is appended to the output name.
Usage:output_dir(Base)
Output directory. If undefined, uses directory of input
Usage:doc_mainopts(Option)
Option is a processing option which should be activated when processing the main file.
It can be set to a series of options which allow more detailed control of what is included in the documentation for the main file and how (i.e., including bug information , versions and patches or only patches , authors , changelog , explanation of modes, one-sided printing (two-sided is the default), etc.).
See option_comment/2 for a description of these options.
The default values are: no_bugs, no_patches.
Usage:doc_compopts(Option)
Option is a processing option which should be activated when processing the secondary files (all except the main file).
Currently these options are common to all component files but they can be different from doc_mainopts/1.
See option_comment/2 for a description of these options.
The default values are: no_bugs, no_patches.
Usage:docformat(Format)
Defines the documentation formats to be generated by default.
If the main file is an application, and the manl option is selected, then lpdoc looks for a usage_message/1 fact, which should contain a string as argument, and will use that string to document the usage of the application (i.e., it will be used to fill in the synopsis section of the man page).
See supported_format/1 for the available formats.
The default values are: pdf, manl, info, html.
Usage:index(Idx)
Defines the index sections to be generated by default.
Selecting all generates all the supported indices. However, note that this (as well as selecting many indices explicitely) exceeds the capacity of most texinfo installations.
See index_comment/1 for a description of the indices.
The default values are: concept, lib, pred, prop, regtype, decl, author, global.
Usage:bibfile(F)
It determines a list of .bib files (one file per path), i.e., files containing bibliographic entries in bibtex format.
This is only relevant if you are using citations in the text (using the @cite command). In that case those will be the files in which the citations will be searched for. All the references will appear together in a References appendix at the end of the manual.
If you are not using citations, then select the no_biblio option on the main file, which will prevent an empty 'References' appendix from appearing in the manual.
Usage:startpage(PageNumber)
Page number of the first page of the manual.
Setting this to a different value allows changing the page number of the first page of the manual. This can be useful if the manual is to be included in a larger document or set of manuals. Typically, this should be an odd number.
The default value is 1.
Usage:papertype(PageNumber)
Type of paper/format for printable outputs (e.g., pdf).
The currently supported outputs (most of them inherited from texinfo) are:
The default, usable for printing on A4 paper. Rather busy, but saves trees.
This one crams even more stuff than afourpaper on an A4 page. Useful for generating manuals in the least amount of space. It saves more trees.
This one is a little less compressed than afourpaper.
Small pages, like in a handbook.
For printing on American letter size paper.
A thesis-like style (i.e., double spaced, wide margins etc.). Useful -- for inserting lpdoc output as appendices of a thesis or similar document. It does not save trees.
See also the onesided option for the main file.
The default value is: afourpaper.
Usage:
If set to yes the texinfo.tex file that comes with the lpdoc distribution will be used when generating manuals in formats such as dvi and ps. Otherwise, the texinfo file that comes with your tex installation will be used. It is recommended that you leave this set to 'yes'.
Usage:
The source files contain version information. If not specified lpdoc will assume the opposite
Usage:
Allow LPdoc-flavored markdown in docstrings
Usage:
Allow runnable code blocks (Ciao Playground)
Usage:
Syntax highlight code blocks (only for HTML backend)
Usage:
Level of verbosity of messages. quiet means no messages printed, progress means standard messages, and full means more detailed messages. See verbosity_t/1. Default is progress.
Usage:
Warning reporting level. none means only error messages are printed, normal means errors and warnings, all means also notes. See autodoc_message_t/1.
Usage:
Include an automatically generated notice inside the output text.
Usage:
Layout for html output.
Usage:
Deploy URL for html output
Usage:
Directory with additional files for HTML backend
Usage:
Directory for HTML templates
Usage:load_doc_module(F)
Documentation module (doc_module) for extensions (see doc_module).