Represents a non-verso docstring; these will be rendered using Output.docStringToHtml.
Equations
Instances For
Member of a module, either a declaration or some module doc string.
- docInfo (info : DocInfo) : ModuleMember
- modDoc (doc : Lean.ModuleDoc) : ModuleMember
Instances For
Equations
Information about a tactic declaration which will be rendered on the Tactics page.
This datastructure contains slightly different contents compared to a TacticDoc to make
it easily serializable as JSON. It is designed to be easy to instantiate,
using { tacticDoc with ... }.
- internalName : Lean.Name
The name of the canonical parser for the tactic
- userName : String
The user-facing name to display (typically the first keyword token)
- docString : textType
The docstring for the tactic, including any extension docstrings.
- definingModule : Lean.Name
Name of the module where the tactic is declared.
Instances For
Equations
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
A Lean module.
- name : Lean.Name
Name of the module.
- members : Array ModuleMember
All members of the module, sorted according to their line numbers.
- tactics : Array (TacticInfo MarkdownDocstring)
Tactics declared in this module.
Instances For
Equations
The result of running a full doc-gen analysis on a project.
- name2ModIdx : Std.HashMap Lean.Name Lean.ModuleIdx
The map from module names to indices of the
moduleNamesarray. The list of all modules, accessible nicely via
name2ModIdx.- moduleInfo : Std.HashMap Lean.Name Module
A map from module names to information about these modules.
- containedNames : Std.HashMap Lean.Name (Std.HashSet Lean.Name)
For each rendered declaration, the set of names whose declaration ranges are contained within it. Used to determine whether auto-generated projections should receive anchor IDs in the HTML output.
This field is only populated when the result is read from the database. Prior to that, it is empty.
Instances For
An order for module members, based on their declaration range.
Equations
- l.order r = l.getDeclarationRange.pos.lt r.getDeclarationRange.pos
Instances For
Equations
Instances For
Equations
Instances For
Equations
Instances For
- analyzePrefixModules (topLevel : Lean.Name) : AnalyzeTask
- analyzeConcreteModules (modules : Array Lean.Name) : AnalyzeTask
Instances For
Equations
- (DocGen4.Process.AnalyzeTask.analyzePrefixModules topLevel).getLoad = #[topLevel]
- (DocGen4.Process.AnalyzeTask.analyzeConcreteModules modules).getLoad = modules
Instances For
Collect tactic info for pages to display in addition to the module docs.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Run the doc-gen analysis on all modules that are loaded into the Environment
of this MetaM run and mentioned by the AnalyzeTask.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.