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/manual/templates-themes.rst
+10-10
Original file line number
Diff line number
Diff line change
@@ -20,10 +20,10 @@ Blog sidebars
20
20
21
21
Sidebars are a common way to provide additional information to the reader. There are seven Ablog sidebars you can include in your HTML output using the Sphinx_ :confval:`html_sidebars` configuration option (in addition to your theme sidebars).
22
22
23
-
- ``alog/postcard.html`` provides information regarding the current post (when on a post page).
24
-
- ``alog/recentposts.html`` lists the most recent five posts.
25
-
- ``alog/tagcloud.html`` provides links to archive pages generated for each tag.
26
-
- ``alog/category.html``, ``alog/authors.html``, ``alog/languages.html``, and ``alog/locations.html`` sidebars generate lists of links to respective archive pages with the number of matching posts (e.g., "Manual (14)", "2023 (8)", "English (22)").
23
+
- ``ablog/postcard.html`` provides information regarding the current post (when on a post page).
24
+
- ``ablog/recentposts.html`` lists the most recent five posts.
25
+
- ``ablog/tagcloud.html`` provides links to archive pages generated for each tag.
26
+
- ``ablog/category.html``, ``ablog/authors.html``, ``ablog/languages.html``, and ``ablog/locations.html`` sidebars generate lists of links to respective archive pages with the number of matching posts (e.g., "Manual (14)", "2023 (8)", "English (22)").
27
27
28
28
For example, the sidebars that you see on this website on the left are:
29
29
@@ -32,7 +32,7 @@ For example, the sidebars that you see on this website on the left are:
32
32
html_sidebars = {
33
33
"**": [
34
34
# Comes from Alabaster theme
35
-
"about.html",
35
+
"about.html",
36
36
"searchfield.html",
37
37
# Ablog sidebars
38
38
"ablog/postcard.html",
@@ -54,7 +54,7 @@ Ablog standard sidebars are wrapped in ``<div>`` with CSS classes like :samp:`ab
54
54
For example, the ``recentposts.html`` template is wrapped in ``<div class="ablog-sidebar-item ablog__recentposts">``.
55
55
56
56
.. seealso::
57
-
57
+
58
58
Built-in sidebars can be found in the ``ablog/`` folder in the `Ablog source code <https://github.com/sunpy/ablog/tree/main/src/ablog/templates/ablog>`_.
59
59
60
60
If styling is not enough, you can override the Ablog templates in your Sphinx project or in the Sphinx theme.
@@ -65,7 +65,7 @@ Partial or complete override of Ablog templates
65
65
To control whether Ablog injects its own templates into the Sphinx build, you can use the following ``conf.py`` configuration option:
66
66
67
67
.. confval:: skip_injecting_base_ablog_templates
68
-
68
+
69
69
If set to ``True``, Ablog will not inject its own templates into the Sphinx build. This is useful if you want to completely override Ablog templates in your Sphinx project or in the Sphinx theme. The default is ``False``.
70
70
71
71
Customizing templates in the project
@@ -95,7 +95,7 @@ If you are a Sphinx theme author, you can ship customized Ablog templates in you
95
95
#. In your ``theme.toml`` file, add the following (under the ``[options]`` section):
96
96
97
97
.. code-block:: toml
98
-
98
+
99
99
ablog_inject_templates_after_theme = true
100
-
101
-
This will ensure that Ablog templates are injected *after* the theme templates, so you can override them while still using the Ablog templates as a fallback.
100
+
101
+
This will ensure that Ablog templates are injected *after* the theme templates, so you can override them while still using the Ablog templates as a fallback.
Copy file name to clipboardexpand all lines: docs/release/ablog-v0.11-released.rst
+11
Original file line number
Diff line number
Diff line change
@@ -115,3 +115,14 @@ Mark Ablog parallel safe.
115
115
116
116
Dropped support for Python 3.9, Sphinx less than 6.2.
117
117
This mirrors the requirements for alabaster 1.0.0.
118
+
119
+
ABlog v0.11.12 released
120
+
-----------------------
121
+
122
+
`Improve ablog-configuration-options.rst. <https://github.com/sunpy/ablog/pull/292>`__ from `Libor Jelínek <https://github.com/liborjelinek>`__.
123
+
124
+
`Fix sidebars CSS naming. <https://github.com/sunpy/ablog/pull/298>`__ from `Libor Jelínek <https://github.com/liborjelinek>`__.
125
+
126
+
`Ablog is NOT safe for parallel read. <https://github.com/sunpy/ablog/pull/299>`__ from `Libor Jelínek <https://github.com/liborjelinek>`__.
127
+
128
+
`Fix theme support for ablog. <https://github.com/sunpy/ablog/pull/295>`__ from `Libor Jelínek <https://github.com/liborjelinek>`__.
0 commit comments