From: Vladimír Vondruš Date: Sat, 29 Dec 2018 11:24:01 +0000 (+0100) Subject: doc: fixes for order-dependent RST parsing errors. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~cjwatson/git?a=commitdiff_plain;h=1d7061a6fc29190afe684b90dc60f19a5fb9610f;p=blog.git doc: fixes for order-dependent RST parsing errors. --- diff --git a/doc/css/components.rst b/doc/css/components.rst index 423f641f..9ce649ec 100644 --- a/doc/css/components.rst +++ b/doc/css/components.rst @@ -36,6 +36,8 @@ Components :language: css .. role:: html(code) :language: html +.. role:: rst(code) + :language: rst In `m-components.css <{filename}/css.rst>`_, m.css provides a set of basic components for further improving the layout and display of authored content. diff --git a/doc/plugins/links.rst b/doc/plugins/links.rst index c78c2a8a..dc6125bc 100644 --- a/doc/plugins/links.rst +++ b/doc/plugins/links.rst @@ -32,6 +32,8 @@ Links and other `« Plots and graphs <{filename}/plugins/plots-and-graphs.rst>`_ | `Pelican plugins <{filename}/plugins.rst>`_ | `Metadata » <{filename}/plugins/metadata.rst>`_ +.. role:: html(code) + :language: html .. role:: py(code) :language: py .. role:: rst(code)