From 4c4406b2df3eb23ae0015067fa8c026777cd961e Mon Sep 17 00:00:00 2001 From: Matt Martz Date: Wed, 13 May 2020 21:14:53 -0500 Subject: Flatten the directory hierarchy of modules (#68966) * Flatten the directory hierarchy of modules * Update ignore.txt, flatten units * Update imports * Completely flatten the modules directory * Update sanity ignore * Fix some sanity test ignores * Fix relative import * Fix docs builds without category * ci_complete * Clean up docs. ci_complete * Adjust needs/file alias * ci_complete * fix hardcoded ping module paths Co-authored-by: Matt Davis --- docs/templates/modules_by_category.rst.j2 | 3 +++ 1 file changed, 3 insertions(+) (limited to 'docs/templates/modules_by_category.rst.j2') diff --git a/docs/templates/modules_by_category.rst.j2 b/docs/templates/modules_by_category.rst.j2 index 0b8f4d0d28..7763528448 100644 --- a/docs/templates/modules_by_category.rst.j2 +++ b/docs/templates/modules_by_category.rst.j2 @@ -10,5 +10,8 @@ Module Index .. toctree:: :maxdepth: 1 {% for name in categories %} +{# strip out empty category names as a result flattening the dir structure #} +{% if name %} list_of_@{ name }@_modules +{% endif %} {% endfor %} -- cgit v1.2.1