From 73f3b36fb1beef0479fe54d4ef94f29c0f2cb820 Mon Sep 17 00:00:00 2001 From: Dag Wieers Date: Thu, 25 Jan 2018 23:28:57 +0100 Subject: [PATCH] Fix modules index delimiter and improve readability (#35187) * Fix modules index delimiter and improve readability * Hopefully fixes the links correctly :-/ * Anoteher attempt at this madness --- docs/templates/list_of_CATEGORY_modules.rst.j2 | 4 ++-- docs/templates/list_of_CATEGORY_plugins.rst.j2 | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/templates/list_of_CATEGORY_modules.rst.j2 b/docs/templates/list_of_CATEGORY_modules.rst.j2 index 3323fd5c83..8ce6c5d43e 100644 --- a/docs/templates/list_of_CATEGORY_modules.rst.j2 +++ b/docs/templates/list_of_CATEGORY_modules.rst.j2 @@ -9,7 +9,7 @@ {% if category['_modules'] %} {% for module in category['_modules'] | sort %} - @{ module }@{% if module_info[module]['deprecated'] %} **(D)**{% endif%} - @{ module_info[module]['doc']['short_description'] }@ <@{ module }@_module> + @{ module }@{% if module_info[module]['deprecated'] %} **(D)**{% endif%} -- @{ module_info[module]['doc']['short_description'] }@ <@{ module }@_module> {% endfor %} {% endif %} @@ -21,7 +21,7 @@ {% for module in info['_modules'] | sort %} {# :ref:`@{ module }@`{% if module_info[module]['deprecated'] %} **(D)**{% endif%} @{ module_info[module]['doc']['short_description'] }@ #} - @{ module }@{% if module_info[module]['deprecated'] %} **(D)**{% endif%} @{ module_info[module]['doc']['short_description'] }@ <@{ module }@_module> + @{ module }@{% if module_info[module]['deprecated'] %} **(D)**{% endif%} -- @{ module_info[module]['doc']['short_description'] }@ <@{ module }@_module> {% endfor %} {% endfor %} diff --git a/docs/templates/list_of_CATEGORY_plugins.rst.j2 b/docs/templates/list_of_CATEGORY_plugins.rst.j2 index 064a905b19..27aaea0991 100644 --- a/docs/templates/list_of_CATEGORY_plugins.rst.j2 +++ b/docs/templates/list_of_CATEGORY_plugins.rst.j2 @@ -9,7 +9,7 @@ {% if category['_modules'] %} {% for module in category['_modules'] | sort %} - @{ module }@{% if module_info[module]['deprecated'] %} **(D)**{% endif%}{% if module_info[module]['doc']['short_description'] %} - @{ module_info[module]['doc']['short_description'] }@{% endif %} + @{ module }@{% if module_info[module]['deprecated'] %} **(D)**{% endif%}{% if module_info[module]['doc']['short_description'] %} -- @{ module_info[module]['doc']['short_description'] }@{% endif %} {% endfor %} {% endif %}