From a9910a69b7d0842879f6eef4ebf11006384bcc73 Mon Sep 17 00:00:00 2001
From: Mark Craig <mark.craig@forgerock.com>
Date: Fri, 31 Jan 2014 17:44:28 +0000
Subject: [PATCH] OPENDJ-1293: Ensure doc build works for v3 branch

---
 opendj3-server-dev/src/site/xdoc/docs.xml |   88 ++++++++++++++++++++++++++++++++++++++++++++
 opendj3-server-dev/src/site/site.xml      |    4 +-
 2 files changed, 90 insertions(+), 2 deletions(-)

diff --git a/opendj3-server-dev/src/site/site.xml b/opendj3-server-dev/src/site/site.xml
index 22acb29..af3e415 100644
--- a/opendj3-server-dev/src/site/site.xml
+++ b/opendj3-server-dev/src/site/site.xml
@@ -20,7 +20,7 @@
   !
   ! CCPL HEADER END
   !
-  !      Copyright 2011-2013 ForgeRock AS
+  !      Copyright 2011-2014 ForgeRock AS
   !    
 -->
 <project name="${project.name}" xmlns="http://maven.apache.org/DECORATION/1.0.1"
@@ -72,7 +72,7 @@
     </menu>
 
     <menu name="OpenDJ Documentation">
-      <item name="All Formats" href="../docs.html" />
+      <item name="All Formats" href="./docs.html" />
       <item name="Release Notes" href="./doc/release-notes/index.html" />
       <item name="Installation Guide" href="./doc/install-guide/index.html" />
       <item name="Administration Guide" href="./doc/admin-guide/index.html" />
diff --git a/opendj3-server-dev/src/site/xdoc/docs.xml b/opendj3-server-dev/src/site/xdoc/docs.xml
new file mode 100644
index 0000000..f541fb9
--- /dev/null
+++ b/opendj3-server-dev/src/site/xdoc/docs.xml
@@ -0,0 +1,88 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  ! CCPL HEADER START
+  !
+  ! This work is licensed under the Creative Commons
+  ! Attribution-NonCommercial-NoDerivs 3.0 Unported License.
+  ! To view a copy of this license, visit
+  ! http://creativecommons.org/licenses/by-nc-nd/3.0/
+  ! or send a letter to Creative Commons, 444 Castro Street,
+  ! Suite 900, Mountain View, California, 94041, USA.
+  !
+  ! You can also obtain a copy of the license at
+  ! trunk/opendj3/legal-notices/CC-BY-NC-ND.txt.
+  ! See the License for the specific language governing permissions
+  ! and limitations under the License.
+  !
+  ! If applicable, add the following below this CCPL HEADER, with the fields
+  ! enclosed by brackets "[]" replaced with your own identifying information:
+  !      Portions Copyright [yyyy] [name of copyright owner]
+  !
+  ! CCPL HEADER END
+  !
+  !      Copyright 2011-2014 ForgeRock AS
+  !    
+-->
+<document
+ xmlns="http://maven.apache.org/XDOC/2.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 http://maven.apache.org/xsd/xdoc-2.0.xsd">
+ <properties>
+  <title>OpenDJ 3 Core User Documentation</title>
+  <author email="opendj-dev@forgerock.org">ForgeRock AS</author>
+ </properties>
+ <body>
+  <section name="Core Documentation">
+   <p>
+    This core documentation is <strong>in progress</strong>
+    and not finished.
+   </p>
+
+   <p>
+    For completed, released documentation, see <a
+    href="http://docs.forgerock.org/en/opendj/"
+    >docs.forgerock.org</a>.
+   </p>
+
+   <dl>
+    <dt>Release Notes</dt>
+    <dd><a href="./doc/OpenDJ-Release-Notes.epub">EPUB</a>,
+    <a href="./doc/release-notes/index.html">HTML (single page)</a>,
+    <a href="./doc/release-notes/index/index.html">HTML (1 page/chapter)</a>,
+    <a href="./doc/OpenDJ-Release-Notes.pdf">PDF</a>,
+    <a href="./doc/OpenDJ-Release-Notes.rtf">RTF</a></dd>
+
+    <dt>Installation Guide</dt>
+    <dd><a href="./doc/OpenDJ-Install-Guide.epub">EPUB</a>,
+    <a href="./doc/install-guide/index.html">HTML (single page)</a>,
+    <a href="./doc/install-guide/index/index.html">HTML (1 page/chapter)</a>,
+    <a href="./doc/OpenDJ-Install-Guide.pdf">PDF</a>,
+    <a href="./doc/OpenDJ-Install-Guide.rtf">RTF</a></dd>
+
+    <dt>Administration Guide</dt>
+    <dd><a href="./doc/OpenDJ-Admin-Guide.epub">EPUB</a>,
+    <a href="./doc/admin-guide/index.html">HTML (single page)</a>,
+    <a href="./doc/admin-guide/index/index.html">HTML (1 page/chapter)</a>,
+    <a href="./doc/OpenDJ-Admin-Guide.pdf">PDF</a>,
+    <a href="./doc/OpenDJ-Admin-Guide.rtf">RTF</a></dd>
+
+    <dt>Developer Guide</dt>
+    <dd><a href="../doc/OpenDJ-Dev-Guide.epub">EPUB</a>,
+    <a href="../doc/dev-guide/index.html">HTML (single page)</a>,
+    <a href="../doc/dev-guide/index/index.html">HTML (1 page/chapter)</a>,
+    <a href="../doc/OpenDJ-Dev-Guide.pdf">PDF</a>,
+    <a href="../doc/OpenDJ-Dev-Guide.rtf">RTF</a></dd>
+
+    <dt>Configuration Reference</dt>
+    <dd><a href="./configref/index.html">HTML</a></dd>
+    
+    <dt>Server Plugin API Specification</dt>
+    <dd><a href="./javadoc/index.html">HTML</a></dd>
+    
+    <dt>LDAP Client API Specification</dt>
+    <dd><a href="../opendj-core/apidocs/index.html">HTML</a></dd>
+   </dl>
+  </section>
+ </body>
+</document>
+

--
Gitblit v1.10.0