Paul Johnston schrieb: > Hi, > > Sorry if these are FAQs, couldn't easily find answers: > > 1) On a page I want to have a link to a sibling. At the moment I'm > doing this the long hand way: > > Here is a link to `title of the other page`_ > .. title of the other page: page.html > > Is there an easier way?
As Case said, there is :ref:. In the trunk version, there is also :doc: which does not require a label in the other document. > 2) Can I use toctree just within a single file? > The page doesn't have any children, I just want links to the headers. > I tried this: > > --------- > This tutorial will describe how to use tw.forms in a practical > application. As an example, we're going to implement part of a movie > database. We will cover: > > .. toctree:: > :maxdepth: 2 > > Before starting this tutorial, you must have completed the tutorial on > `enabling ToscaWidgets in your web framework`_. This tutorial will > build on the application you started there. > ----------- > > I get this: > > WARNING: C:\code\tw.forms\docs\tutorials\sample_form.rst:95: (WARNING/ > 2) Definition list ends without a blank line; unexpected unindent. > > And the TOC just doesn't appear. If you want a local TOC, you use the standard reST "contents" directive: .. contents:: :depth: 2 cheers, 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 -~----------~----~----~----~------~----~------~--~---
