<?xml version="1.0" encoding="UTF-8"?>
<!--
  Licensed to the Apache Software Foundation (ASF) under one or more
  contributor license agreements.  See the NOTICE file distributed with
  this work for additional information regarding copyright ownership.
  The ASF licenses this file to You under the Apache License, Version 2.0
  (the "License"); you may not use this file except in compliance with
  the License.  You may obtain a copy of the License at

      http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.
-->
<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN"
"http://forrest.apache.org/dtd/document-v20.dtd">
<document>
  <header>
    <title>Welcome to the POD Output Plugin</title>
  </header>
  <body>
    <section>
      <title>Apache Forrest - POD Output Plugin</title>
      <p>
        This plugin allows Forrest files to be output in the Perl Plain Old
        Documentation (POD) format, text with minimal formatting directives. If
        on a *nix system with perl installed, see "man perlpod".
      </p>
    </section>
    <section>
      <title>How to Use the POD Plugin</title>
      <p>
        The plugin needs to be incorporated into your existing build of Forrest.
        To do this,
      </p>
      <ol>
        <li><code>cd $FORREST_HOME/plugin/</code></li>
        <li><code>$FORREST_HOME/tools/ant/bin/ant local-deploy</code></li>
      </ol>
      <p>
        Once you have the POD plugin installed, it is simply a case of
        requesting a file with a .pod extension. For example,
        <a
      href="index.pod">this page as pod</a>.
      </p>
      <p>
        To have a POD link created in your project documentation, there are two
        things you will need to do:
      </p>
      <ul>
        <li>Edit your <code>forrest.properties</code> file and add
        <code>org.apache.forrest.plugin.output.POD</code> to the
        <code>project.required.plugin</code> property.</li>
        <li>Edit your <code>skinconf.xml</code> and set the
        <code>&lt;disable-pod-link&gt;</code> element to
        <code>false</code>.</li>
      </ul>
    </section>
    <section>
            <title>Enable POD Plugin in Dispatcher enabled sites</title>
            <p>Some documentation has been started and a POD example
                    is available from the <a href="http://forrest.apache.org/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/examples/">dispatcher documentation</a></p>
    </section>
  </body>
</document>
