Merge lp:~ya-bo-ng/maas-website/update-documentation-redirect into lp:maas-website

Proposed by Anthony Dillon
Status: Merged
Merged at revision: 16
Proposed branch: lp:~ya-bo-ng/maas-website/update-documentation-redirect
Merge into: lp:maas-website
Diff against target: 77 lines (+10/-10)
4 files modified
footer.php (+5/-5)
part-header-home.php (+1/-1)
template-charm-store-redirect.php (+1/-1)
template-community.php (+3/-3)
To merge this branch: bzr merge lp:~ya-bo-ng/maas-website/update-documentation-redirect
Reviewer Review Type Date Requested Status
Jorge Castro Approve
Raphaël Badin (community) Approve
Review via email: mp+262316@code.launchpad.net

Description of the change

# Done
- Updated the documentation redirect to the latest stable version

## QA
- Check when you click on the "Documentation" link in the header you go to http://maas.ubuntu.com/docs1.7 not http://maas.ubuntu.com/docs1.5

To post a comment you must log in.
17. By Anthony Dillon

Updated the documentation links to the latest stable version

Revision history for this message
Raphaël Badin (rvb) wrote :

Looks good!

review: Approve
Revision history for this message
Jorge Castro (jorge) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'footer.php'
2--- footer.php 2014-04-17 14:36:50 +0000
3+++ footer.php 2015-06-18 12:36:01 +0000
4@@ -5,15 +5,15 @@
5 <div>
6 <nav role="navigation" class="clearfix">
7 <ul>
8- <li><a href="https://maas.ubuntu.com/docs1.5/orientation.html">Overview</a></li>
9- <li><a href="https://maas.ubuntu.com/docs1.5/install.html">Setting up a MAAS server</a></li>
10+ <li><a href="https://maas.ubuntu.com/docs1.7/orientation.html">Overview</a></li>
11+ <li><a href="https://maas.ubuntu.com/docs1.7/install.html">Setting up a MAAS server</a></li>
12 <?php wp_list_pages('sort_column=menu_order&title_li=&depth=2&child_of=7'); ?>
13 </ul>
14 <ul>
15 <li><a href="/resources">Resources</a></li>
16- <li><a href="http://maas.ubuntu.com/docs1.5">Documentation</a></li>
17- <li><a href="http://maas.ubuntu.com/docs1.5/api.html">API Documentation</a></li>
18- <li><a href="http://maas.ubuntu.com/docs1.5/maascli.html">CLI Documentation</a></li>
19+ <li><a href="http://maas.ubuntu.com/docs1.7">Documentation</a></li>
20+ <li><a href="http://maas.ubuntu.com/docs1.7/api.html">API Documentation</a></li>
21+ <li><a href="http://maas.ubuntu.com/docs1.7/maascli.html">CLI Documentation</a></li>
22
23 </ul>
24 <ul>
25
26=== modified file 'part-header-home.php'
27--- part-header-home.php 2014-04-17 14:36:50 +0000
28+++ part-header-home.php 2015-06-18 12:36:01 +0000
29@@ -3,7 +3,7 @@
30 </div>
31 <h1>Metal as a Service</h1>
32 <h2>Metal as a Service (MAAS) brings the language of the cloud to physical servers. It makes it easy to set up the hardware on which to deploy any service that needs to scale up and down dynamically; a cloud being just one example.</h2>
33-<a class="link-action2" href="/docs1.5/install.html">
34+<a class="link-action2" href="/docs1.7/install.html">
35 <span class="cta-left"></span>
36 <span class="cta-center">Get started now</span>
37 <span class="cta-right"></span>
38
39=== modified file 'template-charm-store-redirect.php'
40--- template-charm-store-redirect.php 2014-04-17 14:36:50 +0000
41+++ template-charm-store-redirect.php 2015-06-18 12:36:01 +0000
42@@ -2,5 +2,5 @@
43 /*
44 Template Name: Redirect
45 */
46-header('Location: http://maas.ubuntu.com/docs1.5');
47+header('Location: http://maas.ubuntu.com/docs1.7');
48 ?>
49
50=== modified file 'template-community.php'
51--- template-community.php 2014-04-17 14:36:50 +0000
52+++ template-community.php 2015-06-18 12:36:01 +0000
53@@ -12,21 +12,21 @@
54 <h2>Participate</h2>
55 <ul>
56 <li>
57- <a href="/docs1.5/orientation.html">
58+ <a href="/docs1.7/orientation.html">
59 <img src="<?php echo get_template_directory_uri(); ?>/img/pictogram-cog.png" width="47" height="49" alt="" />
60 <h4>Get started with MAAS</h4>
61 </a>
62 <p>The best way to learn MAAS is to start building a cluster.</p>
63 </li>
64 <li>
65- <a href="/docs1.5">
66+ <a href="/docs1.7">
67 <img src="<?php echo get_template_directory_uri(); ?>/img/pictogram-bird.png" width="61" height="49" alt="" />
68 <h4>Help with documentation &rsaquo;</h4>
69 </a>
70 <p>We're always looking for feedback on how we can improve our documentation</p>
71 </li>
72 <li class="last">
73- <a href="/docs1.5/index.html#developing-maas">
74+ <a href="/docs1.7/index.html#developing-maas">
75 <img src="<?php echo get_template_directory_uri(); ?>/img/pictogram-star.png" width="49" height="49" alt="" />
76 <h4>Contribute to MAAS</h4>
77 </a>

Subscribers

People subscribed via source and target branches

to all changes: