From c0cc6453bc922d3bad6e7531302844639ea6ee4e Mon Sep 17 00:00:00 2001 From: rfm Date: Mon, 21 Oct 2024 21:14:52 +0100 Subject: [PATCH] Add index section header info --- Tools/AGSHtml.m | 28 +++++++++++++++++++++------- 1 file changed, 21 insertions(+), 7 deletions(-) diff --git a/Tools/AGSHtml.m b/Tools/AGSHtml.m index ad2e6b9f3..3e884ba11 100644 --- a/Tools/AGSHtml.m +++ b/Tools/AGSHtml.m @@ -1383,7 +1383,9 @@ static NSMutableSet *textNodes = nil; [self incIndent]; [buf appendString: indent]; - [buf appendString: @"Classes\n"]; + [buf appendString: @"

"]; + [buf appendString: @"Classes"]; + [buf appendString: @"

\n"]; [self outputIndex: @"class" scope: @"project" title: @"Project classes" @@ -1392,8 +1394,10 @@ static NSMutableSet *textNodes = nil; to: buf]; [buf appendString: indent]; + [buf appendString: @"

"]; [buf appendString: - @"Protocols\n"]; + @"Protocols"]; + [buf appendString: @"

\n"]; [self outputIndex: @"protocol" scope: @"project" title: @"Project protocols" @@ -1402,8 +1406,10 @@ static NSMutableSet *textNodes = nil; to: buf]; [buf appendString: indent]; + [buf appendString: @"

"]; [buf appendString: - @"Constants\n"]; + @"Constants"]; + [buf appendString: @"

\n"]; [self outputIndex: @"constant" scope: @"project" title: @"Project constants" @@ -1412,8 +1418,10 @@ static NSMutableSet *textNodes = nil; to: buf]; [buf appendString: indent]; + [buf appendString: @"

"]; [buf appendString: - @"Functions\n"]; + @"Functions"]; + [buf appendString: @"

\n"]; [self outputIndex: @"function" scope: @"project" title: @"Project functions" @@ -1422,8 +1430,10 @@ static NSMutableSet *textNodes = nil; to: buf]; [buf appendString: indent]; + [buf appendString: @"

"]; [buf appendString: - @"Macros\n"]; + @"Macros"]; + [buf appendString: @"

\n"]; [self outputIndex: @"macro" scope: @"project" title: @"Project macros" @@ -1432,7 +1442,9 @@ static NSMutableSet *textNodes = nil; to: buf]; [buf appendString: indent]; - [buf appendString: @"Types\n"]; + [buf appendString: @"

"]; + [buf appendString: @"Types"]; + [buf appendString: @"

\n"]; [self outputIndex: @"type" scope: @"project" title: @"Project types" @@ -1441,7 +1453,9 @@ static NSMutableSet *textNodes = nil; to: buf]; [buf appendString: indent]; - [buf appendString: @"Variables\n"]; + [buf appendString: @"

"]; + [buf appendString: @"Variables"]; + [buf appendString: @"

\n"]; [self outputIndex: @"variable" scope: @"project" title: @"Project variables"