Skip to content

ERROR: Adding a table of contents in Furo-based documentation is unnecessary #618

Closed Answered by pradyunsg
valeriofantozzi asked this question in Questions
Discussion options

You must be logged in to vote

Somewhere in the plugins you are using, there's a .. contents:: directive for reStructuredText involved. This creates a table of contents for the page. However, Furo includes a table of contents already in the sidebar. It is, thus, recommended to either (a) removing the .. contents:: or (b) setting this attribute by having :class: this-will-duplicate-information-and-it-is-still-useful-here.

In your case, you'll need to explore how/where the directie is being used in your documentation, what's generating it, and remove it or add the line I mentioned above to it for your documentation set.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@valeriofantozzi
Comment options

Answer selected by pradyunsg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants