Improve indexing.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@11998 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-Macdonald 2002-01-05 09:54:28 +00:00
parent 589424ab9d
commit 70688d1483
4 changed files with 14 additions and 4 deletions

View file

@ -3,10 +3,13 @@
* Tools/autogsdoc.m: Simplify by removing SourceDirectory default.
Change mechanism for handling multiple source files for one header
(need capability to write dependency rules for make).
* Tools/AGSPasrser.[hm]: Add mechanism to return list of source
* Tools/AGSParser.[hm]: Add mechanism to return list of source
files on which a document depends.
* Tools/gsdoc-0_6_7.dtd: Permit wider use of index element.
* Tools/AGSHtml.m: ditto
* Source/GNUmakefile (Base_AGSDOC_FLAGS): Remove the SourceDirectory
option ... now assumed to be the current directory for simplicity.
* Source/Base.gsdoc: Add class and protocol indexes.
2002-01-04 Richard Frith-Macdonald <rfm@gnu.org>

View file

@ -18,6 +18,7 @@
the API of the OpenStep Foundation Kit (tm), including later
additions.
</p>
<index scope="project" type="title" />
<section>
<heading>Compatibility</heading>
<p>
@ -298,7 +299,8 @@
</section>
</chapter>
<back>
<index scope="project" type="title" />
<index scope="project" type="class" />
<index scope="project" type="protocol" />
</back>
</body>
</gsdoc>

View file

@ -1266,6 +1266,11 @@ NSLog(@"Element '%@' not implemented", name); // FIXME
NSLog(@"Element 'embed' not supported");
return [node next];
}
else if ([n isEqual: @"index"] == YES)
{
[self outputNode: node to: buf];
return [node next];
}
else if ([textNodes member: n] != nil)
{
[buf appendString: indent];

View file

@ -69,10 +69,10 @@
<!ENTITY % list "list | enum | deflist | qalist | dictionary">
<!-- Entity for block level elements. -->
<!ENTITY % block "%text; | %list; | p | example | embed">
<!ENTITY % block "%text; | %list; | p | example | embed | index">
<!-- Entity for definition elements and blocks. -->
<!ENTITY % defblock "%list; | p | example | embed | class | category | protocol | function | macro | type | variable | constant | EOModel | EOEntity">
<!ENTITY % defblock "%list; | p | example | embed | index | class | category | protocol | function | macro | type | variable | constant | EOModel | EOEntity">
<!--**********-->