that is really tricky.. but works.

maybe sphinx will support custom rst path feature?

On Jan 2, 10:16 pm, Georg Brandl <ge...@python.org> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Am 02.01.2011 11:57, schrieb Pavel Solin:
>
> > Hi,
> >   I have Sphinx docs for my project in a directory
> > /home/pavel/repos/hermes/doc/. I tried to move a file
> > /home/pavel/repos/hermes/doc/src/hermes2d/tutorial-1/mesh.rst
> > to another location
> > /home/pavel/repos/hermes/hermes2d/tutorial/01-mesh/doc/
> > (to be in the directory with the actual tutorial example).
>
> > However, then the file is not found. Trying to get to it using
> > a relative path such as
> > "../../../hermes2d/tutorial/01-mesh/doc/mesh" does not help.
>
> > Can this be done? Any hints would be appreciated.
>
> It can be done, but with a trick:  leave a .rst file under /doc
> and put only
>
> .. include:: ../relative/path/to/mesh.rst
>
> into it.
>
> Georg
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.16 (GNU/Linux)
>
> iEYEARECAAYFAk0giNUACgkQN9GcIYhpnLD+RwCfQcS6QzbXiRs4fQUF0Jp8rsO4
> ulkAn0ZR6auPgBC5alkq+Ty5hx5j+Wdy
> =0RET
> -----END PGP SIGNATURE-----

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

Reply via email to