diff --git a/developer/_static/banners/actions.jpg b/_static/banners/actions.jpg similarity index 100% rename from developer/_static/banners/actions.jpg rename to _static/banners/actions.jpg diff --git a/developer/_static/banners/actions.small.jpg b/_static/banners/actions.small.jpg similarity index 100% rename from developer/_static/banners/actions.small.jpg rename to _static/banners/actions.small.jpg diff --git a/developer/_static/banners/build_a_module.jpg b/_static/banners/build_a_module.jpg similarity index 100% rename from developer/_static/banners/build_a_module.jpg rename to _static/banners/build_a_module.jpg diff --git a/developer/_static/banners/build_a_module.small.jpg b/_static/banners/build_a_module.small.jpg similarity index 100% rename from developer/_static/banners/build_a_module.small.jpg rename to _static/banners/build_a_module.small.jpg diff --git a/developer/_static/banners/build_a_theme.jpg b/_static/banners/build_a_theme.jpg similarity index 100% rename from developer/_static/banners/build_a_theme.jpg rename to _static/banners/build_a_theme.jpg diff --git a/developer/_static/banners/build_a_theme.small.jpg b/_static/banners/build_a_theme.small.jpg similarity index 100% rename from developer/_static/banners/build_a_theme.small.jpg rename to _static/banners/build_a_theme.small.jpg diff --git a/developer/_static/banners/build_a_website.jpg b/_static/banners/build_a_website.jpg similarity index 100% rename from developer/_static/banners/build_a_website.jpg rename to _static/banners/build_a_website.jpg diff --git a/developer/_static/banners/build_a_website.small.jpg b/_static/banners/build_a_website.small.jpg similarity index 100% rename from developer/_static/banners/build_a_website.small.jpg rename to _static/banners/build_a_website.small.jpg diff --git a/developer/_static/banners/build_interface_ext.jpg b/_static/banners/build_interface_ext.jpg similarity index 100% rename from developer/_static/banners/build_interface_ext.jpg rename to _static/banners/build_interface_ext.jpg diff --git a/developer/_static/banners/build_interface_ext.small.jpg b/_static/banners/build_interface_ext.small.jpg similarity index 100% rename from developer/_static/banners/build_interface_ext.small.jpg rename to _static/banners/build_interface_ext.small.jpg diff --git a/developer/_static/banners/cdn.jpg b/_static/banners/cdn.jpg similarity index 100% rename from developer/_static/banners/cdn.jpg rename to _static/banners/cdn.jpg diff --git a/developer/_static/banners/cdn.small.jpg b/_static/banners/cdn.small.jpg similarity index 100% rename from developer/_static/banners/cdn.small.jpg rename to _static/banners/cdn.small.jpg diff --git a/developer/_static/banners/cmdline.jpg b/_static/banners/cmdline.jpg similarity index 100% rename from developer/_static/banners/cmdline.jpg rename to _static/banners/cmdline.jpg diff --git a/developer/_static/banners/cmdline.small.jpg b/_static/banners/cmdline.small.jpg similarity index 100% rename from developer/_static/banners/cmdline.small.jpg rename to _static/banners/cmdline.small.jpg diff --git a/developer/_static/banners/company.jpg b/_static/banners/company.jpg similarity index 100% rename from developer/_static/banners/company.jpg rename to _static/banners/company.jpg diff --git a/developer/_static/banners/data_files.jpg b/_static/banners/data_files.jpg similarity index 100% rename from developer/_static/banners/data_files.jpg rename to _static/banners/data_files.jpg diff --git a/developer/_static/banners/data_files.small.jpg b/_static/banners/data_files.small.jpg similarity index 100% rename from developer/_static/banners/data_files.small.jpg rename to _static/banners/data_files.small.jpg diff --git a/developer/_static/banners/deploying_odoo.jpg b/_static/banners/deploying_odoo.jpg similarity index 100% rename from developer/_static/banners/deploying_odoo.jpg rename to _static/banners/deploying_odoo.jpg diff --git a/developer/_static/banners/deploying_odoo.small.jpg b/_static/banners/deploying_odoo.small.jpg similarity index 100% rename from developer/_static/banners/deploying_odoo.small.jpg rename to _static/banners/deploying_odoo.small.jpg diff --git a/developer/_static/banners/email_gateway.jpg b/_static/banners/email_gateway.jpg similarity index 100% rename from developer/_static/banners/email_gateway.jpg rename to _static/banners/email_gateway.jpg diff --git a/developer/_static/banners/email_gateway.small.jpg b/_static/banners/email_gateway.small.jpg similarity index 100% rename from developer/_static/banners/email_gateway.small.jpg rename to _static/banners/email_gateway.small.jpg diff --git a/developer/_static/banners/enterprise.jpg b/_static/banners/enterprise.jpg similarity index 100% rename from developer/_static/banners/enterprise.jpg rename to _static/banners/enterprise.jpg diff --git a/developer/_static/banners/enterprise.small.jpg b/_static/banners/enterprise.small.jpg similarity index 100% rename from developer/_static/banners/enterprise.small.jpg rename to _static/banners/enterprise.small.jpg diff --git a/developer/_static/banners/iap.jpg b/_static/banners/iap.jpg similarity index 100% rename from developer/_static/banners/iap.jpg rename to _static/banners/iap.jpg diff --git a/developer/_static/banners/iap.small.jpg b/_static/banners/iap.small.jpg similarity index 100% rename from developer/_static/banners/iap.small.jpg rename to _static/banners/iap.small.jpg diff --git a/developer/_static/banners/index.jpg b/_static/banners/index.jpg similarity index 100% rename from developer/_static/banners/index.jpg rename to _static/banners/index.jpg diff --git a/developer/_static/banners/installing_odoo.jpg b/_static/banners/installing_odoo.jpg similarity index 100% rename from developer/_static/banners/installing_odoo.jpg rename to _static/banners/installing_odoo.jpg diff --git a/developer/_static/banners/installing_odoo.small.jpg b/_static/banners/installing_odoo.small.jpg similarity index 100% rename from developer/_static/banners/installing_odoo.small.jpg rename to _static/banners/installing_odoo.small.jpg diff --git a/developer/_static/banners/iot.jpg b/_static/banners/iot.jpg similarity index 100% rename from developer/_static/banners/iot.jpg rename to _static/banners/iot.jpg diff --git a/developer/_static/banners/javascript.jpg b/_static/banners/javascript.jpg similarity index 100% rename from developer/_static/banners/javascript.jpg rename to _static/banners/javascript.jpg diff --git a/developer/_static/banners/javascript.small.jpg b/_static/banners/javascript.small.jpg similarity index 100% rename from developer/_static/banners/javascript.small.jpg rename to _static/banners/javascript.small.jpg diff --git a/developer/_static/banners/localization.jpg b/_static/banners/localization.jpg similarity index 100% rename from developer/_static/banners/localization.jpg rename to _static/banners/localization.jpg diff --git a/developer/_static/banners/m_1.small.jpg b/_static/banners/m_1.small.jpg similarity index 100% rename from developer/_static/banners/m_1.small.jpg rename to _static/banners/m_1.small.jpg diff --git a/developer/_static/banners/m_2.small.jpg b/_static/banners/m_2.small.jpg similarity index 100% rename from developer/_static/banners/m_2.small.jpg rename to _static/banners/m_2.small.jpg diff --git a/developer/_static/banners/m_accounting.small.jpg b/_static/banners/m_accounting.small.jpg similarity index 100% rename from developer/_static/banners/m_accounting.small.jpg rename to _static/banners/m_accounting.small.jpg diff --git a/developer/_static/banners/mixins.jpg b/_static/banners/mixins.jpg similarity index 100% rename from developer/_static/banners/mixins.jpg rename to _static/banners/mixins.jpg diff --git a/developer/_static/banners/mixins.small.jpg b/_static/banners/mixins.small.jpg similarity index 100% rename from developer/_static/banners/mixins.small.jpg rename to _static/banners/mixins.small.jpg diff --git a/developer/_static/banners/mobile.jpg b/_static/banners/mobile.jpg similarity index 100% rename from developer/_static/banners/mobile.jpg rename to _static/banners/mobile.jpg diff --git a/developer/_static/banners/module.jpg b/_static/banners/module.jpg similarity index 100% rename from developer/_static/banners/module.jpg rename to _static/banners/module.jpg diff --git a/developer/_static/banners/module.small.jpg b/_static/banners/module.small.jpg similarity index 100% rename from developer/_static/banners/module.small.jpg rename to _static/banners/module.small.jpg diff --git a/developer/_static/banners/odoo_guideline.jpg b/_static/banners/odoo_guideline.jpg similarity index 100% rename from developer/_static/banners/odoo_guideline.jpg rename to _static/banners/odoo_guideline.jpg diff --git a/developer/_static/banners/odoo_guideline.small.jpg b/_static/banners/odoo_guideline.small.jpg similarity index 100% rename from developer/_static/banners/odoo_guideline.small.jpg rename to _static/banners/odoo_guideline.small.jpg diff --git a/developer/_static/banners/orm_api.jpg b/_static/banners/orm_api.jpg similarity index 100% rename from developer/_static/banners/orm_api.jpg rename to _static/banners/orm_api.jpg diff --git a/developer/_static/banners/orm_api.small.jpg b/_static/banners/orm_api.small.jpg similarity index 100% rename from developer/_static/banners/orm_api.small.jpg rename to _static/banners/orm_api.small.jpg diff --git a/developer/_static/banners/qweb.jpg b/_static/banners/qweb.jpg similarity index 100% rename from developer/_static/banners/qweb.jpg rename to _static/banners/qweb.jpg diff --git a/developer/_static/banners/qweb.small.jpg b/_static/banners/qweb.small.jpg similarity index 100% rename from developer/_static/banners/qweb.small.jpg rename to _static/banners/qweb.small.jpg diff --git a/developer/_static/banners/reports.jpg b/_static/banners/reports.jpg similarity index 100% rename from developer/_static/banners/reports.jpg rename to _static/banners/reports.jpg diff --git a/developer/_static/banners/reports.small.jpg b/_static/banners/reports.small.jpg similarity index 100% rename from developer/_static/banners/reports.small.jpg rename to _static/banners/reports.small.jpg diff --git a/developer/_static/banners/security.jpg b/_static/banners/security.jpg similarity index 100% rename from developer/_static/banners/security.jpg rename to _static/banners/security.jpg diff --git a/developer/_static/banners/security.small.jpg b/_static/banners/security.small.jpg similarity index 100% rename from developer/_static/banners/security.small.jpg rename to _static/banners/security.small.jpg diff --git a/developer/_static/banners/testing_modules.jpg b/_static/banners/testing_modules.jpg similarity index 100% rename from developer/_static/banners/testing_modules.jpg rename to _static/banners/testing_modules.jpg diff --git a/developer/_static/banners/testing_modules.small.jpg b/_static/banners/testing_modules.small.jpg similarity index 100% rename from developer/_static/banners/testing_modules.small.jpg rename to _static/banners/testing_modules.small.jpg diff --git a/developer/_static/banners/translate.jpg b/_static/banners/translate.jpg similarity index 100% rename from developer/_static/banners/translate.jpg rename to _static/banners/translate.jpg diff --git a/developer/_static/banners/translate.small.jpg b/_static/banners/translate.small.jpg similarity index 100% rename from developer/_static/banners/translate.small.jpg rename to _static/banners/translate.small.jpg diff --git a/developer/_static/banners/upgrade_api.jpg b/_static/banners/upgrade_api.jpg similarity index 100% rename from developer/_static/banners/upgrade_api.jpg rename to _static/banners/upgrade_api.jpg diff --git a/developer/_static/banners/views.jpg b/_static/banners/views.jpg similarity index 100% rename from developer/_static/banners/views.jpg rename to _static/banners/views.jpg diff --git a/developer/_static/banners/views.small.jpg b/_static/banners/views.small.jpg similarity index 100% rename from developer/_static/banners/views.small.jpg rename to _static/banners/views.small.jpg diff --git a/developer/_static/banners/web_controllers.jpg b/_static/banners/web_controllers.jpg similarity index 100% rename from developer/_static/banners/web_controllers.jpg rename to _static/banners/web_controllers.jpg diff --git a/developer/_static/banners/web_controllers.small.jpg b/_static/banners/web_controllers.small.jpg similarity index 100% rename from developer/_static/banners/web_controllers.small.jpg rename to _static/banners/web_controllers.small.jpg diff --git a/developer/_static/banners/web_service_api.jpg b/_static/banners/web_service_api.jpg similarity index 100% rename from developer/_static/banners/web_service_api.jpg rename to _static/banners/web_service_api.jpg diff --git a/developer/_static/banners/web_service_api.small.jpg b/_static/banners/web_service_api.small.jpg similarity index 100% rename from developer/_static/banners/web_service_api.small.jpg rename to _static/banners/web_service_api.small.jpg diff --git a/developer/_static/issue_template.md b/_static/issue_template.md similarity index 100% rename from developer/_static/issue_template.md rename to _static/issue_template.md diff --git a/developer/_static/odoo.css b/_static/odoo.css similarity index 100% rename from developer/_static/odoo.css rename to _static/odoo.css diff --git a/developer/_static/pull-request-version.png b/_static/pull-request-version.png similarity index 100% rename from developer/_static/pull-request-version.png rename to _static/pull-request-version.png diff --git a/conf.py b/conf.py index 67464fbe1..b27559e7b 100644 --- a/conf.py +++ b/conf.py @@ -143,8 +143,7 @@ html_theme_path = ['_extensions'] # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files, # so a file named "default.css" will overwrite the builtin "default.css". -# VFE TODO merge _static folders -html_static_path = ['_static', 'developer/_static'] +html_static_path = ['_static'] html_add_permalinks = '' # Add any extra paths that contain custom files (such as robots.txt or @@ -244,15 +243,14 @@ latex_documents = [ # The name of an image file (relative to this directory) to place at the top of # the title page. -# VFE TODO _static folder shared by two docs for some generic files ? -latex_logo = 'user/_static/banners/odoo_logo.png' +latex_logo = '_static/banners/odoo_logo.png' # default must be set otherwise ifconfig blows up todo_include_todos = False intersphinx_mapping = { 'python': ('https://docs.python.org/3/', None), - 'werkzeug': ('http://werkzeug.pocoo.org/docs/', None), + 'werkzeug': ('http://werkzeug.pocoo.org/docs/', None), # VFE TODO https url for werkzeug } github_user = 'odoo' diff --git a/developer/conf.py b/developer/conf.py deleted file mode 100644 index 8cba66544..000000000 --- a/developer/conf.py +++ /dev/null @@ -1,241 +0,0 @@ -# -*- coding: utf-8 -*- -import sys, os -import sphinx - -# If extensions (or modules to document with autodoc) are in another directory, -# add these directories to sys.path here. If the directory is relative to the -# documentation root, use os.path.abspath to make it absolute, like shown here. -DIR = os.path.dirname(__file__) -sys.path.insert(0, - os.path.abspath( - os.path.join(DIR, '_extensions'))) -# put current odoo's source on PYTHONPATH for autodoc -sys.path.insert(0, os.path.abspath(os.path.join(DIR, '../../odoo'))) - -# -- General configuration ----------------------------------------------------- - -# If your documentation needs a minimal Sphinx version, state it here. -needs_sphinx = '1.2' - -# Add any Sphinx extension module names here, as strings. They can be extensions -# coming with Sphinx (named 'sphinx.ext.*') or your custom ones. -extensions = [ - 'sphinx.ext.ifconfig', - 'sphinx.ext.todo', - 'sphinx.ext.autodoc', - 'sphinx.ext.intersphinx', - 'sphinx.ext.linkcode', - # 'autojsdoc.ext', - 'github_link', - 'odoo_ext', - 'html_domain', - 'exercise_admonition', - 'patchqueue' -] - -# Add any paths that contain templates here, relative to this directory. -templates_path = ['_templates'] - -# The suffix of source filenames. -source_suffix = '.rst' - -# The encoding of source files. -#source_encoding = 'utf-8-sig' - -# The master toctree document. -master_doc = 'index' - -# General information about the project. -project = u'odoo' -copyright = u'Odoo S.A.' - -# The version info for the project you're documenting, acts as replacement for -# |version| and |release|, also used in various other places throughout the -# built documents. -# -# The short X.Y version. -version = '13.0' -# The full version, including alpha/beta/rc tags. -release = '13.0' - -# There are two options for replacing |today|: either, you set today to some -# non-false value, then it is used: -#today = '' -# Else, today_fmt is used as the format for a strftime call. -today_fmt = '%B %d, %Y' - -# List of patterns, relative to source directory, that match files and -# directories to ignore when looking for source files. -exclude_patterns = ['_build'] - -# markdown compatibility: make `foo` behave like ``foo``, the rst default is -# title-reference which is never what people are looking for -default_role = 'literal' - -# If true, '()' will be appended to :func: etc. cross-reference text. -add_function_parentheses = True - -# If true, the current module name will be prepended to all description -# unit titles (such as .. function::). -#add_module_names = True - -# If true, sectionauthor and moduleauthor directives will be shown in the -# output. They are ignored by default. -#show_authors = False - -# The name of the Pygments (syntax highlighting) style to use. -pygments_style = 'odoo' - -# A list of ignored prefixes for module index sorting. -#modindex_common_prefix = [] - - -# -- Options for HTML output --------------------------------------------------- -# The theme to use for HTML and HTML Help pages. See the documentation for -# a list of builtin themes. -html_theme = 'odoo_ext' - -odoo_cover_default = 'banners/installing_odoo.jpg' - -# 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 -# documentation. -#html_theme_options = {} - -# Add any paths that contain custom themes here, relative to this directory. -html_theme_path = ['_extensions'] - -# The name for this set of Sphinx documents. If None, it defaults to -# " v documentation". -#html_title = None - -# A shorter title for the navigation bar. Default is the same as html_title. -#html_short_title = None - -# The name of an image file (relative to this directory) to place at the top -# of the sidebar. -#html_logo = None - -# The name of an image file (within the static path) to use as favicon of the -# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32 -# pixels large. -#html_favicon = None - -# Add any paths that contain custom static files (such as style sheets) here, -# 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_add_permalinks = u'' - -# If not '', a 'Last updated on:' timestamp is inserted at every page bottom, -# using the given strftime format. -#html_last_updated_fmt = '%b %d, %Y' - -# If true, SmartyPants will be used to convert quotes and dashes to -# typographically correct entities. -#html_use_smartypants = True - -# Custom sidebar templates, maps document names to template names. -# FIXME: no sidebar on index? -html_sidebars = { -} - -# Additional templates that should be rendered to pages, maps page names to -# template names. -#html_additional_pages = {} - -# If false, no module index is generated. -#html_domain_indices = True - -# If false, no index is generated. -#html_use_index = True - -# If true, the index is split into individual pages for each letter. -#html_split_index = False - -# If true, links to the reST sources are added to the pages. -#html_show_sourcelink = True - -# If true, "Created using Sphinx" is shown in the HTML footer. Default is True. -#html_show_sphinx = True - -# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True. -#html_show_copyright = True - -# If true, an OpenSearch description file will be output, and all pages will -# contain a tag referring to it. The value of this option must be the -# base URL from which the finished HTML is served. -#html_use_opensearch = '' - -latex_elements = { - 'papersize': r'a4paper', - 'preamble': u'''\\setcounter{tocdepth}{2} -''', -} - -# default must be set otherwise ifconfig blows up -todo_include_todos = False - -intersphinx_mapping = { - 'python': ('https://docs.python.org/3/', None), - 'werkzeug': ('http://werkzeug.pocoo.org/docs/', None), -} - -github_user = 'odoo' -github_project = 'odoo' - -# monkeypatch PHP lexer to not require