File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -465,6 +465,8 @@ class Builder:
465
465
title : str
466
466
467
467
renderer : Renderer
468
+ items : list [layout .Item ]
469
+ """Documented items by this builder"""
468
470
469
471
def __init_subclass__ (cls , ** kwargs ):
470
472
super ().__init_subclass__ (** kwargs )
@@ -555,7 +557,7 @@ def build(self, filter: str = "*"):
555
557
blueprint = blueprint (self .layout , dynamic = self .dynamic , parser = self .parser )
556
558
557
559
_log .info ("Collecting pages and inventory items." )
558
- pages , items = collect (blueprint , base_dir = self .dir )
560
+ pages , self . items = collect (blueprint , base_dir = self .dir )
559
561
560
562
# writing pages ----
561
563
@@ -568,7 +570,7 @@ def build(self, filter: str = "*"):
568
570
# inventory ----
569
571
570
572
_log .info ("Creating inventory file" )
571
- inv = self .create_inventory (items )
573
+ inv = self .create_inventory (self . items )
572
574
if self ._fast_inventory :
573
575
# dump the inventory file directly as text
574
576
# TODO: copied from __main__.py, should add to inventory.py
You can’t perform that action at this time.
0 commit comments