[GRASS-SVN] r36435 - grass/branches/releasebranch_6_4
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Mar 20 08:42:35 EDT 2009
Author: neteler
Date: 2009-03-20 08:42:35 -0400 (Fri, 20 Mar 2009)
New Revision: 36435
Modified:
grass/branches/releasebranch_6_4/SUBMITTING_DOCS
Log:
say how the docs are handled and generated
Modified: grass/branches/releasebranch_6_4/SUBMITTING_DOCS
===================================================================
--- grass/branches/releasebranch_6_4/SUBMITTING_DOCS 2009-03-20 12:42:27 UTC (rev 36434)
+++ grass/branches/releasebranch_6_4/SUBMITTING_DOCS 2009-03-20 12:42:35 UTC (rev 36435)
@@ -13,6 +13,24 @@
[ see SUBMITTING_PYTHON for Python code hints ]
+0. Introduction
+
+ There are two types of documentation
+ - Libraries programmers docs: we use doxygen and document the functions
+ directly in the source code. See lib/*/*.c and lib/*/*.dox for examples
+
+ - User manual: we write it in simple HTML, storing the manual in a
+ file "description.html" within the subdirectory of the module.
+ The file contains no header nor footer. The complete HTML file is
+ autogenerated during the compilation process (indeed, it is generated
+ in a virtual session directly after compilation of the module).
+ In this virtual session the module is called internally with
+ --html-description which generates the parameters/flags list in
+ HTML format, along with "description.html", HTML header and footer
+ the final HTML manual page is created and stored in the target
+ binaries directory. In a separate process the MAN format is
+ generated from the complete HTML files.
+
1. Editing of HTML pages
To avoid insertion of too complicated HTML tags (see also below),
we strongly suggest to use a plain text editor rather than a
More information about the grass-commit
mailing list