Macaulay2 » Documentation
Packages » Macaulay2Doc > The Macaulay2 language > writing documentation > document > optional argument documentation template
next | previous | forward | backward | up | index | toc

optional argument documentation template


document {
        Key => {
             OptionName,
            [functionName, OptionName]},
        Headline     => "one line description",
        Usage        => "usage",
        Inputs       => {}, -- each input is a hypertext list
        Consequences => {}, -- each effect is a hypertext list
        "There can be explanatory prose here in the form of a hypertext list.",
        EXAMPLE {
            "m2code",
            "m2code",
            "m2code"},
        "There can be explanatory prose here in the form of a hypertext list.",
        Caveat => {"warning"}
        }

See also