Hello,
I have a program which includes a library
(python package):

myprogram
myprogram/doc/source/index.rst
myprogram/script.py
myprogram/lib/mypackage
myprogram/lib/mypackage/doc/source/index.rst

>From the main documentation in ``myprogram/doc``
I would like to include the documentation of the
library into the builds.
Therefore, I tried to reference to
myprogram/lib/mypackage/doc/source/index.rst

from
myprogram/doc/source/index.rst

by

.. toctree::
   :maxdepth: 3

   ../../lib/mypackage/doc/source/index.rst

But I get an error like:

 (WARNING/2) toctree references unknown document u'lib/mypackage/doc/
source/index'

What am I doing wrong here?

Kind regards,
Timmie

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sphinx-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sphinx-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to