Describe the bug
Some pages appears twice in the navigation even though they're mentioned only once in the toc.yml file. For example:

I see this happenening in places of the toc like
- toc: elasticsearch/docs/reference/elasticsearch-plugins
... which references https://github.com/elastic/asciidocalypse/blob/reference/docs/elasticsearch/docs/reference/elasticsearch-plugins/toc.yml
The first file referenced in that toc.yml is shown twice:
toc:
- file: elasticsearch-plugins.md
I searched on the navigation title just to be sure there wasn't a duplicate file lurking.
Expected behavior
I expected these pages to be used for the section in the navigation, but not to re-appear within that section.
Steps to reproduce
Build the reference branch: https://github.com/elastic/asciidocalypse/tree/reference
Tooling
Describe the bug
Some pages appears twice in the navigation even though they're mentioned only once in the
toc.ymlfile. For example:I see this happenening in places of the toc like
... which references https://github.com/elastic/asciidocalypse/blob/reference/docs/elasticsearch/docs/reference/elasticsearch-plugins/toc.yml
The first file referenced in that
toc.ymlis shown twice:I searched on the navigation title just to be sure there wasn't a duplicate file lurking.
Expected behavior
I expected these pages to be used for the section in the navigation, but not to re-appear within that section.
Steps to reproduce
Build the
referencebranch: https://github.com/elastic/asciidocalypse/tree/referenceTooling