From fc349679b236ce69367c39f45d008e9ecef66e1b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Mon, 26 Nov 2018 12:45:25 +0100 Subject: [PATCH] doc: more fixes to order-dependent reST errors. --- doc/css/typography.rst | 2 ++ doc/pelican/theme.rst | 2 ++ doc/plugins/plots-and-graphs.rst | 2 ++ 3 files changed, 6 insertions(+) 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>`_, -- 2.30.2