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:
Sebastiaan van Stijn
2019-09-03 22:05:18 +02:00
parent b34cf6b8c1
commit 5d85af7501
2 changed files with 2 additions and 6 deletions

View File

@@ -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/

View File

@@ -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 %}