From b7469cda07d624a2b64c4a8ef8dec2d0a587da4a Mon Sep 17 00:00:00 2001
From: Mark Craig <mark.craig@forgerock.com>
Date: Mon, 23 May 2011 15:08:37 +0000
Subject: [PATCH] Fix OPENDJ-165: Collapse core documentation site menu by default
---
opendj-sdk/opendj3/src/site/site.xml | 14 +++---
opendj-sdk/opendj3/src/docbkx/README.txt | 2 +
opendj-sdk/opendj3/src/site/xdoc/docs.xml | 74 +++++++++++++++++++++++++++++++++++++
3 files changed, 83 insertions(+), 7 deletions(-)
diff --git a/opendj-sdk/opendj3/src/docbkx/README.txt b/opendj-sdk/opendj3/src/docbkx/README.txt
new file mode 100644
index 0000000..c904e37
--- /dev/null
+++ b/opendj-sdk/opendj3/src/docbkx/README.txt
@@ -0,0 +1,2 @@
+DocBook XML source for OpenDJ core user documentation. Java API and
+configuration reference documentation is generated from OpenDJ source code.
\ No newline at end of file
diff --git a/opendj-sdk/opendj3/src/site/site.xml b/opendj-sdk/opendj3/src/site/site.xml
index 42c78b0..1091575 100644
--- a/opendj-sdk/opendj3/src/site/site.xml
+++ b/opendj-sdk/opendj3/src/site/site.xml
@@ -50,8 +50,8 @@
<item name="Downloads" href="http://www.forgerock.com/downloads-opendj.html" />
<item name="FAQ" href="faq.html" />
<item name="Mailing List" href="https://lists.forgerock.org/mailman/listinfo/opendj" />
- <item name="Support" href="http://www.forgerock.com/subscriptions.html" />
- <item name="Partners" href="http://www.forgerock.com/partners.html" />
+ <item name="Support" href="http://forgerock.com/subscriptions.html" />
+ <item name="Partners" href="http://forgerock.com/partners.html" />
<item name="Wiki" href="http://wikis.forgerock.org/opendj/" />
</menu>
@@ -60,25 +60,25 @@
</menu>
<menu name="Core Documentation">
- <item name="Release Notes" href="index.html" collapse="true">
+ <item name="Release Notes" href="docs.html" collapse="true">
<item name="EPUB Format" href="./doc/OpenDJ-Release-Notes.epub"/>
<item name="HTML Format" href="./doc/release-notes/OpenDJ-Release-Notes.html"/>
<item name="PDF Format" href="./doc/OpenDJ-Release-Notes.pdf" />
<item name="RTF Format" href="./doc/OpenDJ-Release-Notes.rtf" />
</item>
- <item name="Installation Guide" href="index.html" collapse="true">
+ <item name="Installation Guide" href="docs.html" collapse="true">
<item name="EPUB Format" href="./doc/OpenDJ-Install-Guide.epub"/>
<item name="HTML Format" href="./doc/install-guide/OpenDJ-Install-Guide.html" />
<item name="PDF Format" href="./doc/OpenDJ-Install-Guide.pdf" />
<item name="RTF Format" href="./doc/OpenDJ-Install-Guide.rtf" />
</item>
- <item name="Administration Guide" href="index.html" collapse="true">
+ <item name="Administration Guide" href="docs.html" collapse="true">
<item name="EPUB Format" href="./doc/OpenDJ-Admin-Guide.epub" />
<item name="HTML Format" href="./doc/admin-guide/OpenDJ-Admin-Guide.html" />
<item name="PDF Format" href="./doc/OpenDJ-Admin-Guide.pdf" />
<item name="RTF Format" href="./doc/OpenDJ-Admin-Guide.rtf" />
</item>
- <item name="Developer Guide" href="index.html" collapse="true">
+ <item name="Developer Guide" href="docs.html" collapse="true">
<item name="EPUB Format" href="./doc/OpenDJ-Dev-Guide.epub" />
<item name="HTML Format" href="./doc/dev-guide/OpenDJ-Dev-Guide.html" />
<item name="PDF Format" href="./doc/OpenDJ-Dev-Guide.pdf" />
@@ -86,7 +86,7 @@
</item>
<item name="Config Reference" href="index.html" alt="TODO" />
<item name="Plugin Javadoc" href="index.html" alt="TODO" />
- <item name="SDK Javadoc" href="index.html" alt="TODO" />
+ <item name="SDK Javadoc" href="./opendj-sdk/apidocs/index.html" />
</menu>
<menu ref="reports" />
diff --git a/opendj-sdk/opendj3/src/site/xdoc/docs.xml b/opendj-sdk/opendj3/src/site/xdoc/docs.xml
new file mode 100644
index 0000000..09ae627
--- /dev/null
+++ b/opendj-sdk/opendj3/src/site/xdoc/docs.xml
@@ -0,0 +1,74 @@
+<?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
+ ! src/main/resources/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 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 Core User Documentation</title>
+ <author email="opendj-dev@forgerock.org">ForgeRock AS</author>
+ </properties>
+ <body>
+ <section name="Core Documentation">
+ <p>This core documentation is in progress as part of the OpenDJ project.</p>
+ <dl>
+ <dt>Release Notes</dt>
+ <dd><a href="./doc/OpenDJ-Release-Notes.epub">EPUB</a>,
+ <a href="./doc/release-notes/OpenDJ-Release-Notes.html">HTML</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/OpenDJ-Install-Guide.html">HTML</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/OpenDJ-Admin-Guide.html">HTML</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/OpenDJ-Dev-Guide.html">HTML</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="TODO">HTML</a></dd>
+
+ <dt>Server Plugin API Specification</dt>
+ <dd><a href="TODO">HTML</a></dd>
+
+ <dt>LDAP Client API Specification</dt>
+ <dd><a href="./opendj-sdk/apidocs/index.html">HTML</a></dd>
+ </dl>
+ </section>
+ </body>
+</document>
+
--
Gitblit v1.10.0