Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "OAW Documentation"
(New page: == Writing oAW Documentation == Originally, oAW documentation has been written using OpenOffice and exported to PDF for end user convenience. Starting in March 2007, we're converting all d...) |
(→Writing oAW Documentation) |
||
Line 1: | Line 1: | ||
== Writing oAW Documentation == | == Writing oAW Documentation == | ||
Originally, oAW documentation has been written using OpenOffice and exported to PDF for end user convenience. Starting in March 2007, we're converting all documents to DocBook which gives us the tremendous benefit of creating both PDF documentation for printing purposes and Eclipse online help from one source (single-source publishing). | Originally, oAW documentation has been written using OpenOffice and exported to PDF for end user convenience. Starting in March 2007, we're converting all documents to DocBook which gives us the tremendous benefit of creating both PDF documentation for printing purposes and Eclipse online help from one source (single-source publishing). | ||
+ | |||
+ | === Prerequisites === | ||
+ | Here's what you need to create DocBook documentation: | ||
+ | * Your favourite XML editor. You might want to try [http://www.eclipse.org/webtools/main.php Eclipse WTP]. | ||
+ | * The ''documentation'' subproject of oAW. Get it from our developer [http://www.openarchitectureware.org/staticpages/index.php/cvs_archive CVS]. | ||
+ | ** This projects contains all source files, | ||
+ | ** DocBook XSL transformation and stylesheets, | ||
+ | ** DocBook DocBook DTD | ||
+ | ** and an ANT build script to compile the documentation | ||
+ | |||
+ | === Writing === | ||
+ | # After you have checked out the ''documentation'' project, | ||
+ | # navigate to the documentation/docbook-src/oaw4.1 folder | ||
+ | |||
+ | The ''index.xml'' file is the documentation root and contains includes for all subdocuments. | ||
+ | |||
+ | ==== Adding a new cahpter to the documentation ==== | ||
+ | If you want to add a new chapter, | ||
+ | # create a new XML document similar to ''gettingstarted-emf_tutorial.xml'' | ||
+ | # and add an Entity import to the ''index.xml'' file (<!ENTITY gettingstarted-emf_tutorial SYSTEM "gettingstarted-emf_tutorial.xml">) | ||
+ | |||
+ | |||
+ | ==== Compiling ==== | ||
+ | In order to convert your DocBook XML into a PDF and Eclipse Online Help: | ||
+ | # select ''build-docbook.xml'' | ||
+ | # run it as an ANT file | ||
+ | The PDF will be written to ''documentation/pdf/oaw4.1'', the Eclipse Online Help will be created in a separate project (''org.openarchitectureware.help.userguide'', please make sure you've checked out this project from CVS before generating DocBook). |
Revision as of 16:55, 4 April 2007
Contents
Writing oAW Documentation
Originally, oAW documentation has been written using OpenOffice and exported to PDF for end user convenience. Starting in March 2007, we're converting all documents to DocBook which gives us the tremendous benefit of creating both PDF documentation for printing purposes and Eclipse online help from one source (single-source publishing).
Prerequisites
Here's what you need to create DocBook documentation:
- Your favourite XML editor. You might want to try Eclipse WTP.
- The documentation subproject of oAW. Get it from our developer CVS.
- This projects contains all source files,
- DocBook XSL transformation and stylesheets,
- DocBook DocBook DTD
- and an ANT build script to compile the documentation
Writing
- After you have checked out the documentation project,
- navigate to the documentation/docbook-src/oaw4.1 folder
The index.xml file is the documentation root and contains includes for all subdocuments.
Adding a new cahpter to the documentation
If you want to add a new chapter,
- create a new XML document similar to gettingstarted-emf_tutorial.xml
- and add an Entity import to the index.xml file (<!ENTITY gettingstarted-emf_tutorial SYSTEM "gettingstarted-emf_tutorial.xml">)
Compiling
In order to convert your DocBook XML into a PDF and Eclipse Online Help:
- select build-docbook.xml
- run it as an ANT file
The PDF will be written to documentation/pdf/oaw4.1, the Eclipse Online Help will be created in a separate project (org.openarchitectureware.help.userguide, please make sure you've checked out this project from CVS before generating DocBook).