# documentation keys

The Macaulay2 documentation is linked together by cross-references from one documentation node to another. Each node is identified by a string, which is the title of the node. Some nodes, such as this one, have titles that are simply invented by the author. Others have titles that are manufactured in a certain way from the aspect of the program being documented, for the sake of uniformity.

For example, the title of the node describing resolutions of modules is "resolution Module". The corresponding key is (resolution, Module), and it is the job of the function makeDocumentTag to convert keys to titles.

### Types of documentation keys

• "a string"
• s a symbol
• (f,X) a method function or unary operator f that accepts an argument of type X
• (f,X,Y) a method function or binary operator f that accepts 2 arguments, of types X and Y
• (f,X,Y,Z) a method function f that accepts 3 arguments, of types X, Y, and Z
• (f,X,Y,Z,T) a method function f that accepts 4 arguments, of types X, Y, Z and T
• [f,A] a function f with an optional named A
• (NewOfFromMethod,X,Y,Z) the method for new X of Y from Z
• (NewOfMethod,X,Y) the method for new X of Y
• (NewFromMethod,X,Z) the method for new X from Z
• (NewMethod,X) the method for new X
• ((symbol ++, symbol =), X,Y) the method for assignment X ++ Y = ...
• (homology,X) the method for HH X
• (homology,ZZ,X) the method for HH_ZZ X
• (cohomology,ZZ,X) the method for HH^ZZ X
• (homology,ZZ,X,Y) the method for HH_ZZ (X,Y)
• (cohomology,ZZ,X,Y) the method for HH^ZZ (X,Y)
• (E,ZZ,X) the method for E_ZZ X or E^ZZ X, where E is a scripted functor
• (E,ZZ,X,Y) the method for E_ZZ (X,Y) or E^ZZ (X,Y), where E is a scripted functor
 i1 : makeDocumentTag "some title" o1 = User :: some title o1 : DocumentTag i2 : makeDocumentTag (symbol ++, Module, Module) o2 = Macaulay2Doc :: Module ++ Module o2 : DocumentTag i3 : makeDocumentTag ((symbol _, symbol =), Symbol, Thing) o3 = Macaulay2Doc :: Symbol _ Thing = Thing o3 : DocumentTag i4 : makeDocumentTag (Tor,ZZ,Module,Module) o4 = Macaulay2Doc :: Tor_ZZ(Module,Module) o4 : DocumentTag
{"ft_lang_label":"__label__en","ft_lang_prob":0.7197409,"math_prob":0.81995726,"size":1020,"snap":"2021-31-2021-39","text_gpt3_token_len":255,"char_repetition_ratio":0.18208662,"word_repetition_ratio":0.0,"special_character_ratio":0.25,"punctuation_ratio":0.20212767,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9548683,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2021-09-19T00:56:37Z\",\"WARC-Record-ID\":\"<urn:uuid:a6d5c4cf-21eb-4c9f-a132-0c90f66e6e55>\",\"Content-Length\":\"7353\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:f39f1682-f7ba-4310-97f9-3acb40d031fe>\",\"WARC-Concurrent-To\":\"<urn:uuid:de8349e7-5041-4c1d-b549-8b3db129c2df>\",\"WARC-IP-Address\":\"128.174.199.46\",\"WARC-Target-URI\":\"https://faculty.math.illinois.edu/Macaulay2/doc/Macaulay2/share/doc/Macaulay2/Macaulay2Doc/html/_documentation_spkeys.html\",\"WARC-Payload-Digest\":\"sha1:XXBVYRP5EDIME35K5JEBOZAV7IWK7JIE\",\"WARC-Block-Digest\":\"sha1:C33SJBBCOFCWODCK5CD4GUZEPZ2SYAFK\",\"WARC-Identified-Payload-Type\":\"application/xhtml+xml\",\"warc_filename\":\"/cc_download/warc_2021/CC-MAIN-2021-39/CC-MAIN-2021-39_segments_1631780056656.6_warc_CC-MAIN-20210919005057-20210919035057-00552.warc.gz\"}"}