diff options
author | Richard Jones <richard@mechanicalcat.net> | 2012-11-20 13:13:33 +1100 |
---|---|---|
committer | Richard Jones <richard@mechanicalcat.net> | 2012-11-20 13:13:33 +1100 |
commit | 3ff73559450320e841f3e1e2786ab3fe79554a68 (patch) | |
tree | fcb297f176a612f17e52827da52948a18e483f16 | |
parent | 51405ce2254660c0726e0da784ef42be3c474bf0 (diff) | |
download | decorator-3ff73559450320e841f3e1e2786ab3fe79554a68.tar.gz |
Sphinx renamed it "code-block" yay
-rw-r--r-- | description_utils.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/description_utils.py b/description_utils.py index 77faaa8..840499c 100644 --- a/description_utils.py +++ b/description_utils.py @@ -61,6 +61,7 @@ class Pygments(Directive): return [nodes.raw('', parsed, format='html')] directives.register_directive('code', Pygments) +directives.register_directive('code-block', Pygments) # Sphinx directives.register_directive('sourcecode', Pygments) # END PYGMENTS SUPPORT BLOCK |