Merge lp:~ricgard/maas/maas-docs-link-1.5 into lp:maas/1.5

Proposed by Richard McCartney on 2016-08-24
Status: Merged
Approved by: Andres Rodriguez on 2016-08-24
Approved revision: 2301
Merged at revision: 2301
Proposed branch: lp:~ricgard/maas/maas-docs-link-1.5
Merge into: lp:maas/1.5
Diff against target: 19 lines (+9/-0)
1 file modified
docs/_templates/maas/layout.html (+9/-0)
To merge this branch: bzr merge lp:~ricgard/maas/maas-docs-link-1.5
Reviewer Review Type Date Requested Status
Andres Rodriguez 2016-08-24 Approve on 2016-08-24
Review via email: mp+303804@code.launchpad.net

Commit message

Backport: template change for generated docs back link to maas.io

Description of the change

Back porting template change for the generated MAAS docs back link to maas.io/

To post a comment you must log in.
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'docs/_templates/maas/layout.html'
2--- docs/_templates/maas/layout.html 2014-06-11 16:30:32 +0000
3+++ docs/_templates/maas/layout.html 2016-08-24 11:52:45 +0000
4@@ -1,6 +1,15 @@
5 {%- extends "basic/layout.html" %}
6 {% set css_files = ['https://assets.ubuntu.com/sites/guidelines/css/latest/ubuntu-styles.css', 'https://assets.ubuntu.com/sites/ubuntu/latest/u/css/global.css', '_static/css/main.css'] %}
7
8+{% block rootrellink %}
9+ <li class="nav-item nav-item-0">
10+ <a href="http://maas.io/docs/">Latest documentation</a>&nbsp;&nbsp;|&nbsp;&nbsp;
11+ </li>
12+ <li class="nav-item nav-item-0">
13+ <a href="{{ pathto(master_doc) }}">{{ shorttitle|e }}</a>
14+ </li>
15+{% endblock %}
16+
17 {% block sidebarlogo %}
18 <a style="border:0" title="MAAS Documentation Homepage" href="{{ pathto('index.html', 1) }}"><img src="{{ pathto('_static/maas-logo-200.png',1) }}" alt="MAAS logo"/></a>
19 <h2 style="text-align:center;">MAAS</h2>

Subscribers

People subscribed via source and target branches

to all changes: