document { Key => key, ... }
There are two basic types of documentation:
The headings Usage, BaseFunction, Inputs, Outputs, and Consequences, are useful only for documentation of the first type, as well as in a call to SYNOPSIS.
Here is a basic template:
|
The object document is a method function with a single argument.
The source of this document is in /build/reproducible-path/macaulay2-1.25.06+ds/M2/Macaulay2/packages/Macaulay2Doc/functions/document-doc.m2:461:0.