-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am 18.02.2010 14:44, schrieb Nick Berry:
> Hi
> 
> I'm using Sphinx to build a documentation website and have been very
> impressed with it.
> 
> The documentation I am using consists of mostly rst files but there
> are also some pdf files which I would like to include on the website.
> Is there a way that I can tell sphinx to include pdfs in the TOC and
> copy them to the relevant directory when it builds the html?

Not to directly put them in the TOC, but you can use the :download: role
to automatically copy them to the build directory.

You can then either list the PDF downloads in a separate bullet list, or
mention them via :download: somewhere, and then add links to them in the
toctree as well.

cheers,
Georg
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)

iEYEARECAAYFAkuBT8EACgkQN9GcIYhpnLCY6wCfch3YyY6/yyRd3X8ZQ2WsPbc5
+7oAoIKRkmz3NljJR+qNQ8PIBHbqUWVw
=gkcr
-----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 [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