mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Add SphinxTranslator as an abstract class
This commit is contained in:
@@ -35,6 +35,7 @@ def settings(app):
|
||||
settings.smart_quotes = True
|
||||
settings.env = app.builder.env
|
||||
settings.env.temp_data['docname'] = 'dummy'
|
||||
settings.contentsname = 'dummy'
|
||||
domain_context = sphinx_domains(settings.env)
|
||||
domain_context.enable()
|
||||
yield settings
|
||||
|
Reference in New Issue
Block a user