File tree Expand file tree Collapse file tree 5 files changed +38
-14
lines changed Expand file tree Collapse file tree 5 files changed +38
-14
lines changed Original file line number Diff line number Diff line change @@ -79,12 +79,15 @@ website:
79
79
contents :
80
80
- get-started/basic-docs.qmd
81
81
- get-started/crossrefs.qmd
82
+ - get-started/sidebar.qmd
82
83
- section : " Advanced"
83
84
contents :
84
- - get-started/architecture.qmd
85
85
- get-started/docstrings.qmd
86
86
- get-started/renderers.qmd
87
87
- get-started/interlinks.qmd
88
+ - section : " Extra Topics"
89
+ contents :
90
+ - get-started/architecture.qmd
88
91
- id : dummy
89
92
90
93
Original file line number Diff line number Diff line change 1
1
---
2
- title : Cross references
2
+ title : Linking to pages
3
3
jupyter :
4
4
kernelspec :
5
5
display_name : Python 3 (ipykernel)
@@ -9,21 +9,20 @@ jupyter:
9
9
10
10
Coming soon!
11
11
12
- | style | link text | syntax | output |
13
- | ----- | ---- | ------ | ------ |
14
- | manual | | ` [a link](../api/#get_object) ` | [ a link] ( ../api/#get_object ) |
15
- | md | custom | `` [some explanation](`quartodoc.get_object`) `` | [ some explanation] ( `quartodoc.get_object` ) |
16
- | md | default | `` [](`quartodoc.get_object`) `` | [ ] ( `quartodoc.get_object` ) |
17
- | md | shortened | `` [](`~quartodoc.get_object`) `` | [ ] ( `~quartodoc.get_object` ) |
18
- | rst | custom | `` :ref:`some explanation <quartodoc.get_object>` `` | :ref:` some explanation <quartodoc.get_object> ` |
19
- | rst | default | `` :ref:`quartodoc.get_object` `` | :ref:` quartodoc.get_object ` |
20
- | rst | shortened | `` :ref:`~quartodoc.get_object` `` | :ref:` ~quartodoc.get_object ` |
12
+ ## Linking by path
21
13
14
+ You can link to function docs by using the path to the generated documentation file:
22
15
23
- ## Link to external docs
16
+ `` [get_object](/reference/get_object.qmd) ``
24
17
25
- ### Inventory files
18
+
19
+ * /reference/
20
+
21
+
22
+ ## Linking by function name
26
23
27
24
28
25
## The "See Also" section
29
26
27
+
28
+
Original file line number Diff line number Diff line change 1
1
---
2
- title : Handling docstrings
2
+ title : Inspecting docstrings
3
3
jupyter :
4
4
kernelspec :
5
5
display_name : Python 3 (ipykernel)
Original file line number Diff line number Diff line change @@ -50,3 +50,17 @@ Where files like `objects_numpy.json` and `objects_python.json` are their invent
50
50
51
51
The rough idea is that this plugin will behave similar to [ jupyterbook linking] ( https://jupyterbook.org/en/stable/content/references.html ) ,
52
52
which supports both some intersphinx syntax, but also markdown syntax.
53
+
54
+ ## Link formats
55
+
56
+ | style | link text | syntax | output |
57
+ | ----- | ---- | ------ | ------ |
58
+ | manual | | ` [a link](../api/#get_object) ` | [ a link] ( ../api/#get_object ) |
59
+ | md | custom | `` [some explanation](`quartodoc.get_object`) `` | [ some explanation] ( `quartodoc.get_object` ) |
60
+ | md | default | `` [](`quartodoc.get_object`) `` | [ ] ( `quartodoc.get_object` ) |
61
+ | md | shortened | `` [](`~quartodoc.get_object`) `` | [ ] ( `~quartodoc.get_object` ) |
62
+ | rst | custom | `` :ref:`some explanation <quartodoc.get_object>` `` | :ref:` some explanation <quartodoc.get_object> ` |
63
+ | rst | default | `` :ref:`quartodoc.get_object` `` | :ref:` quartodoc.get_object ` |
64
+ | rst | shortened | `` :ref:`~quartodoc.get_object` `` | :ref:` ~quartodoc.get_object ` |
65
+
66
+
Original file line number Diff line number Diff line change
1
+ ---
2
+ title : Sidebar navigation
3
+ ---
4
+
5
+ Currently, adding API reference pages to the left-hand sidebar requires manually
6
+ listing each page in ` _quarto.yml ` . See the [ quarto sidebar docs] ( https://quarto.org/docs/websites/website-navigation.html#side-navigation ) for details.
7
+
8
+ Generating sidebar entries is being tracked in [ this quartodoc issue] ( https://github.com/machow/quartodoc/issues/20 ) .
You can’t perform that action at this time.
0 commit comments