add a redirect for the old cells landing page
Redirect from /nova/$series/cells.html to /nova/$series/admin/cells.html Depends-On: I236b7b0a9aae065167bd0aef316603d258e4c3c6 Change-Id: I56b1c077dd604c2947c791c7d5ccdddb9fb815a2 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
5
doc/source/_extra/.htaccess
Normal file
5
doc/source/_extra/.htaccess
Normal file
@@ -0,0 +1,5 @@
|
||||
# As part of the doc-migration during Pike, the main cells landing page
|
||||
# moved. Redirect from the old to new location.
|
||||
redirectmatch 301 ^/nova/([^/]+)/cells.html$ /nova/$1/user/cells.html
|
||||
# This pattern should match the URL on the draft site
|
||||
redirectmatch 301 /doc/build/html/cells.html$ /nova/$1/user/cells.html
|
||||
@@ -140,6 +140,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 = '%Y-%m-%d %H:%M'
|
||||
|
||||
Reference in New Issue
Block a user