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/user_guide/layout.rst
+58-24
Original file line number
Diff line number
Diff line change
@@ -79,38 +79,63 @@ You can click on section titles to learn more about them and some basic layout c
79
79
Links between pages in the active section.
80
80
81
81
.. grid-item::
82
-
:padding: 2
83
-
:outline:
84
-
:columns: 6
85
-
:class: content
82
+
:columns: 8
86
83
87
-
.. button-ref:: layout-article-header
88
-
:color: primary
89
-
:outline:
84
+
.. grid::
85
+
:margin: 0
86
+
:gutter: 0
90
87
91
-
Article Header
88
+
.. grid-item::
89
+
:class: content
90
+
:padding: 2
91
+
:columns: 8
92
+
:outline:
92
93
93
-
**Article Content**
94
+
.. button-ref:: layout-article-header
95
+
:color: primary
96
+
:outline:
94
97
95
-
.. button-ref:: layout-article-footer
96
-
:color: primary
97
-
:outline:
98
+
Article Header
98
99
99
-
Article Footer
100
+
**Article Content**
100
101
101
-
.. grid-item::
102
-
:padding: 2
103
-
:outline:
104
-
:columns: 2
105
-
:class: sidebar-secondary
102
+
.. button-ref:: layout-article-footer
103
+
:color: primary
104
+
:outline:
106
105
107
-
.. button-ref:: layout-sidebar-secondary
108
-
:color: primary
106
+
Article Footer
107
+
108
+
.. grid-item::
109
+
:padding: 2
110
+
:columns: 4
111
+
:outline:
112
+
:class: sidebar-secondary
113
+
114
+
.. button-ref:: layout-sidebar-secondary
115
+
:color: primary
116
+
:outline:
117
+
118
+
Secondary Sidebar
119
+
120
+
Within-page header links
121
+
122
+
.. grid::
123
+
:margin: 0
124
+
:gutter: 0
109
125
:outline:
110
126
111
-
Secondary Sidebar
127
+
.. grid-item::
128
+
:padding: 2
129
+
:columns: 12
130
+
:class: footer-content
131
+
132
+
.. button-ref:: layout-footer-content
133
+
:color: primary
134
+
:outline:
135
+
136
+
Footer content
137
+
112
138
113
-
Within-page header links
114
139
115
140
.. grid-item::
116
141
:padding: 2
@@ -322,12 +347,21 @@ use this pattern:
322
347
"**": []
323
348
}
324
349
350
+
.. _layout-footer-content:
351
+
352
+
Footer Content
353
+
==============
354
+
355
+
The footer content is a narrow bar spanning the article’s content and secondary sidebar.
356
+
It does not contain anything immediately viewable to the reader, but is kept as a placeholder in case theme developers wish to re-use it in the future.
357
+
358
+
325
359
.. _layout-sidebar-secondary:
326
360
327
361
Secondary Sidebar (right)
328
362
=========================
329
363
330
-
The in-page sidebar is just to the right of a page's main content, and is
364
+
The in-page sidebar is just to the right of a page's article content, and is
331
365
configured in ``conf.py`` with ``html_theme_options['page_sidebar_items']``.
332
366
333
367
By default, it has the following templates:
@@ -364,7 +398,7 @@ at the bottom. You can hide these buttons with the following configuration:
364
398
Footer
365
399
======
366
400
367
-
The footer is just below a page's main content, and is configured in ``conf.py``
401
+
The footer is just below a page’s main content, and is configured in ``conf.py``
0 commit comments