Timmie schrieb:

>>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?

Sphinx requires that all documentation in one project is contained in
a single directory tree.

In your case, you can achieve that by using symlinks. However, I don't
really see the value of splitting the docs up like that.

Georg

--~--~---------~--~----~------------~-------~--~----~
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