Re: [sphinx-dev] How do I use output a config value in my .rst files?

2012-04-24 Thread sharon
I'm driving at the moment and a voice just read me your email out loud. I can't reply right now. I'm using an app called Text'nDrive to avoid touching my phone while driving. If you also want to reduce the risks of texting while driving, install the app for free at www.textndrive.com/download/

Re: [sphinx-dev] How do I use output a config value in my .rst files?

2012-04-22 Thread TP
On Sun, Apr 22, 2012 at 6:14 AM, Doug Hellmann wrote: > In your case, you probably want to build a custom role processor Or perhaps use the standard sphinx.ext.extlinks extension [1]. [1] http://sphinx.pocoo.org/ext/extlinks.html -- You received this message because you are subscribed to the G

Re: [sphinx-dev] How do I use output a config value in my .rst files?

2012-04-22 Thread Doug Hellmann
Hi, Matt, I don't think there is a way to spit out the value of the variable in core Sphinx (though that would be useful). In your case, you probably want to build a custom role processor (http://www.doughellmann.com/articles/how-tos/sphinx-custom-roles/index.html). Then you could include text

[sphinx-dev] How do I use output a config value in my .rst files?

2012-04-11 Thread Matt Culbreth
Hi, I've got the following in my conf.py: def setup(app): app.add_config_value('base_url','http://localhost:2000', True) How do I get this now into my .rst files? I have code like the following: :base_url:/my_app/api/application/ But this doesn't print a nice URL, but instead p