diff docs/details-algpseudocode.rst @ 165:88f872c50aae

Markup of Python objects in docs
author Franz Glasner <fzglas.hg@dom66.de>
date Fri, 08 May 2026 23:50:24 +0200
parents a4317957148b
children
line wrap: on
line diff
--- a/docs/details-algpseudocode.rst	Fri May 08 21:19:54 2026 +0200
+++ b/docs/details-algpseudocode.rst	Fri May 08 23:50:24 2026 +0200
@@ -12,19 +12,19 @@
 
   .. describe:: prohibit_raiseonerror_filter
 
-     **Type:** `bool`
+     **Type:** :py:class:`bool`
 
      **Default:** `False`
 
      If ``True`` the `raiseonerror` filter is not allowed to be applied by
      `Sphinx`_ when :py:meth:`Lexer.add_filter` is called.
-     
+
      This setting does not apply to filters that are set by the standard
      lexer option `filters`.
 
   .. describe:: no_end
 
-     **Type:** `bool`
+     **Type:** :py:class:`bool`
 
      **Default:** `False`
 
@@ -33,7 +33,7 @@
 
   .. describe:: gets
 
-     **Type:** `str` or `None`
+     **Type:** :py:class:`str` or :py:obj:`None`
 
      **Default:** `None` (yields ``←``)
 
@@ -43,7 +43,7 @@
 
   .. describe:: remark
 
-     **Type:** `str` or `None`
+     **Type:** :py:class:`str` or :py:obj:`None`
 
      **Default:** `None` (yields ``▷``)