added .htaccess redirect file for docs

also added a test redirect so we know if things are working

Change-Id: I8fd848c23053e52e45fa55637f280124eba74927
This commit is contained in:
John Dickinson 2017-07-27 13:58:36 -07:00
parent 4ac456882e
commit 9155e6f0d7
2 changed files with 6 additions and 0 deletions

View File

@ -0,0 +1,2 @@
# docs redirects are defined here
redirectmatch 301 ^/swift/([^/]+)/team.html$ https://github.com/openstack/swift/blob/master/AUTHORS

View File

@ -156,6 +156,10 @@ html_theme = 'openstackdocs'
# so a file named "default.css" will overwrite the builtin "default.css". # so a file named "default.css" will overwrite the builtin "default.css".
# html_static_path = ['_static'] # html_static_path = ['_static']
# Add any paths that contain "extra" files, such as .htaccess or
# robots.txt.
html_extra_path = ['_extra']
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom, # If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
# using the given strftime format. # using the given strftime format.
# html_last_updated_fmt = '%b %d, %Y' # html_last_updated_fmt = '%b %d, %Y'