mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-03 21:31:00 +00:00
Minor documentation tidyups.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@14487 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
f42f0e693c
commit
e57b819002
3 changed files with 68 additions and 4 deletions
|
@ -1,3 +1,11 @@
|
||||||
|
2002-09-19 Richard Frith-Macdonald <rfm@gnu.org>
|
||||||
|
|
||||||
|
* Source/DocMakefile: Specify template options
|
||||||
|
* Tools/autogsdoc.m: Remove hack to turn templates on by default.
|
||||||
|
Document the use of templates.
|
||||||
|
* Tools/gsdoc-0_6_7.dtd: Hack in more types for indexing ... don't
|
||||||
|
know if the software works for them though.
|
||||||
|
|
||||||
2002-09-17 Richard Frith-Macdonald <rfm@gnu.org>
|
2002-09-17 Richard Frith-Macdonald <rfm@gnu.org>
|
||||||
|
|
||||||
* Source/Unicode.m: Restructure conversion from unicode slightly,
|
* Source/Unicode.m: Restructure conversion from unicode slightly,
|
||||||
|
|
|
@ -109,6 +109,10 @@ Base_AGSDOC_FLAGS = \
|
||||||
-HeaderDirectory ../Headers/Foundation \
|
-HeaderDirectory ../Headers/Foundation \
|
||||||
-Declared Foundation \
|
-Declared Foundation \
|
||||||
-Standards YES \
|
-Standards YES \
|
||||||
|
-ConstantsTemplate TypesAndConstants \
|
||||||
|
-FunctionsTemplate Functions \
|
||||||
|
-TypedefsTemplate TypesAndConstants \
|
||||||
|
- VariablesTemplate TypesAndConstants \
|
||||||
-WordMap '{\
|
-WordMap '{\
|
||||||
FOUNDATION_EXPORT=extern;FOUNDATION_STATIC_INLINE="";\
|
FOUNDATION_EXPORT=extern;FOUNDATION_STATIC_INLINE="";\
|
||||||
GS_GEOM_SCOPE=extern;GS_GEOM_ATTR="";\
|
GS_GEOM_SCOPE=extern;GS_GEOM_ATTR="";\
|
||||||
|
|
|
@ -194,6 +194,20 @@
|
||||||
supplied as command-line arguments as usual) -
|
supplied as command-line arguments as usual) -
|
||||||
</p>
|
</p>
|
||||||
<list>
|
<list>
|
||||||
|
<item><strong>ConstantsTemplate</strong>
|
||||||
|
Specify the name of a template document into which documentation
|
||||||
|
about constants should be inserted from all files in the project.<br />
|
||||||
|
This is useful if constanr in the source code are scattered around many
|
||||||
|
files, and you need to group them into one place.<br />
|
||||||
|
You are responsible for ensuring that the basic template document
|
||||||
|
(into which individual constant documentation is inserted) contains
|
||||||
|
all the other information you want, but as a conveniencem autogsdoc
|
||||||
|
will generate a simple template (which you may then edit) for you
|
||||||
|
if the file does not exist.
|
||||||
|
<br />Insertion takes place immediately before the <em>back</em>
|
||||||
|
element (or if that does not exist, immediately before the end
|
||||||
|
of the <em>body</em> lement) in the template.
|
||||||
|
</item>
|
||||||
<item><strong>Declared</strong>
|
<item><strong>Declared</strong>
|
||||||
Specify where headers are to be documented as being found.<br />
|
Specify where headers are to be documented as being found.<br />
|
||||||
The actual name produced in the documentation is formed by appending
|
The actual name produced in the documentation is formed by appending
|
||||||
|
@ -218,6 +232,20 @@
|
||||||
is placed in the current directory. This directory is also
|
is placed in the current directory. This directory is also
|
||||||
used as a last resort to locate source files (not headers).
|
used as a last resort to locate source files (not headers).
|
||||||
</item>
|
</item>
|
||||||
|
<item><strong>FunctionsTemplate</strong>
|
||||||
|
Specify the name of a template document into which documentation
|
||||||
|
about functions should be inserted from all files in the project.<br />
|
||||||
|
This is useful if function source code is scattered around many
|
||||||
|
files, and you need to group it into one place.<br />
|
||||||
|
You are responsible for ensuring that the basic template document
|
||||||
|
(into which individual function documentation is inserted) contains
|
||||||
|
all the other information you want, but as a conveniencem autogsdoc
|
||||||
|
will generate a simple template (which you may then edit) for you
|
||||||
|
if the file does not exist.
|
||||||
|
<br />Insertion takes place immediately before the <em>back</em>
|
||||||
|
element (or if that does not exist, immediately before the end
|
||||||
|
of the <em>body</em> lement) in the template.
|
||||||
|
</item>
|
||||||
<item><strong>GenerateHtml</strong>
|
<item><strong>GenerateHtml</strong>
|
||||||
May be used to specify if HTML output is to be generated.
|
May be used to specify if HTML output is to be generated.
|
||||||
Defaults to YES.
|
Defaults to YES.
|
||||||
|
@ -301,6 +329,20 @@
|
||||||
If you wish to include such projects, you must do so explicitly
|
If you wish to include such projects, you must do so explicitly
|
||||||
using <em>-Projects</em>
|
using <em>-Projects</em>
|
||||||
</item>
|
</item>
|
||||||
|
<item><strong>TypedefsTemplate</strong>
|
||||||
|
Specify the name of a template document into which documentation
|
||||||
|
about typedefs should be inserted from all files in the project.<br />
|
||||||
|
This is useful if typedef source code is scattered around many
|
||||||
|
files, and you need to group it into one place.<br />
|
||||||
|
You are responsible for ensuring that the basic template document
|
||||||
|
(into which individual typedef documentation is inserted) contains
|
||||||
|
all the other information you want, but as a conveniencem autogsdoc
|
||||||
|
will generate a simple template (which you may then edit) for you
|
||||||
|
if the file does not exist.
|
||||||
|
<br />Insertion takes place immediately before the <em>back</em>
|
||||||
|
element (or if that does not exist, immediately before the end
|
||||||
|
of the <em>body</em> lement) in the template.
|
||||||
|
</item>
|
||||||
<item><strong>Up</strong>
|
<item><strong>Up</strong>
|
||||||
A string used to supply the name to be used in the 'up' link from
|
A string used to supply the name to be used in the 'up' link from
|
||||||
generated gsdoc documents. This should normally be the name of a
|
generated gsdoc documents. This should normally be the name of a
|
||||||
|
@ -308,6 +350,20 @@
|
||||||
If this is missing or set to an empty string, then no 'up' link
|
If this is missing or set to an empty string, then no 'up' link
|
||||||
will be provided in the documents.
|
will be provided in the documents.
|
||||||
</item>
|
</item>
|
||||||
|
<item><strong>VariablesTemplate</strong>
|
||||||
|
Specify the name of a template document into which documentation
|
||||||
|
about variables should be inserted from all files in the project.<br />
|
||||||
|
This is useful if variable source code is scattered around many
|
||||||
|
files, and you need to group it into one place.<br />
|
||||||
|
You are responsible for ensuring that the basic template document
|
||||||
|
(into which individual variable documentation is inserted) contains
|
||||||
|
all the other information you want, but as a conveniencem autogsdoc
|
||||||
|
will generate a simple template (which you may then edit) for you
|
||||||
|
if the file does not exist.
|
||||||
|
<br />Insertion takes place immediately before the <em>back</em>
|
||||||
|
element (or if that does not exist, immediately before the end
|
||||||
|
of the <em>body</em> lement) in the template.
|
||||||
|
</item>
|
||||||
<item><strong>WordMap</strong>
|
<item><strong>WordMap</strong>
|
||||||
This value is a dictionary used to map identifiers/keywords found
|
This value is a dictionary used to map identifiers/keywords found
|
||||||
in the source files to other words. Generally you will not have
|
in the source files to other words. Generally you will not have
|
||||||
|
@ -410,10 +466,6 @@ main(int argc, char **argv, char **env)
|
||||||
defs = [NSUserDefaults standardUserDefaults];
|
defs = [NSUserDefaults standardUserDefaults];
|
||||||
[defs registerDefaults: [NSDictionary dictionaryWithObjectsAndKeys:
|
[defs registerDefaults: [NSDictionary dictionaryWithObjectsAndKeys:
|
||||||
@"Untitled", @"Project",
|
@"Untitled", @"Project",
|
||||||
@"TypesAndConstants", @"ConstantsTemplate",
|
|
||||||
@"Functions", @"FunctionsTemplate",
|
|
||||||
@"TypesAndConstants", @"TypedefsTemplate",
|
|
||||||
@"TypesAndConstants", @"VariablesTemplate",
|
|
||||||
nil]];
|
nil]];
|
||||||
|
|
||||||
verbose = [defs boolForKey: @"Verbose"];
|
verbose = [defs boolForKey: @"Verbose"];
|
||||||
|
|
Loading…
Reference in a new issue