mirror of https://github.com/docker/docs.git
Move Glossary left-nav to be procedurally generated (#2737)
This commit is contained in:
parent
8fb42d3c28
commit
cc362c50d7
|
@ -2183,81 +2183,3 @@ manuals:
|
||||||
title: API response codes
|
title: API response codes
|
||||||
- path: /swarm/swarm-api/
|
- path: /swarm/swarm-api/
|
||||||
title: Docker Swarm API
|
title: Docker Swarm API
|
||||||
|
|
||||||
glossary:
|
|
||||||
- path: /glossary/?term=aufs
|
|
||||||
title: aufs
|
|
||||||
- path: /glossary/?term=base image
|
|
||||||
title: base image
|
|
||||||
- path: /glossary/?term=boot2docker
|
|
||||||
title: boot2docker
|
|
||||||
- path: /glossary/?term=btrfs
|
|
||||||
title: btrfs
|
|
||||||
- path: /glossary/?term=build
|
|
||||||
title: build
|
|
||||||
- path: /glossary/?term=cgroups
|
|
||||||
title: cgroups
|
|
||||||
- path: /glossary/?term=Compose
|
|
||||||
title: Compose
|
|
||||||
- path: /glossary/?term=copy-on-write
|
|
||||||
title: copy-on-write
|
|
||||||
- path: /glossary/?term=container
|
|
||||||
title: container
|
|
||||||
- path: /glossary/?term=docker
|
|
||||||
title: Docker
|
|
||||||
- path: /glossary/?term=Docker for Mac
|
|
||||||
title: Docker for Mac
|
|
||||||
- path: /glossary/?term=Docker for Windows
|
|
||||||
title: Docker for Windows
|
|
||||||
- path: /glossary/?term=Docker Hub
|
|
||||||
title: Docker Hub
|
|
||||||
- path: /glossary/?term=Dockerfile
|
|
||||||
title: Dockerfile
|
|
||||||
- path: /glossary/?term=entrypoint
|
|
||||||
title: ENTRYPOINT
|
|
||||||
- path: /glossary/?term=filesystem
|
|
||||||
title: filesystem
|
|
||||||
- path: /glossary/?term=image
|
|
||||||
title: image
|
|
||||||
- path: /glossary/?term=kitematic
|
|
||||||
title: Kitematic
|
|
||||||
- path: /glossary/?term=libcontainer
|
|
||||||
title: libcontainer
|
|
||||||
- path: /glossary/?term=libnetwork
|
|
||||||
title: libnetwork
|
|
||||||
- path: /glossary/?term=link
|
|
||||||
title: link
|
|
||||||
- path: /glossary/?term=Machine
|
|
||||||
title: Machine
|
|
||||||
- path: /glossary/?term=node
|
|
||||||
title: node
|
|
||||||
- path: /glossary/?term=overlay network driver
|
|
||||||
title: overlay network driver
|
|
||||||
- path: /glossary/?term=overlay storage driver
|
|
||||||
title: overlay storage driver
|
|
||||||
- path: /glossary/?term=registry
|
|
||||||
title: registry
|
|
||||||
- path: /glossary/?term=repository
|
|
||||||
title: repository
|
|
||||||
- path: /glossary/?term=service
|
|
||||||
title: service
|
|
||||||
- path: /glossary/?term=service discovery
|
|
||||||
title: service discovery
|
|
||||||
- path: /glossary/?term=swarm
|
|
||||||
title: swarm
|
|
||||||
- path: /glossary/?term=Docker Swarm
|
|
||||||
title: Docker Swarm
|
|
||||||
- path: /glossary/?term=swarm mode
|
|
||||||
title: swarm mode
|
|
||||||
- path: /glossary/?term=tag
|
|
||||||
title: tag
|
|
||||||
- path: /glossary/?term=task
|
|
||||||
title: task
|
|
||||||
- path: /glossary/?term=toolbox
|
|
||||||
title: Toolbox
|
|
||||||
- path: /glossary/?term=Union file system
|
|
||||||
title: Union file system
|
|
||||||
- path: /glossary/?term=virtual machine
|
|
||||||
title: virtual machine
|
|
||||||
- path: /glossary/?term=volume
|
|
||||||
title: volume
|
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
{% assign topicFound="false" %}
|
{% assign topicFound="false" %}
|
||||||
{% for section in site.data.toc.horizontalnav %}
|
{% for section in site.data.toc.horizontalnav %}
|
||||||
|
{% if section.node == "glossary" %}
|
||||||
|
{% capture leftnav %}{% for entry in site.data.glossary %}
|
||||||
|
<li><a href="/glossary/?term={{ entry[0] }}">{{ entry[0] }}</a></li>{% endfor %}{% endcapture %}
|
||||||
|
{% else %}
|
||||||
{% assign activeCSS = "" %}
|
{% assign activeCSS = "" %}
|
||||||
{% if topicFound=="false" %}
|
{% if topicFound=="false" %}
|
||||||
{% assign tree = site.data.toc[section.node] %}
|
{% assign tree = site.data.toc[section.node] %}
|
||||||
|
@ -10,7 +14,8 @@
|
||||||
{% assign topicFound="true" %}
|
{% assign topicFound="true" %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<li id="{{ section.node }}"{{ activeCSS }}><a href="{{ section.path }}">{{ section.title }}</a></li>
|
{% endif %}
|
||||||
|
<li id="{{ section.node }}"{{ activeCSS }}><a href="{{ section.path }}">{{ section.title }}</a></li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% if site.edge == true %}
|
{% if site.edge == true %}
|
||||||
<li id="stable-cta"><a href="/">Back to Stable docs</a></li>
|
<li id="stable-cta"><a href="/">Back to Stable docs</a></li>
|
||||||
|
|
Loading…
Reference in New Issue