We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 446e760 commit ab67526Copy full SHA for ab67526
README.rst
@@ -11,24 +11,27 @@ Overview
11
--------
12
13
This module renders docs like
14
-```
15
-.. method:: __add__(other)
16
- Docstring
17
+
+.. code-block:: rst
+ .. method:: __add__(other)
18
+ Docstring
19
20
21
as
22
23
self + other
24
Docstring
25
26
27
After installing this module, add the following to your `conf.py` to enable it
28
-extensions = [
- ... # your other extensions
29
- 'sphinxcontrib.prettyspecialmethods',
30
-]
31
+.. code-block:: python
+ extensions = [
32
+ ... # your other extensions
33
+ 'sphinxcontrib.prettyspecialmethods',
34
+ ]
35
36
37
Links
0 commit comments