From: Vladimír Vondruš Date: Mon, 26 Nov 2018 11:45:25 +0000 (+0100) Subject: doc: more fixes to order-dependent reST errors. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~cjwatson/git?a=commitdiff_plain;h=fc349679b236ce69367c39f45d008e9ecef66e1b;p=blog.git doc: more fixes to order-dependent reST errors. --- diff --git a/doc/css/typography.rst b/doc/css/typography.rst index e6c8e91a..be326d7c 100644 --- a/doc/css/typography.rst +++ b/doc/css/typography.rst @@ -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 diff --git a/doc/pelican/theme.rst b/doc/pelican/theme.rst index 7a84eb70..6310f785 100644 --- a/doc/pelican/theme.rst +++ b/doc/pelican/theme.rst @@ -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 diff --git a/doc/plugins/plots-and-graphs.rst b/doc/plugins/plots-and-graphs.rst index fb9ffbef..57ce6a70 100644 --- a/doc/plugins/plots-and-graphs.rst +++ b/doc/plugins/plots-and-graphs.rst @@ -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>`_,