sphinx-themes / sphinx-themes.org

A showcase for Sphinx documentation themes
https://sphinx-themes.org
BSD 2-Clause "Simplified" License
234 stars 44 forks source link

Populate .. contents:: directive with actual contents #84

Closed latosha-maltba closed 3 years ago

latosha-maltba commented 3 years ago

The .. contents:: directive had the option :local: but had no subsections in its section, thus the table of contents was empty. Remove the .. contents:: directive section and merge it with its super section which contains further subsections so that some content is produced. Also suppress backlinks to not make the subsections headers a link back to this .. contents:: directive. The link markup destroys the header markup and does not look pretty.

Fixes: issue #68

latosha-maltba commented 3 years ago

There you go. But don't complain if the subheaders look out of place compared to other headers. ;-)