On 23/04/2013 05:08, Simon wrote:

I have just created my documentation using Sphinx and this is my problem: Initially in the Toc tree directive is empty and then I add "tutorial" below and it looks like this:

|.. toctree::
    :maxdepth: 2
     tutorial|

And when I "make html",I do not get "tutorial" on the index page.Then I created a tutorial.rst in the same dircetory as index.rst. I do "make html"again and I get this error message: "toctree contains reference to nonexisting document".

How do I fix this ? Thanks.

I think it should be:

.. toctree::
   :maxdepth: 2

   tutorial

Notice the blank line and the alignment.

http://sphinx-doc.org/markup/toctree.html?highlight=toctree#directive-toctree

Werner

--
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sphinx-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to