From cdcb5d609ce363a11038f5b0b4becdd67cf70f4f Mon Sep 17 00:00:00 2001 From: Zane Bitter Date: Mon, 19 Nov 2018 15:39:50 -0500 Subject: [PATCH] Add redirect for Contributing Organization Guide This guide was moved in 9fe8319a489601c98e8c1eaf81e1a01c7d97ebe8, so add a redirect from its old location to ensure no links break. Change-Id: Ifcf9fb7586d21e374a83d75ef8fa666f7c92ab01 --- doc/source/_extra/.htaccess | 1 + doc/source/conf.py | 4 ++++ 2 files changed, 5 insertions(+) create mode 100644 doc/source/_extra/.htaccess diff --git a/doc/source/_extra/.htaccess b/doc/source/_extra/.htaccess new file mode 100644 index 0000000..32556f4 --- /dev/null +++ b/doc/source/_extra/.htaccess @@ -0,0 +1 @@ +redirectmatch 301 ^/contributors/contributing/organization-guide.html /contributors/organizations/ diff --git a/doc/source/conf.py b/doc/source/conf.py index 442e188..1c1b420 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -69,6 +69,10 @@ html_last_updated_fmt = '%Y-%m-%d %H:%M' # Output file base name for HTML help builder. htmlhelp_basename = '%sdoc' % project +# Add any paths that contain "extra" files, such as .htaccess or +# robots.txt. +html_extra_path = ['_extra'] + # Grouping the document tree into LaTeX files. List of tuples # (source start file, target name, title, author, documentclass # [howto/manual]).