mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
Some documentation improvements
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@6748 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
4dfaca8b6a
commit
f040bd1c6a
8 changed files with 1045 additions and 120 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE gsdoc PUBLIC "-//GNUstep//DTD gsdoc 0.6.5//EN" "http://www.gnustep.org/gsdoc-0_6_5.xml">
|
||||
<!DOCTYPE gsdoc PUBLIC "-//GNUstep//DTD gsdoc 0.6.6//EN" "http://www.gnustep.org/gsdoc-0_6_6.xml">
|
||||
<gsdoc base="gsdoc">
|
||||
<head>
|
||||
<title>GNUstep Documentation XML markup language (GSDoc)</title>
|
||||
|
@ -10,8 +10,8 @@
|
|||
A person who has devotes far too much time to GNUstep development.
|
||||
</desc>
|
||||
</author>
|
||||
<version>0.1</version>
|
||||
<date>4 march, 2000</date>
|
||||
<version>0.2</version>
|
||||
<date>21 June, 2000</date>
|
||||
<abstract>
|
||||
This documents the GNUstep Documentation markup language and tools
|
||||
</abstract>
|
||||
|
@ -118,8 +118,8 @@
|
|||
</p>
|
||||
<example>
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE gsdoc PUBLIC "-//GNUstep//DTD gsdoc 0.6.5//EN" "http://www.gnustep.org/gsdoc-0_6_5.xml">
|
||||
<gsdoc base="MyDoc" prev="First.html" next="Last.html" up="Overview.html">
|
||||
<!DOCTYPE gsdoc PUBLIC "-//GNUstep//DTD gsdoc 0.6.6//EN" "http://www.gnustep.org/gsdoc-0_6_6.xml">
|
||||
<gsdoc base="MyDoc" prev="First" next="Last" up="Overview">
|
||||
<head>
|
||||
... your document head here
|
||||
</head>
|
||||
|
@ -184,22 +184,22 @@
|
|||
document head that must be present.
|
||||
</p>
|
||||
<example>
|
||||
<head>
|
||||
<title>GNUstep Documentation XML markup language (GSDoc)</title>
|
||||
<author name="Richard Frith-Macdonald">
|
||||
<email address="rfm@gnu.org"/>
|
||||
<url url="http://www.gnustep.org/developers/whoiswho.html"/>
|
||||
<desc>
|
||||
A person who has devotes far too much time to GNUstep development.
|
||||
</desc>
|
||||
</author>
|
||||
<version>0.1</version>
|
||||
<date>4 march, 2000</date>
|
||||
<abstract>
|
||||
This documents the GNUstep Documentation markup language and tools
|
||||
</abstract>
|
||||
<copy>Free Software Foundation, Inc.</copy>
|
||||
</head>
|
||||
<head>
|
||||
<title>GNUstep Documentation XML markup language (GSDoc)</title>
|
||||
<author name="Richard Frith-Macdonald">
|
||||
<email address="rfm@gnu.org"/>
|
||||
<url url="http://www.gnustep.org/developers/whoiswho.html"/>
|
||||
<desc>
|
||||
A person who has devotes far too much time to GNUstep development.
|
||||
</desc>
|
||||
</author>
|
||||
<version>0.1</version>
|
||||
<date>4 march, 2000</date>
|
||||
<abstract>
|
||||
This documents the GNUstep Documentation markup language and tools
|
||||
</abstract>
|
||||
<copy>Free Software Foundation, Inc.</copy>
|
||||
</head>
|
||||
</example>
|
||||
<p>
|
||||
The above example shows all the elements possible in a document head -
|
||||
|
@ -250,6 +250,63 @@
|
|||
parts of the document would be expected to have their own separate
|
||||
page numbering schemes.
|
||||
</p>
|
||||
<example>
|
||||
<body>
|
||||
<front>
|
||||
<contents/>
|
||||
<chapter>
|
||||
<heading>Preface</heading>
|
||||
<p>
|
||||
Here is an introductory chapter for a dummy document.
|
||||
</p>
|
||||
</chapter>
|
||||
</front>
|
||||
<chapter>
|
||||
<heading>Main text</heading>
|
||||
<p>
|
||||
Here is the main text of a chapter in the document.
|
||||
</p>
|
||||
</chapter>
|
||||
<back>
|
||||
<chapter>
|
||||
<heading>Afterword</heading>
|
||||
<p>
|
||||
Adn after the main part of the doucment we can have some other stuff.
|
||||
</p>
|
||||
</chapter>
|
||||
<index type="class"/>
|
||||
</back>
|
||||
</body>
|
||||
</example>
|
||||
<p>
|
||||
The above example shows all the elements possible in a document body -
|
||||
</p>
|
||||
<deflist>
|
||||
<term><label id="title">front</label></term>
|
||||
<desc>
|
||||
This is an optional part of the document that can come before the
|
||||
main text. Typically, this could be used to contain an automatically
|
||||
generated contents page and possibly an introduction.
|
||||
When output is generated in book form, this part of the document
|
||||
would probably have a different page numbering scheme from the
|
||||
main part.
|
||||
</desc>
|
||||
<term><label id="chapter">chapter</label></term>
|
||||
<desc>
|
||||
<p>
|
||||
After the <em>front</em> part of the document body comes a
|
||||
mandatory sequence of one or more chapters. This is where
|
||||
the main part of the document resides.
|
||||
</p>
|
||||
</desc>
|
||||
<term><label id="back">back</label></term>
|
||||
<desc>
|
||||
After the chapters making up the main part of the body of the
|
||||
document is an optional <em>back</em> part which may contain
|
||||
chapters (such as appendices) possibly followed by an automatically
|
||||
generated index.
|
||||
</desc>
|
||||
</deflist>
|
||||
</section>
|
||||
</chapter>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue