Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Section
Column
width40%
Panel
borderColor#97A0A9
bgColor#F8FCFF
titleBGColor#F2F8FF
titleContents
borderStyledashed
Table of Contents
maxLevel4
minLevel2
outlinefalse
Column
 

 

DocBook as OLE help - pdf, html, webhelp

  1. Peri worked with Jeff to add the documents to SVN. See Developing Rice DocBook Documentation
    (Kuali OLE followed Rice and is currently using the DocBook 5 format for documentation and the docbkx-maven plugin to generate the documentation as part of our maven build.)
    The difference between OLE and Rice documentation is that OLE has decided to use Webhelp output for our documentation whereas Rice uses only HTML.  See the plugin documentation here: http://docbkx-tools.sourceforge.net/docbkx-maven-plugin/plugin-info.html.
  2. Needed to change the image

    file references to

    links.  <Inlinemediaobject> is for images that occur within text.  <screenshot><mediaobject> is for images that occur on their own line, separated from the text.
    Example:

    Code Block
    <inlinemediaobject>
                            <alt>Location Level</alt>
                            <imageobject>
                                <imagedata fileref="../images/
    filename.png and reference files to ../html/linkname
    DescribeNoTitlePage-178.png"/>
                            </imageobject>
                        </inlinemediaobject>
    Or
    <screenshot><mediaobject>
                                <alt>Location Level Document</alt>
                                <imageobject>
                                    <imagedata fileref="../images/DescribeNoTitlePage-179.png"
                                        width="100%"/>
                                </imageobject>
                            </mediaobject>
                        </screenshot>
  3. Set up links to other webhelp space, link to the anchor like this:

    Code Block
    <link linkend:href="_searchingOLE">Searching OLE</link>

    This assumes that you have an anchor at the space

    Code Block
    <anchor xml:id="_searchingOLE"/>
  4. Separated out the chapters into individual xml files and pasted the docbook document type declaration in the chapter element:

    Code Block
    <chapter xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://docbook.org/ns/docbook" version="5.0"
        xml:lang="en-US">
  5. Created an index page

The structure exists as:

docbook folder in trunk contains

...

  • chapters for each submenu in OLE
  • chapters for Introductions
  • chapters for appendixes

...

...

Additional steps

...

for editing and committing documentation

...

    1. Tools >SVN client > Repository > host: http://svn.kuali.org/repos/ole > currently, the project is in branches/kole-1.0.0-Docbook/src/site/docbook
    2. Checked out to local computer
    3. Modify
    4. Check back in through Tools > SVN client > working copy > Refresh, then right click copy and "commit"

DocBook as PDF and HTML

  • Have editing software - it is xml so you could use a simple text editor but with the images, Oxygen is recommended.
  • Fork the project into your own GitHub repository and pull updates (see OLE development using Github)
  • Once saved but before committing, you can view changes locally through the command line. 
    1. Enter your local OLE directory

      1. be sure it is up to date

      2. mvn clean install -DskipTests=true

    2. To test your updates, type "mvn clean pre-site -N". 

    3. To view the changes, open Windows Explorer or Finder and dig into the correct folder: your local OLE directory > target > site > reference > webhelp

DocBook as built-in help (webhelp)

Peri had to do some modifications to get the webhelp to display correctly.  We had to modify images and tables to get them to display correctly.  Webhelp pages are now linked with OLE.

See the plugin documentation: http://docbkx-tools.sourceforge.net/docbkx-maven-plugin/plugin-info.html