Commit Graph

29 Commits

Author SHA1 Message Date
Martin Trigaux
9ce3eedc65 [MERGE] Forward port of 11.0 to 12.0 2020-06-25 09:45:12 +02:00
xmo-odoo
e43df474d4
[ADD] support for meta directive (#708)
e.g.

    .. meta::
        :description: blah blah blah
        :keywords lang=en: x y z

should yield

    <meta name="description" content="blah blah blah">
    <meta name="keywords" lang="en" content="x y z">

Also cleaned up `layout.html` a tad while at it:

* we're now properly setting the default metas via the translator so
  setting them in the template is unnecessary
* there's a flag to use an html5 doctype (also has a few other
  positive side-effects with respect to the metas sphinx generates in
  the template)
2020-06-25 09:25:00 +02:00
Arnaud Joset
93bb794ebc [REM] technical: remove test for Python version 2020-02-20 11:14:39 +01:00
Arnaud Joset
8a0f371531 [IMP] technical: remove warning about scripts assets
Before this commit, the following warning was displayed at compilation: "RemovedInSphinx30Warning: To modify script_files in the theme is deprecated. Please insert a <script> tag directly in your theme instead."
2020-02-20 11:14:36 +01:00
Antoine Vandevenne (anv)
142e1926f3 [MERGE] Forward-port of branch 11.0 to 12.0 2020-02-20 11:10:41 +01:00
Arnaud Joset
950b460794 [IMP] technical: remove future warning of Sphinx 2020-02-20 11:01:17 +01:00
Arnaud Joset
a0f6d3e925 [IMP] technical: allow building with Python 3 and Sphinx 2.4.0
This commit updates the requirements of the documentation to Python 3 and Sphinx 2.4.0 and later.
2020-02-20 11:01:03 +01:00
Xavier Morel
a60364a5e4 [FIX] rendering of tables with merged cells
Merged cells in the first columns were not rendered correctly and values from
other columns would be placed in the wrong columns.
2020-02-14 11:20:37 +01:00
Antoine Vandevenne (anv)
9334afe66d [REV] Revert 54f0228dae
Reason: delay changes until internal build tools are updated
2020-02-12 15:13:59 +01:00
Antoine Vandevenne (anv)
b343d51cec [MERGE] Forward-port of 11.0 to 12.0 2020-02-12 15:04:08 +01:00
Antoine Vandevenne (anv)
1081f8b7b5 [REV] Revert dbba515 to 8678876
Reason: delay changes until internal build tools are updated
2020-02-12 15:01:08 +01:00
Arnaud Joset
54f0228dae [IMP] technical: remove warning about scripts assets
Before this commit, the following warning was displayed at compilation: "RemovedInSphinx30Warning: To modify script_files in the theme is deprecated. Please insert a <script> tag directly in your theme instead."
2020-02-12 10:59:23 +01:00
Antoine Vandevenne (anv)
541bd54521 [MERGE] Forward-port of 11.0 to 12.0 2020-02-12 10:47:11 +01:00
Arnaud Joset
867887613a [IMP] technical: remove future warning of Sphinx 2020-02-12 10:41:48 +01:00
Arnaud Joset
dbba515566 [IMP] technical: allow building with Python3 and Sphinx 2.X
Before this commit, sphinx-build could not be used with Python3 and Sphinx 2.X.
2020-02-12 10:41:48 +01:00
Martin Trigaux
b6f35afe8e [IMP] _extension: support for width attribute
It was ignored in our custom rst translator
2019-11-08 15:39:59 +01:00
Xavier Morel
da7f9932cc [FIX] odoo: compatibility sphinx2
Cherry-pick of odoo/odoo@2b28dd89b8
2019-07-01 18:05:00 +02:00
Olivier Dony
f5e9250485 [FIX] _extensions: p3 compatibility (8) 2018-05-30 15:40:28 +02:00
Olivier Dony
48b11b31cc [FIX] _extensions: p3 compatibility (8) 2018-05-30 15:38:34 +02:00
Olivier Dony
4f181f1fea [FIX] _extensions: p3 compatibility (6) 2018-05-30 13:05:31 +02:00
Olivier Dony
478fcb7bef [FIX] _extensions: p3 compatibility (6) 2018-05-30 12:52:39 +02:00
Olivier Dony
813590727d [FIX] _extensions: p3 compatibility (5) 2018-05-30 12:10:23 +02:00
Olivier Dony
b22590c2da [FIX] _extensions: p3 compatibility (5) 2018-05-30 12:09:58 +02:00
Olivier Dony
ff2c6db57c [FIX] _extension: p3 compatibility 2018-05-30 11:06:24 +02:00
Denis Ledoux
b7cfc92ddf [ADD] _extensions: possibility to create a file download link 2018-03-29 10:27:01 +02:00
Xavier Morel
e2204cdd72 [FIX] 1.2 compatibility
app.add_node doesn't work right for custom translators in 1.2, since
mementos are using ``h:div`` reimplement that in the
BootstrapTranslator.

Alternative would be to monkeypatch app.add_node for Sphinx 1.2, but
let's not do that...
2015-11-20 11:37:57 +01:00
Martin Trigaux
4d24d82819 seealso as alert-go_tp
to differentiate from tip and note
2015-10-16 15:10:53 +02:00
Xavier Morel
98e8930e02 [ADD] assets management doc (wip) 2015-07-09 12:31:31 +02:00
Xavier Morel
705e0d56b2 [CHG] initial port to new theme 2015-07-08 13:24:24 +02:00