openstackdocstheme/releasenotes/notes/do-not-display-local-toc-title-without-subtitles-4e1fc48705d66289.yaml
Akihiro Motoki d9bc11a979 Do not display title string of page local TOC
Some pages have no sub titles (the second level of titles or more).
In this case, the title string "Contents" of page local TOC is
completely meaningless and confusing to readers.

It is nice if this title string is shown only when needed.
This can be done by checking 'display_toc' variable in the template.

[1] https://docs.openstack.org/ocata/networking-guide/intro.html

Change-Id: I4803dd7712438eb2cd5fb6084e904bd8c0c98740
2017-07-01 21:29:12 +09:00

6 lines
118 B
YAML

---
fixes:
- |
The title "Contents" of the page local TOC is now displayed
only when a page has sub-titles.