chiark / gitweb /
doc: more fixes to order-dependent reST errors.
authorVladimír Vondruš <mosra@centrum.cz>
Mon, 26 Nov 2018 11:45:25 +0000 (12:45 +0100)
committerVladimír Vondruš <mosra@centrum.cz>
Mon, 26 Nov 2018 12:30:15 +0000 (13:30 +0100)
doc/css/typography.rst
doc/pelican/theme.rst
doc/plugins/plots-and-graphs.rst

index e6c8e91a4c5ff44cc04c510a171d9580d39eec4d..be326d7c5d8399720c580b18aa0f5032e0d5d72f 100644 (file)
@@ -36,6 +36,8 @@ Typography
     :language: css
 .. role:: html(code)
     :language: html
+.. role:: rst(code)
+    :language: rst
 
 Right after being responsive, typography is the second most important thing in
 m.css. The `m-components.css <{filename}/css.rst>`_ file styles the most often
index 7a84eb707f87bc8d28b64550b17583792f6aa96f..6310f7856e6813e136e93a63015b070311f56a08 100644 (file)
@@ -32,6 +32,8 @@ Theme
 
         `« Writing content <{filename}/pelican/writing-content.rst>`_ | `Pelican <{filename}/pelican.rst>`_
 
+.. role:: py(code)
+    :language: py
 .. role:: rst(code)
     :language: rst
 .. |x| unicode:: U+00D7 .. nicer multiply sign
index fb9ffbef1ed0c81144b311ad2fbcf7b03a581b90..57ce6a70a93870e3163d2b2f0f24f33ab1832705 100644 (file)
@@ -38,6 +38,8 @@ Plots and graphs
     :language: py
 .. role:: rst(code)
     :language: rst
+.. role:: css(code)
+    :language: css
 
 These plugin allow you to render plots and graphs directly from data specified
 inline in the page source. Similarly to `math rendering <{filename}/admire/math.rst>`_,