doc: add the redirect for a file recently renamed
Change-Id: I6988795e477fda23a393710e8b455210a3a6ad45
This commit is contained in:
parent
002f1084c6
commit
03587a020d
|
@ -6,3 +6,4 @@ os-api-ref>=1.4.0 # Apache-2.0
|
|||
reno>=2.5.0 # Apache-2.0
|
||||
sphinx!=1.6.6,!=1.6.7,>=1.6.2 # BSD
|
||||
sphinxcontrib-httpdomain>=1.3.0 # BSD
|
||||
whereto>=0.3.0 # Apache-2.0
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
# renamed after the switch to Storyboard
|
||||
redirectmatch 301 ^/sahara/([^/]+)/contributor/launchpad.html$ /sahara/$1/contributor/project.html
|
|
@ -51,6 +51,10 @@ config_sample_basename = 'sahara'
|
|||
# Add any paths that contain templates here, relative to this directory.
|
||||
templates_path = ['_templates']
|
||||
|
||||
# Add any paths that contain "extra" files, such as .htaccess or
|
||||
# robots.txt.
|
||||
html_extra_path = ['_extra']
|
||||
|
||||
# The suffix of source filenames.
|
||||
source_suffix = '.rst'
|
||||
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
/sahara/pike/contributor/launchpad.html 301 /sahara/pike/contributor/project.html
|
||||
/sahara/queens/contributor/launchpad.html 301 /sahara/queens/contributor/project.html
|
||||
/sahara/latest/contributor/launchpad.html 301 /sahara/latest/contributor/project.html
|
1
tox.ini
1
tox.ini
|
@ -61,6 +61,7 @@ commands =
|
|||
rm -rf doc/source/apidoc doc/source/api
|
||||
sphinx-build -W -b html doc/source doc/build/html
|
||||
sphinx-build -W -b html -d api-ref/build/doctrees api-ref/source api-ref/build/html
|
||||
whereto doc/source/_extra/.htaccess doc/test/redirect-tests.txt
|
||||
whitelist_externals = rm
|
||||
|
||||
[testenv:api-ref]
|
||||
|
|
Loading…
Reference in New Issue