Hi,

You can refer the config object using 
"self.state.document.settings.env.config" in Directive.run() method.

Thanks,
Takeshi KOMIYA


2016年7月9日土曜日 7時53分37秒 UTC+9 Ryszard Kubiak:
>
> Hi everybody,
>
> I wonder if config values, the ones defined in the conf.py file, can be 
> reached somehow from inside the body of the run method of a new directive 
> definition. I am after something in the spirit of LaTeXTranslator objects' 
> self.builder.config. I am using Sphinx 1.3.3.
>
> Best Regards,
> Ryszard
>
>
>
>
>
>
>
>

-- 
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sphinx-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to