HBASE-12777 Redirect multi-page book to single-page book
This commit is contained in:
parent
acc284eec6
commit
20a096d62e
|
@ -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
18
pom.xml
|
@ -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>
|
||||
|
|
|
@ -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">
|
||||
|
|
Loading…
Reference in New Issue