Dear all,
I'd like to pass custom variables through the command line with -D. For
this I use the following code:
def setup(app):
app.add_config_value('myVar', value, True)
Now I'd like to reference them in my .rst file using |myVar|, just like for
|version| but I cannot make it work.
Can you tell me how can I achieve this ?
Thanks.
--
You received this message because you are subscribed to the Google Groups
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/sphinx-users/2ded30c4-0231-4d0c-8b3b-69318d654a08%40googlegroups.com.