From 0fd770ea20baa052b25220af444fa02699baa867 Mon Sep 17 00:00:00 2001 From: Jose Luis Blanco Claraco Date: Fri, 16 Feb 2024 23:42:53 +0100 Subject: [PATCH] simplify doxyrest template --- .../doxyrest-frames/cfamily/compound.rst.in | 24 ------------------- 1 file changed, 24 deletions(-) diff --git a/docs/source/doxyrest-frames/cfamily/compound.rst.in b/docs/source/doxyrest-frames/cfamily/compound.rst.in index 7c9589de..2e2c8d8f 100644 --- a/docs/source/doxyrest-frames/cfamily/compound.rst.in +++ b/docs/source/doxyrest-frames/cfamily/compound.rst.in @@ -40,25 +40,12 @@ local compoundStats = prepareCompound(compound) } $(getCompoundTocTree(compound)) -%{ -local hasDetails = - compoundStats.hasDocumentedItems or - compoundStats.hasBriefDocumentation and compoundStats.hasDetailedDocumentation - -if hasDetails then -} Overview ~~~~~~~~ -$(getItemBriefDocumentation(compound)) - -%{ -else -} $(getItemDetailedDocumentation(compound)) %{ -end -- if if #compound.groupArray > 0 or compound.hasGlobalNamespace then local groupTree = "" @@ -87,17 +74,6 @@ if compoundStats.hasItems or includeFile("overview_compound.rst.in", compound, variableSectionName, functionSectionName) end -if hasDetails then -} -.. _details-$(compound.id): - -Detailed Documentation -~~~~~~~~~~~~~~~~~~~~~~ - -$(getItemDetailedDocumentation(compound)) - -%{ -end -- if if compoundStats.hasDocumentedUnnamedEnumValues then includeFile("details_unnamed_enum_values.rst.in", compound)