mirror of https://github.com/docker/docs.git
Optimizations, fix Cloud YAML
This commit is contained in:
parent
e333250c19
commit
d4dfbbd264
|
@ -594,7 +594,6 @@ reference:
|
|||
- path: /engine/reference/commandline/history/
|
||||
title: docker history
|
||||
- sectiontitle: docker image *
|
||||
section:
|
||||
section:
|
||||
- path: /engine/reference/commandline/image/
|
||||
title: docker image
|
||||
|
@ -999,6 +998,8 @@ manuals:
|
|||
title: Using Docker Cloud on AWS
|
||||
- title: Cloud API reference
|
||||
path: /apidocs/docker-cloud/
|
||||
- title: Cloud stack file YAML reference
|
||||
path: /docker-cloud/apps/stack-yaml-reference/
|
||||
- path: /docker-cloud/slack-integration/
|
||||
title: Docker Cloud notifications in Slack
|
||||
- path: /apidocs/docker-cloud/
|
||||
|
|
|
@ -1 +1 @@
|
|||
{% for item in tree %}{% if item.sectiontitle %}{% capture treeString %}{{ item.section | downcase }}{% endcapture %}{% capture pageURLString %}"{{ page.url }}"{% endcapture %}<li class="leaf {% if treeString contains pageURLString %}menu-open{% else %}menu-closed{% endif %}"><a href="javascript:void(0)" class="expand-menu "><span class="menu-icon" aria-hidden="true"></span>{{ item.sectiontitle }}</a><ul class="nav-sub">{% assign tree = item.section %}{% include tree.html %}</ul>{% else %}<li class="leaf"><a href="{{ item.path }}" class="{% if item.path == page.url and item.nosync != true %}active currentPage{% endif %}">{{ item.title }}</a></li>{% endif %}{% endfor %}
|
||||
{% assign foundBranch="false" %}{% for item in tree %}{% if item.sectiontitle %}{% if foundBranch=="false" %}{% capture treeString %}{{ item.section | downcase }}{% endcapture %}{% capture pageURLString %}"{{ page.url }}"{% endcapture %}{% else %}{% assign treeString="" %}{% endif %}<li class="leaf {% if treeString contains pageURLString %}{% assign foundBranch="true"%}menu-open{% else %}menu-closed{% endif %}"><a href="javascript:void(0)" class="expand-menu "><span class="menu-icon" aria-hidden="true"></span>{{ item.sectiontitle }}</a><ul class="nav-sub">{% assign tree = item.section %}{% include tree.html %}</ul>{% else %}<li class="leaf"><a href="{{ item.path }}" class="{% if item.path == page.url and item.nosync != true %}active currentPage{% endif %}">{{ item.title }}</a></li>{% endif %}{% endfor %}
|
||||
|
|
Loading…
Reference in New Issue