Documentation

DocGen4.Process.Hierarchy

def DocGen4.getNLevels (name : Lean.Name) (levels : Nat) :
Equations
Instances For
    Instances For
      @[reducible, inline]
      Equations
      Instances For
        def DocGen4.HierarchyMap.hForIn {m : Type u_1 → Type u_2} {σ : Type u_1} [Monad m] (t : HierarchyMap) (init : σ) (f : Lean.Name × Hierarchyσm (ForInStep σ)) :
        m σ
        Equations
        Instances For
          Equations
          Instances For
            Equations
            Instances For
              Equations
              Instances For

                Returns true if n was inserted into h as a file (i.e. was one of the names passed to fromArray / insert!). Intermediate "container" nodes that were synthesized to host children but never inserted as files themselves return false.

                Used by moduleNameToLink to decide local-vs-external linking: a module present here goes through the relative URL path; anything else falls back to the external documentation site.