aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCristián Maureira-Fredes <Cristian.Maureira-Fredes@qt.io>2022-04-07 18:02:06 +0200
committerCristián Maureira-Fredes <Cristian.Maureira-Fredes@qt.io>2022-04-08 15:32:58 +0200
commit530cfb8c9fb3a050635577afa5ae23145a3ecc30 (patch)
treeb487c979f47f4b8a4c5a70a824a6d8e7eb5b413e
parent12794ff54b434ed3f06988ca8fe12bce28c63155 (diff)
doc: move toc to the bottom of the module page
Change-Id: Ibdb1eac47c57aef49151c70c18a4e6e2bb4782c1 Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io>
-rw-r--r--sources/shiboken6/generator/qtdoc/qtdocgenerator.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/sources/shiboken6/generator/qtdoc/qtdocgenerator.cpp b/sources/shiboken6/generator/qtdoc/qtdocgenerator.cpp
index fb72fbda4..7617af682 100644
--- a/sources/shiboken6/generator/qtdoc/qtdocgenerator.cpp
+++ b/sources/shiboken6/generator/qtdoc/qtdocgenerator.cpp
@@ -825,8 +825,6 @@ void QtDocGenerator::writeModuleDocumentation()
}
}
- writeFancyToc(s, it.value());
-
s << ".. container:: hide\n\n" << indent
<< ".. toctree::\n" << indent
<< ":maxdepth: 1\n\n";
@@ -853,6 +851,11 @@ void QtDocGenerator::writeModuleDocumentation()
s << moduleDoc.detailed();
}
}
+
+ s << "List of Classes\n";
+ s << "---------------\n\n";
+ writeFancyToc(s, it.value());
+
output.done();
}
}