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: 2
   :glob:

   modules/**


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

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

Support multiple levels of directories in the sphinx project sources.
Support multiple levels of directories in the sphinx project sources.

If chpldoc is run from $CHPL_HOME or even $CHPL_HOME/modules, the rst files
will be put in sub directories matching the directory structure
(e.g. modules/standard/ or standard/, respectively).

Update the toctree in index.rst to grab rst files at all depths.
