Skip to content

Commit 9248207

Browse files
committed
docs: fix doc for registerUtilMethod; style tweak for internal docs.
Pul the list pseudoheader style spacing tweat ot the stylesheet used to generate the released docs. Fix doc on arg to function defined with registerUtilMethod.
1 parent 109ab02 commit 9248207

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

doc/reference.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1151,8 +1151,8 @@ mechanism.
11511151
<customizing.html#adding-a-time-log-to-your-issues-4>`_ for an example)
11521152

11531153
* ``instance.registerUtilMethod`` is also used for adding `templating
1154-
utilities`_, and provides a client instance by default to the
1155-
function. This makes more complex templating actions easier to
1154+
utilities`_, and provides a TemplatingUtils instance by default to
1155+
the function. This makes more complex templating actions easier to
11561156
use. (see :ref:`dynamic_csp` for an example)
11571157

11581158
* ``instance.registerAction`` is used to add more actions to the

website/www/_static/style.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,15 @@
5151

5252
* + * { margin-block-start: 1.2em;}
5353

54+
/* shrink spacing between first and following paragraph in a list item
55+
when the first paragraph is bold/strong. Try to tie the first paragraph
56+
pseudo header closer to the following paragraph. */
57+
li > p:has(strong):first-child
58+
{
59+
/* background: red; */
60+
margin-block-end: -0.75em;
61+
}
62+
5463
/* shrink spacing between list elements in tables of contents,
5564
badge displays */
5665
div.toctree-wrapper * + *, div.contents * + *, div.release_info * {

0 commit comments

Comments
 (0)