chpldoc documentation
=====================

Contents:

.. toctree::
   :hidden:

   self

.. toctree::
   :maxdepth: 2
   :glob:

   modules/**


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

* :ref:`genindex`
* :chpl:chplref:`chplmodindex`
* :ref:`search`

chpldoc documentation
=====================

Contents:

.. toctree::
   :hidden:

   self

.. toctree::
   :maxdepth: 1
   :glob:

   modules/**


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

* :ref:`genindex`
* :chpl:chplref:`chplmodindex`
* :ref:`search`

Set depth to 1 on toplevel toctree in sphinx project.
Set depth to 1 on toplevel toctree in sphinx project.

This will only show the top level titles for the modules. Previously the first
level subtitles were included, which is not very helpful and makes the TOC
harder to use.
