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:
parent
4ac456882e
commit
9155e6f0d7
2
doc/source/_extra/.htaccess
Normal file
2
doc/source/_extra/.htaccess
Normal file
@ -0,0 +1,2 @@
|
||||
# docs redirects are defined here
|
||||
redirectmatch 301 ^/swift/([^/]+)/team.html$ https://github.com/openstack/swift/blob/master/AUTHORS
|
@ -156,6 +156,10 @@ html_theme = 'openstackdocs'
|
||||
# so a file named "default.css" will overwrite the builtin "default.css".
|
||||
# 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,
|
||||
# using the given strftime format.
|
||||
# html_last_updated_fmt = '%b %d, %Y'
|
||||
|
Loading…
Reference in New Issue
Block a user