In my index.rst, I have the default TOC options from sphinx, and I'm also 
including my repo's README file into the page itself with:

Sensor Motion
-------------

.. toctree::
   :maxdepth: 2
   :caption: Contents:

.. include:: ../README.rst
   :start-after: inclusion-marker-main-readme

Index & Modules
---------------

* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`


What I want to do is include a link to my module/submodule list (
https://github.com/sho-87/sensormotion/blob/master/docs/source/sensormotion.rst)
 
in the index TOC, without displaying the actual contents on the page (links 
to submodules are OK)

If I add source/sensormotion to my index toctree, all of my README headings 
disappear from the toc

Whats the correct way to do this?

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sphinx-users+unsubscr...@googlegroups.com.
To post to this group, send email to sphinx-users@googlegroups.com.
Visit this group at https://groups.google.com/group/sphinx-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to