summary refs log tree commit diff stats
path: root/doc
ModeNameSize
-rw-r--r--abstypes.txt4631log stats plain blame
-rw-r--r--advopt.txt5567log stats plain blame
-rw-r--r--apis.txt3765log stats plain blame
-rw-r--r--astspec.txt10343log stats plain blame
-rw-r--r--basicopt.txt1892log stats plain blame
-rw-r--r--c2nim.txt8644log stats plain blame
-rw-r--r--docs.txt1365log stats plain blame
-rw-r--r--effects.txt1239log stats plain blame
-rw-r--r--endb.txt6877log stats plain blame
-rw-r--r--estp.txt4930log stats plain blame
-rw-r--r--filelist.txt2848log stats plain blame
-rw-r--r--filters.txt5155log stats plain blame
-rw-r--r--gc.txt4020log stats plain blame
-rw-r--r--grammar.txt8364log stats plain blame
-rw-r--r--idetools.txt20513log stats plain blame
-rw-r--r--intern.txt17531log stats plain blame
-rw-r--r--keywords.txt387log stats plain blame
-rw-r--r--lib.txt19002log stats plain blame
-rw-r--r--manual.txt173811log stats plain blame
-rw-r--r--mytest.cfg408log stats plain blame
-rw-r--r--nimdoc.css6129log stats plain blame
-rw-r--r--nimgrep.txt1740log stats plain blame
-rw-r--r--niminst.txt6806log stats plain blame
-rw-r--r--nimrodc.txt24499log stats plain blame
-rw-r--r--overview.txt171log stats plain blame
-rw-r--r--pegdocs.txt10150log stats plain blame
-rw-r--r--readme.txt292log stats plain blame
-rw-r--r--regexprs.txt13802log stats plain blame
-rw-r--r--rst.txt3346log stats plain blame
-rw-r--r--subexes.txt2656log stats plain blame
-rw-r--r--tools.txt538log stats plain blame
-rw-r--r--trmacros.txt8400log stats plain blame
-rw-r--r--tut1.txt52049log stats plain blame
-rw-r--r--tut2.txt25047log stats plain blame
quot;, included in this # distribution, for details about the copyright. # # This module implements a new documentation generator that runs after # semantic checking. import os, options, ast, astalgo, msgs, ropes, idents, passes, docgen type TGen = object of TPassContext doc: PDoc module: PSym PGen = ref TGen proc close(p: PPassContext, n: PNode): PNode = var g = PGen(p) let useWarning = sfMainModule notin g.module.flags if gWholeProject or sfMainModule in g.module.flags: writeOutput(g.doc, g.module.filename, HtmlExt, useWarning) try: generateIndex(g.doc) except IOError: discard proc processNode(c: PPassContext, n: PNode): PNode = result = n var g = PGen(c) generateDoc(g.doc, n) proc myOpen(module: PSym): PPassContext = var g: PGen new(g) g.module = module var d = newDocumentor(module.filename, options.gConfigVars) d.hasToc = true g.doc = d result = g const docgen2Pass* = makePass(open = myOpen, process = processNode, close = close) proc finishDoc2Pass*(project: string) = discard