Skip to content

Commit

Permalink
simplify doxyrest template
Browse files Browse the repository at this point in the history
  • Loading branch information
jlblancoc committed Feb 16, 2024
1 parent b9ebb3b commit 0fd770e
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions docs/source/doxyrest-frames/cfamily/compound.rst.in
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ""
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 0fd770e

Please sign in to comment.