Revert "[FIX] doc: odoo theme so it's compatible with Sphinx 1.2 / 1.3"
This reverts commit 8151a78aed
.
This breaks accounting memento, will figure out later a proper fix
This commit is contained in:
parent
d760455c94
commit
3929109f8a
@ -2,15 +2,13 @@
|
||||
|
||||
from . import pygments_override
|
||||
from . import switcher
|
||||
from . import translator
|
||||
|
||||
import sphinx.environment
|
||||
import sphinx.builders.html
|
||||
from docutils import nodes
|
||||
def setup(app):
|
||||
if getattr(app.config, 'html_translator_class', None):
|
||||
app.warn("Overriding the explicitly set html_translator_class setting",
|
||||
location="odoo extension")
|
||||
app.config.html_translator_class = 'odoo.translator.BootstrapTranslator'
|
||||
app.set_translator('html', translator.BootstrapTranslator)
|
||||
|
||||
switcher.setup(app)
|
||||
app.add_config_value('odoo_cover_default', None, 'env')
|
||||
|
Loading…
Reference in New Issue
Block a user