Publish training-guides at /training-guides

Publish at /training-guides instead of at /trunk/training-guides.
Add redirects to new location.

Change-Id: Ifad5c1cb77113d542ae82df83e5d9e77469a90db
This commit is contained in:
Andreas Jaeger 2013-12-29 19:46:56 +01:00
parent a0801f2b0f
commit 902e5f29a9
3 changed files with 8 additions and 7 deletions

View File

@ -111,7 +111,7 @@
the OpenStack documentation page in the OpenStack documentation page in
this form. this form.
<dl> <dl>
<dd><a href="training-guide/target/docbkx/webhelp/local/training-guides/content/index.html"> <dd><a href="training-guides/target/docbkx/webhelp/training-guides/content/index.html">
Training Guides</a> Training Guides</a>
</dd> </dd>
<dd><a href="glossary/target/docbkx/webhelp/glossary/content/index.html"> <dd><a href="glossary/target/docbkx/webhelp/glossary/content/index.html">

View File

@ -34,10 +34,9 @@
<configuration> <configuration>
<includes>st-training-guides.xml</includes> <includes>st-training-guides.xml</includes>
<sourceDirectory>.</sourceDirectory> <sourceDirectory>.</sourceDirectory>
<canonicalUrlBase>http://docs.openstack.org/${release.path.name}/training-guides/</canonicalUrlBase> <targetDirectory>target/docbkx/webhelp/</targetDirectory>
<targetDirectory>${basedir}/target/docbkx/webhelp/${release.path.name}/training-guides</targetDirectory> <webhelpDirname>training-guides</webhelpDirname>
<webhelpDirname>/</webhelpDirname> <pdfFilenameBase>training-guides</pdfFilenameBase>
<pdfFilenameBase>training-guides-${release.path.name}</pdfFilenameBase>
<enableDisqus>${comments.enabled}</enableDisqus> <enableDisqus>${comments.enabled}</enableDisqus>
<enableGoogleAnalytics>1</enableGoogleAnalytics> <enableGoogleAnalytics>1</enableGoogleAnalytics>
<googleAnalyticsId>UA-17511903-1</googleAnalyticsId> <googleAnalyticsId>UA-17511903-1</googleAnalyticsId>

View File

@ -93,5 +93,7 @@ redirectmatch /network-admin/admin/content/.*$ /admin-guide-cloud/content/
redirect 301 /trunk/openstack-identity/admin/content/ /admin-guide-cloud/content/ch-identity-mgmt-config.html redirect 301 /trunk/openstack-identity/admin/content/ /admin-guide-cloud/content/ch-identity-mgmt-config.html
# Redirect training-manuals project to new location # Redirect training-manuals project to new location
redirect 301 /trunk/openstack-training/ /trunk/training-guides/ redirect 301 /trunk/openstack-training/ /training-guides/
redirect 301 /trunk/training-guide/ /trunk/training-guides/ redirect 301 /trunk/training-guide/ /training-guides/
redirect 301 /trunk/training-guides/ /training-guides/