HBASE-4964 Add builddate, make less sections in toc, and add header and footer customizations

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1210795 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2011-12-06 06:43:54 +00:00
parent e1bfdf16a4
commit 1f8162e80c
3 changed files with 53 additions and 3 deletions

11
pom.xml
View File

@ -520,7 +520,10 @@
<sectionLabelIncludesComponentLabel>true</sectionLabelIncludesComponentLabel>
<targetDirectory>${basedir}/target/site/book/</targetDirectory>
<htmlStylesheet>../css/freebsd_docbook.css</htmlStylesheet>
<htmlCustomization>src/docbkx/customization.xsl</htmlCustomization>
<imgSrcPath>../images/</imgSrcPath>
<tocSectionDepth>1</tocSectionDepth>
<insertXrefPageNumber>yes</insertXrefPageNumber>
</configuration>
<goals>
<goal>generate-html</goal>
@ -538,6 +541,8 @@
<targetDirectory>${basedir}/target/site/</targetDirectory>
<htmlStylesheet>css/freebsd_docbook.css</htmlStylesheet>
<imgSrcPath>images/</imgSrcPath>
<tocSectionDepth>1</tocSectionDepth>
<insertXrefPageNumber>yes</insertXrefPageNumber>
</configuration>
<goals>
<goal>generate-html</goal>
@ -849,6 +854,12 @@
</build>
<properties>
<maven.build.timestamp.format>
yyyy-MM-dd'T'HH:mm
</maven.build.timestamp.format>
<buildDate>
${maven.build.timestamp}
</buildDate>
<compileSource>1.6</compileSource>
<!-- Dependencies -->

View File

@ -28,14 +28,18 @@
xmlns:html="http://www.w3.org/1999/xhtml"
xmlns:db="http://docbook.org/ns/docbook">
<info>
<title><link xlink:href="http://www.hbase.org">
Apache HBase Book
</link></title>
<subtitle><link xlink:href="http://www.hbase.org">
<inlinemediaobject>
<imageobject>
<imagedata align="middle" valign="middle" fileref="hbase_logo.png" />
</imageobject>
</inlinemediaobject>
</link>
</title>
</subtitle>
<copyright><year>2011</year><holder>Apache Software Foundation</holder></copyright>
<abstract>
<para>This is the official book of
@ -48,11 +52,12 @@
<revhistory>
<revision>
<date />
<revdescription>HBase version</revdescription>
<revnumber>
<?eval ${project.version}?>
</revnumber>
<date>
<?eval ${buildDate}?>
</date>
</revision>
</revhistory>
</info>

View File

@ -0,0 +1,34 @@
<?xml version="1.0"?>
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<!--
/**
* 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.
*/
This stylesheet is used making an html version of hbase-default.xml.
-->
<xsl:import href="urn:docbkx:stylesheet"/>
<xsl:template name="user.header.content">
</xsl:template>
<xsl:template name="user.footer.content">
</xsl:template>
</xsl:stylesheet>