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
Copy file name to clipboardExpand all lines: docs/get-started/basic-content.qmd
+19-1Lines changed: 19 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -61,6 +61,8 @@ The functions listed in `contents` are assumed to be imported from the package.
61
61
62
62
Documentation for modules and classes can automatically include their members (e.g. class methods and attributes; everything defined inside a module).
63
63
64
+
By default, all attributes and functions (including methods on a class) are documented by embedding them inside the module or class documentation.
65
+
64
66
There are four styles for presenting child members:
65
67
66
68
```{python}
@@ -170,4 +172,20 @@ quartodoc:
170
172
```
171
173
172
174
:::
173
-
::::::
175
+
::::::
176
+
177
+
178
+
## Dynamic lookup
179
+
180
+
By default, quartodoc uses static analysis to look up objects.
181
+
This means it gets information about your docstring without actually running your package's code.
182
+
183
+
This usually works well, but may get the docstring wrong for those created in an extremely dynamic way (e.g. you manually set the `__doc__` attribute on an object).
184
+
185
+
In this case, you can set the dynamic option on a piece of content.
0 commit comments