From 1cfa34f18c39ab2b50b307067085b6a3e709b438 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Tue, 19 Dec 2017 20:31:42 +0100 Subject: [PATCH] doc: fix links and dependencies of code/math plugins. --- doc/plugins.rst | 4 ++-- doc/plugins/math-and-code.rst | 16 ++++++++-------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/doc/plugins.rst b/doc/plugins.rst index 59bb21f9..0ed4f5f3 100644 --- a/doc/plugins.rst +++ b/doc/plugins.rst @@ -43,8 +43,8 @@ and restart Pelican. Download the plugins below or - :gh:`m.htmlsanity ` - :gh:`m.components ` - :gh:`m.images ` -- :gh:`m.math ` (needs also :gh:`latex2svg `), - :gh:`m.code ` +- :gh:`m.math ` (needs also :gh:`latex2svg `), + :gh:`m.code ` (needs also :gh:`ansilexer `) - :gh:`m.gh `, :gh:`m.dox `, :gh:`m.gl `, diff --git a/doc/plugins/math-and-code.rst b/doc/plugins/math-and-code.rst index c1f9ae8c..95d28568 100644 --- a/doc/plugins/math-and-code.rst +++ b/doc/plugins/math-and-code.rst @@ -50,10 +50,10 @@ rendering directly from your :abbr:`reST ` sources. `Math`_ ======= -Download the `m/math.py and m/latex2svg.py <{filename}/plugins.rst>`_ files, -put them including the ``m/`` directory into one of your :py:`PLUGIN_PATHS` and -add :py:`m.math` package to your :py:`PLUGINS` in ``pelicanconf.py``. This -plugin assumes presence of `m.htmlsanity <{filename}/plugins/htmlsanity.rst>`_. +Download the `m/math.py and latex2svg.py <{filename}/plugins.rst>`_ files, put +them including the ``m/`` directory into one of your :py:`PLUGIN_PATHS` and add +:py:`m.math` package to your :py:`PLUGINS` in ``pelicanconf.py``. This plugin +assumes presence of `m.htmlsanity <{filename}/plugins/htmlsanity.rst>`_. .. note-danger:: @@ -149,10 +149,10 @@ want to add additional CSS classes, derive a custom role from it. `Code`_ ======= -Download the `m/code.py <{filename}/plugins.rst>`_ file, put it including the -``m/`` directory into one of your :py:`PLUGIN_PATHS` and add :py:`m.code` -package to your :py:`PLUGINS` in ``pelicanconf.py``. This plugin assumes -presence of `m.htmlsanity <{filename}/plugins/htmlsanity.rst>`_. +Download the `m/code.py and ansilexer.py <{filename}/plugins.rst>`_ files, put +them including the ``m/`` directory into one of your :py:`PLUGIN_PATHS` and add +:py:`m.code` package to your :py:`PLUGINS` in ``pelicanconf.py``. This plugin +assumes presence of `m.htmlsanity <{filename}/plugins/htmlsanity.rst>`_. .. code:: python -- 2.30.2