Macaulay2 » Documentation
Packages » Macaulay2Doc » The Macaulay2 language » writing documentation » document » SourceCode
next | previous | forward | backward | up | index | toc

SourceCode -- sources displayed in a documentation node

Description

This option inserts the source code of the listed functions into a documentation page.

As an example, here is the code for the SourceCode part of the documentation node for variety(SheafOfRings).

SourceCode => {(variety, SheafOfRings)}

See also

Functions with optional argument named SourceCode:

  • document(...,SourceCode=>...)

For the programmer

The object SourceCode is a symbol.


The source of this document is in Macaulay2Doc/functions/document-doc.m2:461:0.