Adding forwarding links for in-product TOCs

This commit is contained in:
John Mulhausen 2017-01-31 16:25:29 -08:00 committed by Misty Stanley-Jones
parent 2be1e89e27
commit 92f1c95808
2 changed files with 62 additions and 28 deletions

View File

@ -1,19 +1,19 @@
horizontalnav:
- title: Guides
path: /
node: guides
- title: Product Manuals
path: /manuals/
node: manuals
- title: Glossary
path: /glossary/
node: glossary
- title: Reference
path: /reference/
node: reference
- title: Samples
path: /samples/
node: samples
- title: Guides
path: /
node: guides
- title: Product Manuals
path: /manuals/
node: manuals
- title: Glossary
path: /glossary/
node: glossary
- title: Reference
path: /reference/
node: reference
- title: Samples
path: /samples/
node: samples
guides:
- sectiontitle: Get Docker
@ -210,6 +210,14 @@ guides:
title: IPv6 with Docker
- path: /engine/userguide/labels-custom-metadata/
title: Apply custom metadata
- path: /engine/migration/
title: Migrate to Engine 1.10
- path: /engine/breaking_changes/
title: Breaking changes
- path: /engine/deprecated/
title: Deprecated Engine Features
- path: /engine/faq/
title: FAQ
- sectiontitle: Admin Guide
section:
- path: /engine/admin/
@ -941,6 +949,8 @@ reference:
title: upgrade
- sectiontitle: v1.1 reference
section:
- path: /datacenter/ucp/1.1/reference/
title: UCP Tool v1.1 overview
- path: /datacenter/ucp/1.1/reference/backup/
title: backup
- path: /datacenter/ucp/1.1/reference/dump-certs/
@ -983,10 +993,10 @@ reference:
title: SDKs
- path: /engine/api/v1.25/
title: Reference
- sectiontitle: Version history
- sectiontitle: Previous API versions
section:
- path: /engine/api/version-history/
title: Overview
title: Version history overview
- path: /engine/api/v1.24/
title: v1.24 reference
- path: /engine/api/v1.23/
@ -1001,14 +1011,6 @@ reference:
title: v1.19 reference
- path: /engine/api/v1.18/
title: v1.18 reference
- path: /engine/migration/
title: Migrate to Engine 1.10
- path: /engine/breaking_changes/
title: Breaking changes
- path: /engine/deprecated/
title: Deprecated Engine Features
- path: /engine/faq/
title: FAQ
- sectiontitle: Cloud API and stackfile
section:
- path: /apidocs/docker-cloud/
@ -1254,6 +1256,9 @@ manuals:
title: Manage trusted repositories
- path: /datacenter/ucp/2.0/guides/content-trust/continuous-integration/
title: Use trusted images for continuous integration
- path: /datacenter/ucp/2.0/reference/cli/
title: UCP Tool reference
nosync: true
- path: /datacenter/ucp/2.0/guides/support/
title: Get support
- path: /datacenter/ucp/2.0/guides/release-notes/
@ -1322,6 +1327,12 @@ manuals:
title: Push an image
- path: /datacenter/dtr/2.1/guides/repos-and-images/delete-an-image/
title: Delete an image
- path: /datacenter/dtr/2.1/reference/cli/
title: Trusted Registry CLI reference
nosync: true
- path: /datacenter/dtr/2.1/reference/api/
title: Trusted Registry API reference
nosync: true
- path: /datacenter/dtr/2.1/guides/release-notes/
title: Release notes
- path: /datacenter/dtr/2.1/guides/support/
@ -1404,6 +1415,9 @@ manuals:
title: Deploy an app from the UI
- path: /datacenter/ucp/1.1/applications/deploy-app-cli/
title: Deploy an app from the CLI
- path: /datacenter/ucp/1.1/reference/
title: UCP Tool reference
nosync: true
- path: /datacenter/ucp/1.1/support/
title: Get support
- path: /datacenter/ucp/1.1/release_notes/
@ -1506,6 +1520,9 @@ manuals:
title: Trusted Registry release notes
- path: /datacenter/dtr/2.0/release-notes/prior-release-notes/
title: Prior Trusted Registry release notes
- path: /apidocs/v2.0.1/
title: Trusted Registry API v2.0.1 reference
nosync: true
- path: /datacenter/dtr/2.0/support/
title: Get support
- sectiontitle: Docker Cloud
@ -1628,6 +1645,12 @@ manuals:
title: Using Docker Cloud on AWS
- path: /docker-cloud/slack-integration/
title: Docker Cloud notifications in Slack
- path: /apidocs/docker-cloud/
title: Docker Cloud API
nosync: true
- path: /docker-cloud/apps/stack-yaml-reference/
title: Stack file YAML reference
nosync: true
- path: /docker-cloud/installing-cli/
title: The Docker Cloud CLI
- path: /docker-cloud/docker-errors-faq/
@ -1744,10 +1767,21 @@ manuals:
title: Link Environment Variables (deprecated)
- path: /compose/startup-order/
title: Control startup order
- path: /compose/reference/overview/
title: Compose CLI reference
nosync: true
- path: /compose/compose-file/
title: Compose file reference
nosync: true
- path: /compose/faq/
title: Frequently Asked Questions
- title: Docker ID accounts
path: /docker-id/
- sectiontitle: Docker ID
section:
- title: Docker ID accounts
path: /docker-id/
- title: Docker ID accounts API
path: /docker-id/api-reference/
nosync: true
- sectiontitle: Superseded products and tools
section:
- sectiontitle: Docker Hub

View File

@ -3,4 +3,4 @@
{% assign tree = item.section %}{% include tree.html %}
</ul>
{% else %}
<li class="leaf"><a href="{{ item.path }}" class="{% if item.path == page.url %}active currentPage{% endif %}">{{ item.title }}</a></li>{% endif %}{% endif %}{% endfor %}
<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 %}{% endif %}{% endfor %}