Ok found the way to do it, so simple in fact :) Just link the pages and
Sphinx will gather everything alone:

Contents:

.. toctree::
  :maxdepth: 3
  :numbered:

  Introduction </resources/pages/introduction>
  Features </resources/pages/features>
  Installation </resources/pages/installation>

Cheers,

Thomas

2011/7/18 Thomas Mansencal <[email protected]>

> Hi,
>
> I would like to know how to link to an internal tag from the Toctree,
> I have something running at the moment but a lot of warnings like this
> are generated:
>
> /Users/KelSolaar/Documents/Developement/sIBL_GUI/support/documentation/
> sphinx/source/index.rst:6: (WARNING/2) toctree contains reference to
> nonexisting document u'resources/pages/installation/Windows Platform'
>
> /Users/KelSolaar/Documents/Developement/sIBL_GUI/support/documentation/
> sphinx/source/index.rst:6: (WARNING/2) toctree contains reference to
> nonexisting document u'resources/pages/installation/Mac Os X Platform'
>
> /Users/KelSolaar/Documents/Developement/sIBL_GUI/support/documentation/
> sphinx/source/index.rst:6: (WARNING/2) toctree contains reference to
> nonexisting document u'resources/pages/installation/Linux Platform'
>
>
> Here is my Toctree:
>
>
> Contents:
>
> .. toctree::
>   :maxdepth: 3
>   :numbered:
>
>   Introduction </resources/pages/introduction>
>   Features </resources/pages/features>
>   Installation </resources/pages/installation>
>
>      Windows Platform </resources/pages/installation/Windows
> Platform>
>      Mac Os X Platform </resources/pages/installation/Mac Os X
> Platform>
>      Linux Platform </resources/pages/installation/Linux Platform>
>
> introduction, features and installation are .rst files, however
> Windows Platform, Mac Os X Platform, Linux Platform are internal
> targets:
>
> _`Windows Platform`
> -------------------
>
> _`Mac Os X Platform`
> --------------------
>
> _`Linux Platform`
> -----------------
>
> I tried different flavors:
>
>      Windows Platform </resources/pages/installation/`Windows
> Platform`_>
>      Windows Platform </resources/pages/installation/<`Windows
> Platform`_>>
>      Windows Platform </resources/pages/installation/`<Windows
> Platform>`_>
>      Windows Platform <`Windows Platform`_>
>      Windows Platform `Windows Platform`_
>
> But I'm having warnings each time though the navigation of the pages
> generated is correct.
> If someone can shed some light on this, I would be glad :)
>
> Cheers,
>
> Thomas
>

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