mirror of
https://github.com/docker/docs.git
synced 2026-03-27 22:38:54 +07:00
Change library references navigation to an anchor
Don't generate a TOC Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
@@ -1257,9 +1257,8 @@ reference:
|
||||
samples:
|
||||
- path: /samples/#tutorial-labs
|
||||
title: Tutorial labs
|
||||
- sectiontitle: Library references
|
||||
section:
|
||||
- generateTOC: library
|
||||
- path: /samples/#library-references
|
||||
title: Library references
|
||||
- sectiontitle: Sample applications
|
||||
section:
|
||||
- path: /samples/
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
{% if include.tocToGenerate=="library"%}{% for thisPage in site.samples %}
|
||||
<li><a href="{{ thisPage.url}}"{% if page.url==thisPage.url %}{% assign topicFound="true" %} class="active currentPage"{% endif %}>{{ thisPage.title }}</a></li>
|
||||
{% endfor %}{% endif %}
|
||||
Reference in New Issue
Block a user