| 1 |
XSL Parameter Documentation Principle |
| 2 |
------------------------------------- |
| 3 |
- Each parameter is documented through an individual refentry file, like |
| 4 |
the DocBook Project does. These refentries stored unders params/ are the |
| 5 |
sources to maintain. |
| 6 |
|
| 7 |
There were built from the original parameter table (../custom/param.xml) with |
| 8 |
the command: |
| 9 |
|
| 10 |
xsltproc --xinclude ../../tools/param2ref.xsl ../custom/param.xml |
| 11 |
|
| 12 |
Each refentries XIncludes its related synopsis file. The reason of this |
| 13 |
structure (and not putting the synopsis directly in the refentries) is to be |
| 14 |
able to automatically update/sync the synopsis from the XSL stylesheets |
| 15 |
without modifying the refentries. |
| 16 |
|
| 17 |
- The parameter synopsis are stored under the ./syn directory. They are |
| 18 |
automatically produced from the dblatex XSL stylesheets with the following |
| 19 |
command: |
| 20 |
|
| 21 |
../../tools/parambuild ./syn |
| 22 |
|
| 23 |
- params/param.xml is the appendix that groups the whole refentries by |
| 24 |
XIncluding them. This file is currently maintained by hand, but it could be |
| 25 |
possible to build it through scripts. |
| 26 |
|
| 27 |
- the params/param.xml file is XIncluded in the main documentation (manual.xml). |
| 28 |
|