From 215f8def3dc6672c2b2aaa104f65b76a82d4e6fb Mon Sep 17 00:00:00 2001
From: Mark Craig <mark.craig@forgerock.com>
Date: Mon, 25 Jul 2011 15:56:52 +0000
Subject: [PATCH] Add abstracts, used in HTML head <meta name="description" content="content of the abstract" />. Chunked pages would still require individual <info><abstract><para>content of the abstract</para></abstract></info> for each chapter|appendix|refentry, etc.
---
opendj3/src/main/docbkx/install-guide/OpenDJ-Install-Guide.xml | 4 ++++
opendj3/src/main/docbkx-stylesheets/html/chunked.xsl | 1 +
opendj3/src/main/docbkx/release-notes/OpenDJ-Release-Notes.xml | 5 +++++
opendj3/src/main/docbkx/admin-guide/OpenDJ-Admin-Guide.xml | 4 ++++
opendj3/src/main/docbkx-stylesheets/html/coredoc.xsl | 1 +
opendj3/src/main/docbkx/dev-guide/OpenDJ-Dev-Guide.xml | 4 ++++
6 files changed, 19 insertions(+), 0 deletions(-)
diff --git a/opendj3/src/main/docbkx-stylesheets/html/chunked.xsl b/opendj3/src/main/docbkx-stylesheets/html/chunked.xsl
index 1eaaeed..2fce21c 100644
--- a/opendj3/src/main/docbkx-stylesheets/html/chunked.xsl
+++ b/opendj3/src/main/docbkx-stylesheets/html/chunked.xsl
@@ -54,4 +54,5 @@
set toc,title
</xsl:param>
<xsl:param name="toc.section.depth" select="0" />
+ <xsl:param name="generate.meta.abstract" select="1" />
</xsl:stylesheet>
\ No newline at end of file
diff --git a/opendj3/src/main/docbkx-stylesheets/html/coredoc.xsl b/opendj3/src/main/docbkx-stylesheets/html/coredoc.xsl
index cba17bc..25f443f 100644
--- a/opendj3/src/main/docbkx-stylesheets/html/coredoc.xsl
+++ b/opendj3/src/main/docbkx-stylesheets/html/coredoc.xsl
@@ -51,4 +51,5 @@
set toc,title
</xsl:param>
<xsl:param name="toc.section.depth" select="0" />
+ <xsl:param name="generate.meta.abstract" select="1" />
</xsl:stylesheet>
\ No newline at end of file
diff --git a/opendj3/src/main/docbkx/admin-guide/OpenDJ-Admin-Guide.xml b/opendj3/src/main/docbkx/admin-guide/OpenDJ-Admin-Guide.xml
index 5913332..ec43d7e 100644
--- a/opendj3/src/main/docbkx/admin-guide/OpenDJ-Admin-Guide.xml
+++ b/opendj3/src/main/docbkx/admin-guide/OpenDJ-Admin-Guide.xml
@@ -31,6 +31,10 @@
xmlns:xinclude='http://www.w3.org/2001/XInclude'>
<info>
<title>OpenDJ <?eval ${project.version}?> Administration Guide</title>
+ <abstract>
+ <para>Hands-on guide to configuring and using OpenDJ features. The OpenDJ
+ project offers open source LDAP directory services in Java.</para>
+ </abstract>
<copyright>
<year>2011</year>
<holder>ForgeRock AS</holder>
diff --git a/opendj3/src/main/docbkx/dev-guide/OpenDJ-Dev-Guide.xml b/opendj3/src/main/docbkx/dev-guide/OpenDJ-Dev-Guide.xml
index 47b8f20..6d4dfb4 100644
--- a/opendj3/src/main/docbkx/dev-guide/OpenDJ-Dev-Guide.xml
+++ b/opendj3/src/main/docbkx/dev-guide/OpenDJ-Dev-Guide.xml
@@ -31,6 +31,10 @@
xmlns:xinclude='http://www.w3.org/2001/XInclude'>
<info>
<title>OpenDJ <?eval ${project.version}?> SDK Developer's Guide</title>
+ <abstract>
+ <para>Hands-on guide to developing applications with the OpenDJ SDK. The
+ OpenDJ project offers open source LDAP directory services in Java.</para>
+ </abstract>
<copyright>
<year>2011</year>
<holder>ForgeRock AS</holder>
diff --git a/opendj3/src/main/docbkx/install-guide/OpenDJ-Install-Guide.xml b/opendj3/src/main/docbkx/install-guide/OpenDJ-Install-Guide.xml
index b8c9df9..21aa503 100644
--- a/opendj3/src/main/docbkx/install-guide/OpenDJ-Install-Guide.xml
+++ b/opendj3/src/main/docbkx/install-guide/OpenDJ-Install-Guide.xml
@@ -31,6 +31,10 @@
xmlns:xinclude='http://www.w3.org/2001/XInclude'>
<info>
<title>OpenDJ <?eval ${project.version}?> Installation Guide</title>
+ <abstract>
+ <para>This guide shows you how to install OpenDJ directory services. The
+ OpenDJ project offers open source LDAP directory services in Java.</para>
+ </abstract>
<copyright>
<year>2011</year>
<holder>ForgeRock AS</holder>
diff --git a/opendj3/src/main/docbkx/release-notes/OpenDJ-Release-Notes.xml b/opendj3/src/main/docbkx/release-notes/OpenDJ-Release-Notes.xml
index 28af5b5..24e01fc 100644
--- a/opendj3/src/main/docbkx/release-notes/OpenDJ-Release-Notes.xml
+++ b/opendj3/src/main/docbkx/release-notes/OpenDJ-Release-Notes.xml
@@ -31,6 +31,11 @@
xmlns:xinclude='http://www.w3.org/2001/XInclude'>
<info>
<title>OpenDJ <?eval ${project.version}?> Release Notes</title>
+ <abstract>
+ <para>Notes covering OpenDJ hardware & software requirements, fixes,
+ known issues. The OpenDJ project offers open source LDAP directory services
+ in Java.</para>
+ </abstract>
<copyright>
<year>2011</year>
<holder>ForgeRock AS</holder>
--
Gitblit v1.10.0