HBASE-12777 Redirect multi-page book to single-page book

This commit is contained in:
Misty Stanley-Jones 2015-01-12 16:30:29 -08:00
parent acc284eec6
commit 20a096d62e
3 changed files with 27 additions and 1 deletions

View File

@ -0,0 +1,8 @@
# Redirect HTML-multi version of the book to HTML-single
# Rule added 2015-1-12 -- can be removed in 6 months
Redirect /book/ /book.html
# Redirect replication URL to the right section of the book
# Rule added 2015-1-12 -- can be removed in 6 months
Redirect /replication.html /book.html#cluster_replication

18
pom.xml
View File

@ -955,6 +955,24 @@
</resources>
</configuration>
</execution>
<execution>
<id>copy-htaccess</id>
<goals>
<goal>copy-resources</goal>
</goals>
<phase>post-site</phase>
<configuration>
<outputDirectory>${basedir}/target/site</outputDirectory>
<resources>
<resource>
<directory>${basedir}/hbase-common/src/main/resources/</directory>
<includes>
<include>.htaccess</include>
</includes>
</resource>
</resources>
</configuration>
</execution>
</executions>
<configuration>
<escapeString>\</escapeString>

View File

@ -925,7 +925,7 @@ stopping hbase...............</screen>
<!--presumes the pre-site target has put the hbase-default.xml at this location-->
<xi:include
xmlns:xi="http://www.w3.org/2001/XInclude"
href="hbase-default.xml">
href="../../../target/docbkx/hbase-default.xml">
<xi:fallback>
<section
xml:id="hbase_default_configurations">