From 5d85af7501ac59595dea214ec5c3ca945595ba42 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Tue, 3 Sep 2019 22:05:18 +0200 Subject: [PATCH] Change library references navigation to an anchor Don't generate a TOC Signed-off-by: Sebastiaan van Stijn --- _data/toc.yaml | 5 ++--- _includes/generateTOC.html | 3 --- 2 files changed, 2 insertions(+), 6 deletions(-) delete mode 100644 _includes/generateTOC.html diff --git a/_data/toc.yaml b/_data/toc.yaml index 87abea92c3..82c74a4d4b 100644 --- a/_data/toc.yaml +++ b/_data/toc.yaml @@ -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/ diff --git a/_includes/generateTOC.html b/_includes/generateTOC.html deleted file mode 100644 index d4db0fe9eb..0000000000 --- a/_includes/generateTOC.html +++ /dev/null @@ -1,3 +0,0 @@ -{% if include.tocToGenerate=="library"%}{% for thisPage in site.samples %} -
  • {{ thisPage.title }}
  • -{% endfor %}{% endif %}