You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note that they are also a instances of `Page` (`MemberPage` to be exact).
106
+
Before to building the site, we need to `collect()` all the pages.
107
+
108
+
61
109
62
110
## Collecting pages and items
63
111
112
+
The [collect](`quartodoc.collect`) function pulls out two important pieces of information:
113
+
114
+
***pages** - each page to be rendered.
115
+
***items** - information on where each documented object lives in the site.
116
+
64
117
```{python}
65
118
pages, items = collect(bp, builder.dir)
66
119
preview(pages, max_depth=3)
67
120
```
68
121
122
+
The code below shows a preview of the items.
123
+
124
+
```{python}
125
+
preview(items, max_depth=2)
126
+
```
127
+
128
+
Notice that if you wanted to look up `quartodoc.MdRenderer.render`, the first item's `.uri` attribute shows the URL for it, relative to wherever the doc site is hosted.
129
+
130
+
69
131
## Rendering and writing
70
132
133
+
A `Builder` instantiates a `Renderer` (like [MdRenderer](`quartodoc.MdRenderer`)).
Copy file name to clipboardExpand all lines: docs/get-started/extra-build-sequence.qmd
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,9 @@ jupyter:
7
7
name: python3
8
8
---
9
9
10
+
This sequence diagram shows the process behind `quartodoc build`.
11
+
See the API docs for [](`~quartodoc.Builder`), [](`~quartodoc.MdRenderer`), and the preperation functions ([](`~quartodoc.Auto`), [](`~quartodoc.blueprint`), [](`~quartodoc.collect`))
0 commit comments