TOC functionality

This commit is contained in:
John Mulhausen
2016-02-09 13:58:34 -08:00
parent 435a4a534a
commit e44588b93f
6 changed files with 727 additions and 5 deletions
+1 -1
View File
@@ -63,6 +63,6 @@
{% endif %}
{% endif %}
<a class="item" {{ tocItemColor }} href="{{ item.path }}" title="{{ item.title }}" data-title="{{ item.title }} - {{ item.path }}">{{ item.title }}{{ statusHTML }}</a>
<a class="item" {{ tocItemColor }} href="{{ item.path }}" title="{{ item.title }}" data-title="{{ item.title }} - {{ item.path }}"></a>
{% endif %}
{% endfor %}
+2 -2
View File
@@ -23,9 +23,9 @@ layout: headerfooter
<section id="encyclopedia">
<div id="docsToc">
<div class="pi-accordion">
{% comment %} assign tree = site.data[page.toc].toc
{% comment %} assign tree = site.data[page.toc].toc {% endcomment %}
{% assign tree = site.data[page.versionfilesafe][page.section].toc %}
{% include tree.html %}{% endcomment %}
{% include tree.html %}
</div> <!-- /pi-accordion -->
</div> <!-- /docsToc -->
<div id="docsContent">
+1 -1
View File
File diff suppressed because one or more lines are too long
+47
View File
@@ -69,6 +69,11 @@
<li><a href="#">SAMPLES</a></li>
<li><a href="#">SUPPORT</a></li>
</ul>
<div class="dropdown">
<div class="readout"></div>
<a href="#">Version 1.1</a>
<a href="#">Version 1.0</a>
</div>
</div>
</section>
@@ -76,6 +81,48 @@
<div id="docsToc">
<div class="pi-accordion">
<!--
Here's your API ref for this accordion element:
Each line is class "item". Use the data-title attribute for the text label.
Use a.item for direct links; use div.item to wrap containers.
A div.container inside a div.item is a nested accordion. The clickable text which toggles the
container open/closed is the data-title attribute of the parent div.item.
<a class="item" data-title="Overview" href="path-to-page"></a>
<div class="item" data-title="Quickstarts">
<div class="container">
<a class="item" data-title="Setting Up Your Local Environment" href="path-to-page"></a>
<a class="item" data-title="5-minute Quickstart" href="path-to-page"></a>
<a class="item" data-title="Kubernetes 101" href="path-to-page"></a>
<a class="item" data-title="Kubernetes 201" href="path-to-page"></a>
</div>
</div>
<div class="item" data-title="Running Kubernetes">
<div class="container">
<a class="item" data-title="Running Kubernetes on Your Local Machine" href="path-to-page"></a>
<a class="item" data-title="Running Kubernetes on Google Container Engine" href="path-to-page"></a>
<div class="item" data-title="Third-level Schtuff">
<div class="container">
<a class="item" data-title="Third Level One" href="path-to-page"></a>
<a class="item" data-title="Third Level Two" href="path-to-page"></a>
<a class="item" data-title="Third Level Three" href="path-to-page"></a>
<a class="item" data-title="Third Level Four" href="path-to-page"></a>
</div>
</div>
<a class="item" data-title="Running Kubernetes on Turn-Key Cloud Solutions" href="path-to-page"></a>
<a class="item" data-title="Running Kubernetes on Custom Solutions" href="path-to-page"></a>
</div>
</div>
-->
</div> <!-- /pi-accordion -->
</div> <!-- /docsToc -->
<div id="docsContent">
+1 -1
View File
File diff suppressed because one or more lines are too long
+675
View File
@@ -69,6 +69,11 @@
<li><a href="#">SAMPLES</a></li>
<li><a href="#">SUPPORT</a></li>
</ul>
<div class="dropdown">
<div class="readout"></div>
<a href="#">Version 1.1</a>
<a href="#">Version 1.0</a>
</div>
</div>
</section>
@@ -76,6 +81,676 @@
<div id="docsToc">
<div class="pi-accordion">
<!--
Here's your API ref for this accordion element:
Each line is class "item". Use the data-title attribute for the text label.
Use a.item for direct links; use div.item to wrap containers.
A div.container inside a div.item is a nested accordion. The clickable text which toggles the
container open/closed is the data-title attribute of the parent div.item.
<a class="item" data-title="Overview" href="path-to-page"></a>
<div class="item" data-title="Quickstarts">
<div class="container">
<a class="item" data-title="Setting Up Your Local Environment" href="path-to-page"></a>
<a class="item" data-title="5-minute Quickstart" href="path-to-page"></a>
<a class="item" data-title="Kubernetes 101" href="path-to-page"></a>
<a class="item" data-title="Kubernetes 201" href="path-to-page"></a>
</div>
</div>
<div class="item" data-title="Running Kubernetes">
<div class="container">
<a class="item" data-title="Running Kubernetes on Your Local Machine" href="path-to-page"></a>
<a class="item" data-title="Running Kubernetes on Google Container Engine" href="path-to-page"></a>
<div class="item" data-title="Third-level Schtuff">
<div class="container">
<a class="item" data-title="Third Level One" href="path-to-page"></a>
<a class="item" data-title="Third Level Two" href="path-to-page"></a>
<a class="item" data-title="Third Level Three" href="path-to-page"></a>
<a class="item" data-title="Third Level Four" href="path-to-page"></a>
</div>
</div>
<a class="item" data-title="Running Kubernetes on Turn-Key Cloud Solutions" href="path-to-page"></a>
<a class="item" data-title="Running Kubernetes on Custom Solutions" href="path-to-page"></a>
</div>
</div>
-->
<div class="item" data-title="Kubernetes API">
<div class="container">
<!--
Here's your API ref for this accordion element:
Each line is class "item". Use the data-title attribute for the text label.
Use a.item for direct links; use div.item to wrap containers.
A div.container inside a div.item is a nested accordion. The clickable text which toggles the
container open/closed is the data-title attribute of the parent div.item.
<a class="item" data-title="Overview" href="path-to-page"></a>
<div class="item" data-title="Quickstarts">
<div class="container">
<a class="item" data-title="Setting Up Your Local Environment" href="path-to-page"></a>
<a class="item" data-title="5-minute Quickstart" href="path-to-page"></a>
<a class="item" data-title="Kubernetes 101" href="path-to-page"></a>
<a class="item" data-title="Kubernetes 201" href="path-to-page"></a>
</div>
</div>
<div class="item" data-title="Running Kubernetes">
<div class="container">
<a class="item" data-title="Running Kubernetes on Your Local Machine" href="path-to-page"></a>
<a class="item" data-title="Running Kubernetes on Google Container Engine" href="path-to-page"></a>
<div class="item" data-title="Third-level Schtuff">
<div class="container">
<a class="item" data-title="Third Level One" href="path-to-page"></a>
<a class="item" data-title="Third Level Two" href="path-to-page"></a>
<a class="item" data-title="Third Level Three" href="path-to-page"></a>
<a class="item" data-title="Third Level Four" href="path-to-page"></a>
</div>
</div>
<a class="item" data-title="Running Kubernetes on Turn-Key Cloud Solutions" href="path-to-page"></a>
<a class="item" data-title="Running Kubernetes on Custom Solutions" href="path-to-page"></a>
</div>
</div>
-->
<a class="item" style="color:red;" href="http://kubernetes.io/v1.1/docs/api.html" title="Kubernetes API Overview" data-title="Kubernetes API Overview - http://kubernetes.io/v1.1/docs/api.html"></a>
<a class="item" style="color:red;" href="http://kubernetes.io/v1.1/api-ref.html" title="Kubernetes API Reference (pretend the child nodes are here)" data-title="Kubernetes API Reference (pretend the child nodes are here) - http://kubernetes.io/v1.1/api-ref.html"></a>
</div>
<div>
<div class="item" data-title="kubectl">
<div class="container">
<!--
Here's your API ref for this accordion element:
Each line is class "item". Use the data-title attribute for the text label.
Use a.item for direct links; use div.item to wrap containers.
A div.container inside a div.item is a nested accordion. The clickable text which toggles the
container open/closed is the data-title attribute of the parent div.item.
<a class="item" data-title="Overview" href="path-to-page"></a>
<div class="item" data-title="Quickstarts">
<div class="container">
<a class="item" data-title="Setting Up Your Local Environment" href="path-to-page"></a>
<a class="item" data-title="5-minute Quickstart" href="path-to-page"></a>
<a class="item" data-title="Kubernetes 101" href="path-to-page"></a>
<a class="item" data-title="Kubernetes 201" href="path-to-page"></a>
</div>
</div>
<div class="item" data-title="Running Kubernetes">
<div class="container">
<a class="item" data-title="Running Kubernetes on Your Local Machine" href="path-to-page"></a>
<a class="item" data-title="Running Kubernetes on Google Container Engine" href="path-to-page"></a>
<div class="item" data-title="Third-level Schtuff">
<div class="container">
<a class="item" data-title="Third Level One" href="path-to-page"></a>
<a class="item" data-title="Third Level Two" href="path-to-page"></a>
<a class="item" data-title="Third Level Three" href="path-to-page"></a>
<a class="item" data-title="Third Level Four" href="path-to-page"></a>
</div>
</div>
<a class="item" data-title="Running Kubernetes on Turn-Key Cloud Solutions" href="path-to-page"></a>
<a class="item" data-title="Running Kubernetes on Custom Solutions" href="path-to-page"></a>
</div>
</div>
-->
<a class="item" style="color:red;" href="http://kubernetes.io/v1.1/docs/user-guide/kubectl-overview.html" title="kubectl Overview" data-title="kubectl Overview - http://kubernetes.io/v1.1/docs/user-guide/kubectl-overview.html"></a>
<a class="item" style="color:red;" href="http://kubernetes.io/v1.1/docs/user-guide/docker-cli-to-kubectl.html" title="kubectl for Docker Users" data-title="kubectl for Docker Users - http://kubernetes.io/v1.1/docs/user-guide/docker-cli-to-kubectl.html"></a>
<a class="item" style="color:red;" href="http://kubernetes.io/v1.1/docs/user-guide/kubectl/kubectl.html" title="kubectl Reference (pretend the child nodes are here)" data-title="kubectl Reference (pretend the child nodes are here) - http://kubernetes.io/v1.1/docs/user-guide/kubectl/kubectl.html"></a>
</div>
<div>
<a class="item" style="color:red;" href="http://kubernetes.io/v1.1/docs/user-guide/jsonpath.html" title="JSONpath" data-title="JSONpath - http://kubernetes.io/v1.1/docs/user-guide/jsonpath.html"></a>
<div class="item" data-title="kube-apiserver">
<div class="container">
<!--
Here's your API ref for this accordion element:
Each line is class "item". Use the data-title attribute for the text label.
Use a.item for direct links; use div.item to wrap containers.
A div.container inside a div.item is a nested accordion. The clickable text which toggles the
container open/closed is the data-title attribute of the parent div.item.
<a class="item" data-title="Overview" href="path-to-page"></a>
<div class="item" data-title="Quickstarts">
<div class="container">
<a class="item" data-title="Setting Up Your Local Environment" href="path-to-page"></a>
<a class="item" data-title="5-minute Quickstart" href="path-to-page"></a>
<a class="item" data-title="Kubernetes 101" href="path-to-page"></a>
<a class="item" data-title="Kubernetes 201" href="path-to-page"></a>
</div>
</div>
<div class="item" data-title="Running Kubernetes">
<div class="container">
<a class="item" data-title="Running Kubernetes on Your Local Machine" href="path-to-page"></a>
<a class="item" data-title="Running Kubernetes on Google Container Engine" href="path-to-page"></a>
<div class="item" data-title="Third-level Schtuff">
<div class="container">
<a class="item" data-title="Third Level One" href="path-to-page"></a>
<a class="item" data-title="Third Level Two" href="path-to-page"></a>
<a class="item" data-title="Third Level Three" href="path-to-page"></a>
<a class="item" data-title="Third Level Four" href="path-to-page"></a>
</div>
</div>
<a class="item" data-title="Running Kubernetes on Turn-Key Cloud Solutions" href="path-to-page"></a>
<a class="item" data-title="Running Kubernetes on Custom Solutions" href="path-to-page"></a>
</div>
</div>
-->
<a class="item" style="color:red;" href="http://kubernetes.io/v1.1/docs/admin/kube-apiserver.html" title="Overview" data-title="Overview - http://kubernetes.io/v1.1/docs/admin/kube-apiserver.html"></a>
<a class="item" style="color:red;" href="http://kubernetes.io/v1.1/docs/admin/authorization.html" title="Authorization Plugins" data-title="Authorization Plugins - http://kubernetes.io/v1.1/docs/admin/authorization.html"></a>
<a class="item" style="color:red;" href="http://kubernetes.io/v1.1/docs/admin/authentication.html" title="Authentication" data-title="Authentication - http://kubernetes.io/v1.1/docs/admin/authentication.html"></a>
<a class="item" style="color:red;" href="http://kubernetes.io/v1.1/docs/admin/accessing-the-api.html" title="Accessing the API" data-title="Accessing the API - http://kubernetes.io/v1.1/docs/admin/accessing-the-api.html"></a>
<a class="item" style="color:red;" href="http://kubernetes.io/v1.1/docs/admin/admission-controllers.html" title="Admission Controllers" data-title="Admission Controllers - http://kubernetes.io/v1.1/docs/admin/admission-controllers.html"></a>
<a class="item" style="color:red;" href="http://kubernetes.io/v1.1/docs/admin/service-accounts-admin.html" title="Managing Service Accounts" data-title="Managing Service Accounts - http://kubernetes.io/v1.1/docs/admin/service-accounts-admin.html"></a>
</div>
<div>
<a class="item" style="color:red;" href="http://kubernetes.io/v1.1/docs/admin/kube-scheduler.html" title="kub-scheduler" data-title="kub-scheduler - http://kubernetes.io/v1.1/docs/admin/kube-scheduler.html"></a>
<a class="item" style="color:red;" href="http://kubernetes.io/v1.1/docs/admin/kubelet.html" title="kubelet" data-title="kubelet - http://kubernetes.io/v1.1/docs/admin/kubelet.html"></a>
<a class="item" style="color:red;" href="http://kubernetes.io/v1.1/docs/admin/kube-proxy.html" title="kube-proxy" data-title="kube-proxy - http://kubernetes.io/v1.1/docs/admin/kube-proxy.html"></a>
<a class="item" style="color:red;" href="http://kubernetes.io/v1.1/docs/admin/etcd.html" title="etcd" data-title="etcd - http://kubernetes.io/v1.1/docs/admin/etcd.html"></a>
<div class="item" data-title="Concept Definitions">
<div class="container">
<!--
Here's your API ref for this accordion element:
Each line is class "item". Use the data-title attribute for the text label.
Use a.item for direct links; use div.item to wrap containers.
A div.container inside a div.item is a nested accordion. The clickable text which toggles the
container open/closed is the data-title attribute of the parent div.item.
<a class="item" data-title="Overview" href="path-to-page"></a>
<div class="item" data-title="Quickstarts">
<div class="container">
<a class="item" data-title="Setting Up Your Local Environment" href="path-to-page"></a>
<a class="item" data-title="5-minute Quickstart" href="path-to-page"></a>
<a class="item" data-title="Kubernetes 101" href="path-to-page"></a>
<a class="item" data-title="Kubernetes 201" href="path-to-page"></a>
</div>
</div>
<div class="item" data-title="Running Kubernetes">
<div class="container">
<a class="item" data-title="Running Kubernetes on Your Local Machine" href="path-to-page"></a>
<a class="item" data-title="Running Kubernetes on Google Container Engine" href="path-to-page"></a>
<div class="item" data-title="Third-level Schtuff">
<div class="container">
<a class="item" data-title="Third Level One" href="path-to-page"></a>
<a class="item" data-title="Third Level Two" href="path-to-page"></a>
<a class="item" data-title="Third Level Three" href="path-to-page"></a>
<a class="item" data-title="Third Level Four" href="path-to-page"></a>
</div>
</div>
<a class="item" data-title="Running Kubernetes on Turn-Key Cloud Solutions" href="path-to-page"></a>
<a class="item" data-title="Running Kubernetes on Custom Solutions" href="path-to-page"></a>
</div>
</div>
-->
<a class="item" style="color:red;" href="http://kubernetes.io/v1.1/docs/user-guide/container-environment.html" title="Container Environment" data-title="Container Environment - http://kubernetes.io/v1.1/docs/user-guide/container-environment.html"></a>
<a class="item" style="color:red;" href="http://kubernetes.io/v1.1/docs/user-guide/images.html" title="Images" data-title="Images - http://kubernetes.io/v1.1/docs/user-guide/images.html"></a>
<a class="item" style="color:red;" href="http://kubernetes.io/v1.1/docs/user-guide/downward-api.html" title="Downward API" data-title="Downward API - http://kubernetes.io/v1.1/docs/user-guide/downward-api.html"></a>
<a class="item" style="color:red;" href="http://kubernetes.io/v1.1/docs/user-guide/pods.html" title="Pods" data-title="Pods - http://kubernetes.io/v1.1/docs/user-guide/pods.html"></a>
<a class="item" style="color:red;" href="http://kubernetes.io/v1.1/docs/user-guide/labels.html" title="Labels and Selectors" data-title="Labels and Selectors - http://kubernetes.io/v1.1/docs/user-guide/labels.html"></a>
<a class="item" style="color:red;" href="http://kubernetes.io/v1.1/docs/user-guide/replication-controller.html" title="Replication Controller" data-title="Replication Controller - http://kubernetes.io/v1.1/docs/user-guide/replication-controller.html"></a>
<a class="item" style="color:red;" href="http://kubernetes.io/v1.1/docs/user-guide/services.html" title="Services" data-title="Services - http://kubernetes.io/v1.1/docs/user-guide/services.html"></a>
<a class="item" style="color:red;" href="http://kubernetes.io/v1.1/docs/user-guide/volumes.html" title="Volumes" data-title="Volumes - http://kubernetes.io/v1.1/docs/user-guide/volumes.html"></a>
<a class="item" style="color:red;" href="http://kubernetes.io/v1.1/docs/user-guide/persistent-volumes.html" title="Persistent Volumes" data-title="Persistent Volumes - http://kubernetes.io/v1.1/docs/user-guide/persistent-volumes.html"></a>
<a class="item" style="color:red;" href="http://kubernetes.io/v1.1/docs/user-guide/secrets.html" title="Secrets" data-title="Secrets - http://kubernetes.io/v1.1/docs/user-guide/secrets.html"></a>
<a class="item" style="color:red;" href="http://kubernetes.io/v1.1/docs/user-guide/identifiers.html" title="Names" data-title="Names - http://kubernetes.io/v1.1/docs/user-guide/identifiers.html"></a>
<a class="item" style="color:red;" href="http://kubernetes.io/v1.1/docs/user-guide/namespaces.html" title="Namespaces" data-title="Namespaces - http://kubernetes.io/v1.1/docs/user-guide/namespaces.html"></a>
<a class="item" style="color:red;" href="http://kubernetes.io/v1.1/docs/user-guide/service-accounts.html" title="Service Accounts" data-title="Service Accounts - http://kubernetes.io/v1.1/docs/user-guide/service-accounts.html"></a>
<a class="item" style="color:red;" href="http://kubernetes.io/v1.1/docs/user-guide/annotations.html" title="Annotations" data-title="Annotations - http://kubernetes.io/v1.1/docs/user-guide/annotations.html"></a>
<a class="item" style="color:red;" href="http://kubernetes.io/v1.1/docs/admin/daemons.html" title="Daemon Sets" data-title="Daemon Sets - http://kubernetes.io/v1.1/docs/admin/daemons.html"></a>
<a class="item" style="color:red;" href="http://kubernetes.io/v1.1/docs/user-guide/deployments.html" title="Deployments" data-title="Deployments - http://kubernetes.io/v1.1/docs/user-guide/deployments.html"></a>
<a class="item" style="color:red;" href="http://kubernetes.io/v1.1/docs/user-guide/ingress.html" title="Ingress Resources" data-title="Ingress Resources - http://kubernetes.io/v1.1/docs/user-guide/ingress.html"></a>
<a class="item" style="color:red;" href="http://kubernetes.io/v1.1/docs/user-guide/horizontal-pod-autoscaler.html" title="Horizontal Pod Autoscaling" data-title="Horizontal Pod Autoscaling - http://kubernetes.io/v1.1/docs/user-guide/horizontal-pod-autoscaler.html"></a>
<a class="item" style="color:red;" href="http://kubernetes.io/v1.1/docs/user-guide/jobs.html" title="Jobs" data-title="Jobs - http://kubernetes.io/v1.1/docs/user-guide/jobs.html"></a>
<a class="item" style="color:red;" href="http://kubernetes.io/v1.1/docs/admin/resource-quota.html" title="Resource Quotas" data-title="Resource Quotas - http://kubernetes.io/v1.1/docs/admin/resource-quota.html"></a>
</div>
<div>
<div class="item" data-title="Kubernetes Design Docs">
<div class="container">
<!--
Here's your API ref for this accordion element:
Each line is class "item". Use the data-title attribute for the text label.
Use a.item for direct links; use div.item to wrap containers.
A div.container inside a div.item is a nested accordion. The clickable text which toggles the
container open/closed is the data-title attribute of the parent div.item.
<a class="item" data-title="Overview" href="path-to-page"></a>
<div class="item" data-title="Quickstarts">
<div class="container">
<a class="item" data-title="Setting Up Your Local Environment" href="path-to-page"></a>
<a class="item" data-title="5-minute Quickstart" href="path-to-page"></a>
<a class="item" data-title="Kubernetes 101" href="path-to-page"></a>
<a class="item" data-title="Kubernetes 201" href="path-to-page"></a>
</div>
</div>
<div class="item" data-title="Running Kubernetes">
<div class="container">
<a class="item" data-title="Running Kubernetes on Your Local Machine" href="path-to-page"></a>
<a class="item" data-title="Running Kubernetes on Google Container Engine" href="path-to-page"></a>
<div class="item" data-title="Third-level Schtuff">
<div class="container">
<a class="item" data-title="Third Level One" href="path-to-page"></a>
<a class="item" data-title="Third Level Two" href="path-to-page"></a>
<a class="item" data-title="Third Level Three" href="path-to-page"></a>
<a class="item" data-title="Third Level Four" href="path-to-page"></a>
</div>
</div>
<a class="item" data-title="Running Kubernetes on Turn-Key Cloud Solutions" href="path-to-page"></a>
<a class="item" data-title="Running Kubernetes on Custom Solutions" href="path-to-page"></a>
</div>
</div>
-->
<a class="item" style="color:red;" href="http://kubernetes.io/v1.1/docs/design/architecture.html" title="Kubernetes Architecture" data-title="Kubernetes Architecture - http://kubernetes.io/v1.1/docs/design/architecture.html"></a>
<a class="item" style="color:red;" href="http://kubernetes.io/v1.1/docs/design/README.html" title="Kubernetes Design Overview" data-title="Kubernetes Design Overview - http://kubernetes.io/v1.1/docs/design/README.html"></a>
<a class="item" style="color:red;" href="http://kubernetes.io/v1.1/docs/design/security.html" title="Security in Kubernetes" data-title="Security in Kubernetes - http://kubernetes.io/v1.1/docs/design/security.html"></a>
<a class="item" style="color:red;" href="http://kubernetes.io/v1.1/docs/design/access.html" title="Kubernetes Identity and Access Management" data-title="Kubernetes Identity and Access Management - http://kubernetes.io/v1.1/docs/design/access.html"></a>
<a class="item" style="color:red;" href="http://kubernetes.io/v1.1/docs/design/security_context.html" title="Security Contexts" data-title="Security Contexts - http://kubernetes.io/v1.1/docs/design/security_context.html"></a>
<a class="item" style="color:red;" href="http://kubernetes.io/v1.1/docs/admin/ovs-networking.html" title="Kubernetes OpenVSwitch GRE/VxLAN networking" data-title="Kubernetes OpenVSwitch GRE/VxLAN networking - http://kubernetes.io/v1.1/docs/admin/ovs-networking.html"></a>
</div>
<div>
</div> <!-- /pi-accordion -->
</div> <!-- /docsToc -->
<div id="docsContent">