mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-29 16:01:38 +00:00
Improve documentation generation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@12399 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
1e3a06a03c
commit
7598cbd971
10 changed files with 187 additions and 48 deletions
|
@ -246,7 +246,7 @@
|
|||
items in this project.
|
||||
</item>
|
||||
<item><strong>Projects</strong>
|
||||
This value may be supplies as a dictionary containing the paths to
|
||||
This value may be supplied as a dictionary containing the paths to
|
||||
the igsdoc index/reference files used by external projects, along
|
||||
with values to be used to map the filenames found in the indexes.<br />
|
||||
For example, if a project index (igsdoc) file says that the class
|
||||
|
@ -289,6 +289,13 @@
|
|||
If this is missing or set to an empty string, then no 'up' link
|
||||
will be provided in the documents.
|
||||
</item>
|
||||
<item><strong>WordMap</strong>
|
||||
This value is a dictionary used to map identifiers/keywords found
|
||||
in the source files to other words. Generally you will not have
|
||||
to use this, but it is sometimes helpful to avoid the parser being
|
||||
confused by the use of C preprocessor macros. You can effectively
|
||||
redefine the macro to something less confusing.
|
||||
</item>
|
||||
</list>
|
||||
<section>
|
||||
<heading>Inter-document linkage</heading>
|
||||
|
@ -430,9 +437,12 @@ main(int argc, char **argv, char **env)
|
|||
gFiles = [NSMutableArray array];
|
||||
hFiles = [NSMutableArray array];
|
||||
count = [files count];
|
||||
NSLog(@"Proc ... %@", proc);
|
||||
NSLog(@"Name ... %@", [proc processName]);
|
||||
NSLog(@"Files ... %@", files);
|
||||
if (verbose == YES)
|
||||
{
|
||||
NSLog(@"Proc ... %@", proc);
|
||||
NSLog(@"Name ... %@", [proc processName]);
|
||||
NSLog(@"Files ... %@", files);
|
||||
}
|
||||
for (i = 1; i < count; i++)
|
||||
{
|
||||
NSString *arg = [files objectAtIndex: i];
|
||||
|
@ -484,6 +494,8 @@ NSLog(@"Files ... %@", files);
|
|||
pool = [NSAutoreleasePool new];
|
||||
|
||||
parser = [AGSParser new];
|
||||
[parser setWordMap: [defs dictionaryForKey: @"WordMap"]];
|
||||
[parser setVerbose: verbose];
|
||||
output = [AGSOutput new];
|
||||
if ([defs boolForKey: @"Standards"] == YES)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue