[ADD] support for canonical urls in technical doc
authorXavier Morel <xmo@openerp.com>
Wed, 3 Sep 2014 14:34:52 +0000 (16:34 +0200)
committerXavier Morel <xmo@openerp.com>
Wed, 3 Sep 2014 14:34:52 +0000 (16:34 +0200)
commit958f9106dd3fe09c48afb6fc61fc3e378ac7819c
treeee46585e492880c5e3bb63b302775efdc472ca38
parentf00bf9a461c59866310aef4ac1a23fdd05137a1c
[ADD] support for canonical urls in technical doc

* canonical_root setting is the path to the root of the canonical sphinx doc,
  if not set no canonical link is generated, must end with "/"
* canonical_branch defines the canonical branch to which to redirect, defaults
  to master

also various side-fixes:

* disabled permalinks in sphinx instead of hiding them via CSS
* improved generation of github links, removed _app global and setting of
  linkcode_resolve in conf.py
doc/_themes/odoodoc/github.py
doc/_themes/odoodoc/layout.html
doc/_themes/odoodoc/static/style.css
doc/_themes/odoodoc/static/style.less
doc/conf.py