4
4
resources :
5
5
- examples/single-page
6
6
- examples/pkgdown
7
- - examples/shiny
8
7
9
8
metadata-files :
10
9
- api/_sidebar.yml
@@ -19,16 +18,75 @@ interlinks:
19
18
griffe :
20
19
url : https://mkdocstrings.github.io/griffe/
21
20
21
+ website :
22
+ title : " quartodoc"
23
+ page-navigation : true
24
+ navbar :
25
+ left :
26
+ - file : get-started/overview.qmd
27
+ text : Get Started
28
+ - file : examples/
29
+ text : Examples
30
+ - href : api/
31
+ text : Reference
32
+ right :
33
+ - icon : github
34
+ href : https://github.com/machow/quartodoc/
35
+ sidebar :
36
+ - id : get-started
37
+ title : Get Started
38
+ style : floating
39
+ align : left
40
+ contents :
41
+ - get-started/overview.qmd
42
+ - section : " Basic Use"
43
+ contents :
44
+ - get-started/basic-docs.qmd
45
+ - get-started/basic-content.qmd
46
+ - get-started/basic-building.qmd
47
+ - get-started/crossrefs.qmd
48
+ - get-started/interlinks.qmd
49
+ - get-started/sidebar.qmd
50
+ - get-started/extending.qmd
51
+
52
+ - section : " Docstrings"
53
+ contents :
54
+ - get-started/docstring-style.qmd
55
+ - get-started/docstring-examples.qmd
56
+
57
+ - section : " Programming"
58
+ contents :
59
+ - get-started/dev-big-picture.qmd
60
+ - get-started/dev-prepare.qmd
61
+ - get-started/docstrings.qmd
62
+ - get-started/renderers.qmd
63
+ - get-started/dev-dataclasses.qmd
64
+ - section : " Extra Topics"
65
+ contents :
66
+ - get-started/extra-build-sequence.qmd
67
+
68
+
69
+ format :
70
+ html :
71
+ theme : cosmo
72
+ css : styles.css
73
+ toc : true
74
+
75
+
22
76
quartodoc :
23
77
style : pkgdown
24
78
dir : api
25
79
package : quartodoc
26
80
sidebar : " api/_sidebar.yml"
27
81
sections :
28
- - title : Inspection
82
+ - title : Preperation Functions
29
83
desc : |
30
- These functions Fetch and analyze python objects, including parsing docstrings.
84
+ These functions fetch and analyze python objects, including parsing docstrings.
85
+ They prepare a basic representation of your doc site that can be rendered and built.
31
86
contents :
87
+ - Auto
88
+ - blueprint
89
+ - collect
32
90
- get_object
33
91
- preview
34
92
@@ -57,12 +115,12 @@ quartodoc:
57
115
- kind : auto
58
116
name : Builder
59
117
members : []
118
+ - Builder.from_quarto_config
60
119
- Builder.build
61
- - Builder.do_blueprint
62
- - Builder.do_collect
63
- - Builder.do_summarize
64
120
- Builder.write_index
65
121
- Builder.write_doc_pages
122
+ - Builder.write_sidebar
123
+ - Builder.create_inventory
66
124
67
125
68
126
- title : Inventory links
@@ -73,18 +131,28 @@ quartodoc:
73
131
- create_inventory
74
132
- convert_inventory
75
133
76
- - title : Data models
134
+ - title : " Data models: structural "
77
135
desc : |
78
- Classes for specifying the exact layout of your docs.
136
+ Classes for specifying the broad structure your docs.
79
137
contents :
80
138
- kind : " page"
81
- path : " layouts"
139
+ path : " layouts-structure "
82
140
flatten : true
83
141
contents :
84
142
- layout.Layout
85
143
- layout.Section
86
144
- layout.Page
87
- - layout.Auto
145
+ - layout.SectionElement
146
+ - layout.ContentElement
147
+
148
+ - title : " Data models: docable"
149
+ desc : |
150
+ Classes representing python objects to be rendered.
151
+ contents :
152
+ - kind : " page"
153
+ path : " layouts-docable"
154
+ flatten : true
155
+ contents :
88
156
- name : layout.Doc
89
157
members : []
90
158
- layout.DocFunction
@@ -93,50 +161,16 @@ quartodoc:
93
161
- layout.DocClass
94
162
- layout.Link
95
163
- layout.Item
96
- - layout.SectionElement
97
- - layout.ContentElement
98
-
99
-
100
- website :
101
- title : " quartodoc"
102
- page-navigation : true
103
- navbar :
104
- left :
105
- - file : get-started/overview.qmd
106
- text : Get Started
107
- - file : examples/
108
- text : Examples
109
- - href : api/
110
- text : Reference
111
- right :
112
- - icon : github
113
- href : https://github.com/machow/quartodoc/
114
- sidebar :
115
- - id : get-started
116
- title : Get Started
117
- style : floating
118
- align : left
164
+ - layout.ChoicesChildren
165
+ - title : " Data models: docstring patches"
166
+ desc : |
167
+ Most of the classes for representing python objects live
168
+ in [](`griffe.dataclasses`) or [](`griffe.docstrings.dataclasses`).
169
+ However, the `quartodoc.ast` module has a number of custom classes to fill
170
+ in support for some important docstring sections.
119
171
contents :
120
- - get-started/overview.qmd
121
- - section : " Basics"
122
- contents :
123
- - get-started/basic-docs.qmd
124
- - get-started/crossrefs.qmd
125
- - get-started/interlinks.qmd
126
- - get-started/sidebar.qmd
127
- - get-started/extending.qmd
128
- - section : " Advanced"
129
- contents :
130
- - get-started/docstrings.qmd
131
- - get-started/renderers.qmd
132
- - get-started/building.qmd
133
- - section : " Extra Topics"
134
- contents :
135
- - get-started/architecture.qmd
136
-
137
-
138
- format :
139
- html :
140
- theme : cosmo
141
- css : styles.css
142
- toc : true
172
+ - ast.DocstringSectionSeeAlso
173
+ - ast.DocstringSectionNotes
174
+ - ast.DocstringSectionWarnings
175
+ - ast.ExampleCode
176
+ - ast.ExampleText
0 commit comments