[CHG] initial port to new theme
This commit is contained in:
@@ -17,7 +17,7 @@ import os
|
||||
DIR = os.path.dirname(__file__)
|
||||
sys.path.insert(
|
||||
0, os.path.abspath(
|
||||
os.path.join(DIR, '_themes')))
|
||||
os.path.join(DIR, '_extensions')))
|
||||
|
||||
# -- General configuration ------------------------------------------------
|
||||
|
||||
@@ -30,7 +30,8 @@ sys.path.insert(
|
||||
extensions = [
|
||||
'sphinx.ext.ifconfig',
|
||||
'sphinx.ext.todo',
|
||||
'odoodoc',
|
||||
'odoo',
|
||||
'html_domain',
|
||||
]
|
||||
|
||||
# Add any paths that contain templates here, relative to this directory.
|
||||
@@ -101,7 +102,7 @@ pygments_style = 'odoo'
|
||||
|
||||
# The theme to use for HTML and HTML Help pages. See the documentation for
|
||||
# a list of builtin themes.
|
||||
html_theme = 'odoodoc'
|
||||
html_theme = 'odoo'
|
||||
|
||||
# Theme options are theme-specific and customize the look and feel of a theme
|
||||
# further. For a list of options available for each theme, see the
|
||||
@@ -111,7 +112,7 @@ html_theme_options = {
|
||||
}
|
||||
|
||||
# Add any paths that contain custom themes here, relative to this directory.
|
||||
html_theme_path = ['_themes']
|
||||
html_theme_path = ['_extensions']
|
||||
|
||||
# The name for this set of Sphinx documents. If None, it defaults to
|
||||
# "<project> v<release> documentation".
|
||||
@@ -133,7 +134,6 @@ html_theme_path = ['_themes']
|
||||
# relative to this directory. They are copied after the builtin static files,
|
||||
# so a file named "default.css" will overwrite the builtin "default.css".
|
||||
html_static_path = ['_static']
|
||||
html_style = 'odoodoc.css'
|
||||
html_add_permalinks = ''
|
||||
|
||||
# Add any extra paths that contain custom files (such as robots.txt or
|
||||
|
||||
Reference in New Issue
Block a user