From 893547c850cddddfdd50a88793f42587d0a4feb6 Mon Sep 17 00:00:00 2001 From: Misty Stanley-Jones Date: Mon, 12 Jan 2015 16:30:29 -0800 Subject: [PATCH] HBASE-12777 Redirect multi-page book to single-page book --- hbase-common/src/main/resources/.htaccess | 8 ++++++++ pom.xml | 20 +++++++++++++++++++- 2 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 hbase-common/src/main/resources/.htaccess diff --git a/hbase-common/src/main/resources/.htaccess b/hbase-common/src/main/resources/.htaccess new file mode 100644 index 0000000..5bfc3aa --- /dev/null +++ b/hbase-common/src/main/resources/.htaccess @@ -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 + diff --git a/pom.xml b/pom.xml index b3b252c..af8b31f 100644 --- a/pom.xml +++ b/pom.xml @@ -798,7 +798,7 @@ hbase-default.xml ${basedir}/src/main/xslt/configuration_to_docbook_section.xsl - ${basedir}/target/docbkx + ${basedir}/src/main/docbkx @@ -955,6 +955,24 @@ + + copy-htaccess + + copy-resources + + post-site + + ${basedir}/target/site + + + ${basedir}/hbase-common/src/main/resources/ + + .htaccess + + + + + \ -- 2.2.1