efultz
efultz

Reputation: 1265

Sphinx toctree contains reference to nonexisting document

I am very new to Sphinx. Doc says it is easy to set up - maybe so but I am having a bear of a time. I finally have .rst files being created but while I have updated index.rst I am getting this error. I confirmed the .rst files exist in the /docs directory. Below are the syspath from my conf.py and the index.

I have tried all of these combinations without success - the .rst files reside in /home/efultz/src/Sicom2.0/docs

sys.path.insert(0, os.path.abspath('/home/efultz/src/Sicom2.0/'))
sys.path.insert(0, os.path.abspath('/home/efultz/src/Sicom2.0/docs'))
sys.path.insert(0, os.path.abspath('.'))
sys.path.insert(0, os.path.abspath('../'))
sys.path.insert(0, os.path.abspath('../..'))
sys.path.insert(0, '/home/efultz/src/Sicom2.0/')

I have the following in the index.rst - I have confirmed there are only 3 spaces before the individual filenames

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

   Base
   BaseAPI
   EventLogger
   SICOMToConnex
   SICOMToConnexAPI
   SICOMToConnexAPIProduct
   SICOMToConnexDemo
   SICOMToConnexParser
   SICOMToConnexParserAPI
   SICOMToConnexParserAPIProduct
   product
   modules

Upvotes: 3

Views: 3993

Answers (1)

efultz
efultz

Reputation: 1265

I found by configuring to use the same directory instead of splitting directories when the .RST files were created they were where they needed to be.

Upvotes: 3

Related Questions