2

Here's my index.rst:

Welcome to the documentation!
=============================

.. include:: readme.rst

.. _INTRODUCTION::
.. toctree::
   :maxdepth: 1
   :caption: Introduction

   readme

.. toctree::
   :maxdepth: 1
   :caption: Contents:

   gazetimation


Indices and tables
==================

* :ref:`genindex`

Here what I'm getting:

enter image description here

How do I get rid off the repeating toc below the author section?

bad_coder
  • 11,289
  • 20
  • 44
  • 72
paul-shuvo
  • 1,874
  • 4
  • 33
  • 37

1 Answers1

4

Use the :hidden: option for toctree.

You can also give a “hidden” option to the directive, like this:

.. toctree::
    :hidden:

    doc_1
    doc_2

This will still notify Sphinx of the document hierarchy, but not insert links into the document at the location of the directive – this makes sense if you intend to insert these links yourself, in a different style, or in the HTML sidebar.

Steve Piercy
  • 13,693
  • 1
  • 44
  • 57