From ed18ab7649dd441936025a46e5b8faa6a12defd5 Mon Sep 17 00:00:00 2001 From: Xavier Morel Date: Mon, 20 Oct 2014 10:00:20 +0200 Subject: [PATCH] [ADD] doc: basic index page instead of something completely blank --- doc/_themes/odoodoc/layout.html | 2 +- doc/conf.py | 4 ++++ doc/images/view-on-github.png | Bin 0 -> 1496 bytes doc/index.rst | 32 ++++++++++++++++++++++++++++++-- doc/modules.rst | 1 - doc/modules/mail.rst | 5 ----- 6 files changed, 35 insertions(+), 9 deletions(-) create mode 100644 doc/images/view-on-github.png delete mode 100644 doc/modules/mail.rst diff --git a/doc/_themes/odoodoc/layout.html b/doc/_themes/odoodoc/layout.html index 3e75dadac89..1fcb690454e 100644 --- a/doc/_themes/odoodoc/layout.html +++ b/doc/_themes/odoodoc/layout.html @@ -35,7 +35,7 @@ main_navbar=False, titles_only=False) }} {% if github_link %}

- Edit on GitHub + View on GitHub

{% endif %} diff --git a/doc/conf.py b/doc/conf.py index 169c6b64a61..9ae72b90928 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -20,6 +20,7 @@ needs_sphinx = '1.1' # 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', @@ -165,6 +166,9 @@ html_sidebars = { # base URL from which the finished HTML is served. #html_use_opensearch = '' +# default must be set otherwise ifconfig blows up +todo_include_todos = False + intersphinx_mapping = { 'python': ('https://docs.python.org/2/', None), 'werkzeug': ('http://werkzeug.pocoo.org/docs/', None), diff --git a/doc/images/view-on-github.png b/doc/images/view-on-github.png new file mode 100644 index 0000000000000000000000000000000000000000..afaabc400b8de21e0ffa574676f542ca83c09b63 GIT binary patch literal 1496 zcmV;}1tE#qEfixqm!?j-ouZ!$83qFc*e1Co|>7Nov6n6`TD7yny9|unwzQJz^3-( z#K__I!O-&S)VbjF{p;)M{rBAe|Mcwp|G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Mqo{?by0000`_. +Contributions are welcome and appreciated. + +.. todo:: what's the documentation's license? + +The documentation is currently organized in four sections: + +* :doc:`tutorials`, aimed at introducing the primary areas of developing Odoo + modules +* :doc:`guides`, didactic documents covering more specific and specialized + areas of Odoo, trying to solve more specific problems +* :doc:`reference`, which ought be the complete and canonical documentation + for Odoo subsystems +* :doc:`modules`, documenting useful specialized modules and integration + methods (and currently empty) .. hidden toctree w/o titlesonly otherwise the titlesonly "sticks" to in-document toctrees and we can't have a toctree showing both "sibling" @@ -16,4 +40,8 @@ odoo developer documentation reference modules -.. todolist:: +.. ifconfig:: todo_include_todos + + .. rubric:: Things to add and fix + + .. todolist:: diff --git a/doc/modules.rst b/doc/modules.rst index 7c90fcecdd7..16133d13413 100644 --- a/doc/modules.rst +++ b/doc/modules.rst @@ -5,4 +5,3 @@ Module Objects .. toctree:: :titlesonly: - modules/mail diff --git a/doc/modules/mail.rst b/doc/modules/mail.rst deleted file mode 100644 index 734feccb11f..00000000000 --- a/doc/modules/mail.rst +++ /dev/null @@ -1,5 +0,0 @@ -============ -Mail Threads -============ - -