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

On 25/05/12 23:34, Roger Binns wrote:
> Does anyone have any guidance on how to get Sphinx to play nicely with 
> ifconfig and toctree?

I'm encountering yet more issues.  This generates a warning about
undefined label abc when debug is False.

  normal

  .. ifconfig:: debug

     This doesn't show up.  :ref:`abc`

The warning is nonsensical - the section is not included and I have
verified the text is not present in the output.

It seems to me that ifconfig is virtually useless only working in the most
trivial of circumstances.

It looks like the only solution will be a preprocessor that copies the
source files and evaluates the ifconfig itself completely omitting or
deindenting as appropriate.

Roger
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEARECAAYFAk/DGL4ACgkQmOOfHg372QT7GQCePRkIRnb7CFgo9HAd+PVF/Yzb
PRwAnR6QmCqa5uqOQiejVN2Fd2mNrbvc
=o8pw
-----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-dev@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