Merge "add a redirect for the old cells landing page"

This commit is contained in:
Jenkins 2017-08-01 13:33:30 +00:00 committed by Gerrit Code Review
commit f9e353a585
2 changed files with 9 additions and 0 deletions

View 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

View File

@ -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'