ERROR: Adding a table of contents in Furo-based documentation is unnecessary #618
-
Hi, I get this error message. How do I solve it?
Thanks :) This is my config.py file:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Somewhere in the plugins you are using, there's a 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. |
Beta Was this translation helpful? Give feedback.
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.