Hi all,

I experimented with the ifconfig extension, and it looks like, in
order to create a new variable, you need to do the following in
conf.py:

myvar = 1

def setup(app):
    app.add_config_value('myvar', myvar, True)

If I leave out the first or the second definitions of myvar, then
Sphinx complains.  Is this the way it's supposed to work?  If so, I'll
write a patch to the docs to describe it more clearly.

Thanks
Stéfan

--~--~---------~--~----~------------~-------~--~----~
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