Can I have page-local value of a conf variable (normally found in conf.py
)?
For example, I have
hyphenator_language = "en-us"
in conf.py
. Can I have it
hyphenator_language = "ru"
for a given ReST page of the sphinx document?
Can I have page-local value of a conf variable (normally found in conf.py
)?
For example, I have
hyphenator_language = "en-us"
in conf.py
. Can I have it
hyphenator_language = "ru"
for a given ReST page of the sphinx document?
As far as I know there's no general way to do this for an arbitrary config variable, but in your case, for hyphenator in particular, you have a couple of options:
raw
directive) to inject a script tag that would set the language on that page.