Mercurial > p > roundup > code
comparison doc/reference.txt @ 8354:586e49dda652
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.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Thu, 03 Jul 2025 13:23:36 -0400 |
| parents | 3ba8078843db |
| children | 628794414f5f |
comparison
equal
deleted
inserted
replaced
| 8353:85aae98b8c82 | 8354:586e49dda652 |
|---|---|
| 1149 * ``instance.registerUtil`` is used for adding `templating utilities`_ | 1149 * ``instance.registerUtil`` is used for adding `templating utilities`_ |
| 1150 (see `adding a time log to your issues | 1150 (see `adding a time log to your issues |
| 1151 <customizing.html#adding-a-time-log-to-your-issues-4>`_ for an example) | 1151 <customizing.html#adding-a-time-log-to-your-issues-4>`_ for an example) |
| 1152 | 1152 |
| 1153 * ``instance.registerUtilMethod`` is also used for adding `templating | 1153 * ``instance.registerUtilMethod`` is also used for adding `templating |
| 1154 utilities`_, and provides a client instance by default to the | 1154 utilities`_, and provides a TemplatingUtils instance by default to |
| 1155 function. This makes more complex templating actions easier to | 1155 the function. This makes more complex templating actions easier to |
| 1156 use. (see :ref:`dynamic_csp` for an example) | 1156 use. (see :ref:`dynamic_csp` for an example) |
| 1157 | 1157 |
| 1158 * ``instance.registerAction`` is used to add more actions to the | 1158 * ``instance.registerAction`` is used to add more actions to the |
| 1159 instance and to web interface. See `Defining new web actions`_ | 1159 instance and to web interface. See `Defining new web actions`_ |
| 1160 for details. Generic action can be added by inheriting from | 1160 for details. Generic action can be added by inheriting from |
