Commit Graph

93 Commits

Author SHA1 Message Date
Antoine Vandevenne (anv)
bbf2badab2 [MERGE] Forward-port of 12.0 to 13.0 2020-02-12 11:08:10 +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
97b9ed8034 [MERGE] Forward od 12.0 to 13.0 2019-12-18 11:11:01 +01:00
Martin Trigaux
e4f286f114 [MERGE] Forward port of 11.0 to 12.0 2019-12-18 11:10:20 +01:00
Martin Trigaux
bcfef7cd0b [IMP] _extension: update menu list
to match the current one on odoo.com
2019-12-18 11:09:15 +01:00
Martin Trigaux
8d3616fd3a [MERGE] Forward port of 12.0 to 13.0 2019-12-13 15:16:43 +01:00
Martin Trigaux
3a45ba958f [IMP] config: add canonical url
Inspired by odoo/odoo@958f9106dd (which was lost by the way)
2019-12-12 15:37:22 +01:00
Martin Trigaux
1f51fda2e8 [IMP] _extension: add languages link
To refer the pages in different languages for better indexing
2019-12-12 15:37:22 +01:00
Martin Trigaux
d03b078ad6 [IMP] config: add canonical url
Inspired by odoo/odoo@958f9106dd (which was lost by the way)
2019-12-12 15:36:34 +01:00
Martin Trigaux
538eecd2db [IMP] _extension: add languages link
To refer the pages in different languages for better indexing
2019-12-12 15:36:25 +01:00
Martin Trigaux
942a066873 [IMP] config: add canonical url
Inspired by odoo/odoo@958f9106dd (which was lost by the way)
2019-12-11 08:42:55 +01:00
Martin Trigaux
7f7d5109db [IMP] _extension: add languages link
To refer the pages in different languages for better indexing
2019-12-11 08:40: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
Martin Trigaux
6d4e10715c [MERGE] Forward port of 12.0 to 13.0 2019-11-05 15:14:53 +01:00
Martin Trigaux
6571be3116 [MERGE] Forward port of 11.0 to 12.0 2019-11-05 15:14:19 +01:00
Martin Trigaux
f7cb30b6d8 [FIX] _extension: complete monkeypatch in sphinx 1.6
The monkey patch made for sphinx 1.6 was not complete. In comparison
to the one done for previous versions (resolve_toctree), navbarify was
not called.

In the toctree, the sub-levels were turned into a link in 1.6 while
navbarify prevents this.
2019-11-05 15:02:06 +01:00
Richard Mathot
8aa2c698f2
[MERGE] Forward-port of branch 12.0 up to 7a65f48d41 2019-10-18 18:09:14 +02:00
Richard Mathot
7a65f48d41
[MERGE] Forward-port of branch 11.0 up to 17fc4219bd 2019-10-18 18:03:40 +02:00
Martin Trigaux
17fc4219bd
[ADD] searchbar based on Sphinx search tool
Co-authored-by: Martin Trigaux <mat@odoo.com>
Co-authored-by: Richard Mathot <rim@odoo.com>
2019-10-17 10:25:25 +02:00
mreficent
efcb1a48fd [FIX] *: update v13 urls
Remove outdated references to 12.0
Closes odoo/documentation-user#413
2019-10-03 11:28:53 +02:00
Olivier Dony
ea8a755001
[IMP] odoo style: better support HTML footnotes 2019-08-08 04:00:08 +02:00
Julien B
15e2081665
[FIX] Changed link in header
Changed link to the training center to the new slides module
2019-07-12 15:30:19 +02:00
Xavier Morel
da7f9932cc [FIX] odoo: compatibility sphinx2
Cherry-pick of odoo/odoo@2b28dd89b8
2019-07-01 18:05:00 +02:00
Martin Trigaux
c982eea8c9 [FIX] _extension: update version numbers 2018-10-23 11:27:30 +02:00
Martin Trigaux
1b2cbd5b88 [FIX] _extension: build with sphinx 1.8
cherry-pick of odoo/odoo@ac37ca39ea
but dropping the compatibility of sphinx 1.2 to simplify
2018-09-26 16:19:01 +02:00
Xavier Morel
b379cab20b [FIX] a pair of leftover warnings 2018-08-31 14:41:25 +02:00
Xavier Morel
63a615bc67 [FIX] port db0cb1b09237b2e004c7a7eceadedde668f4ac30 from tech doc
fix Sphinx 1.6 compatibility leading to the "tiles" on the home page
not working anymore: 1.6 replaces BuildEnvironment.reolve_toctree by
TocTree().resolve(), while the method still exists it's not actually
called anymore
2018-05-31 16:04:46 +02:00
Olivier Dony
48b11b31cc [FIX] _extensions: p3 compatibility (8) 2018-05-30 15:38:34 +02:00
Olivier Dony
db5604f703 [FIX] _extensions: p3 compatibility (7) 2018-05-30 14:34:23 +02:00
Olivier Dony
478fcb7bef [FIX] _extensions: p3 compatibility (6) 2018-05-30 12:52:39 +02:00
Olivier Dony
b22590c2da [FIX] _extensions: p3 compatibility (5) 2018-05-30 12:09:58 +02:00
Olivier Dony
2e58b86fe2 [FIX] _extensions: p3 compatibility (4) 2018-05-30 11:59:47 +02:00
Olivier Dony
4143a500e1 [FIX] _extensions: p3 compatibility (3) 2018-05-30 11:37:16 +02:00
Olivier Dony
914c5ebc18 [FIX] _extensions: p3 compatibility (2) 2018-05-30 11:19:30 +02:00
Olivier Dony
ff2c6db57c [FIX] _extension: p3 compatibility 2018-05-30 11:06:24 +02:00
Olivier Dony
cda60c219b [FIX] doc template: GA: anonymize IPs 2018-05-30 09:56:31 +02:00
Denis Ledoux
b7cfc92ddf [ADD] _extensions: possibility to create a file download link 2018-03-29 10:27:01 +02:00
Olivier Dony
5b6390f874 [FIX] layout: add missing space between classes 2018-03-16 20:05:33 +01:00
Miquel Raïch
e2684993c8 [FIX] v11 urls
Outdated references

Closes #252
2017-12-13 13:31:12 +01:00
xmo-odoo
95b64ca2de Fix custom translator setup
Programmatically setting html_translator_class is apparently broken in
Sphinx 1.5 (which sorta makes sense, it's a bit of a hack, I'm not sure
why we even did that instead of going through the configuration object).
2017-04-25 16:18:26 +02:00
Martin Trigaux
c71b603614 [FIX] doc: v10ification 2016-12-21 10:13:29 +01:00
Yannick Tivisse
9bfc3e7eb6 [FIX] demo_link: retrieve correctly the result from read()
The signature has changed and we get a list instead of a dictionary now.
2016-10-14 13:59:34 +02:00
Stefano Rigano
a0dd875333 [IMP] doc: define a layout for 'category index' pages
These pages are not directly accessible through other doc’s pages but
there are still indexed by google.

eg.https://www.odoo.com/documentation/9.0/tutorials.html
2016-08-11 16:29:15 +02:00
Olivier Dony
c42a9dafb9 [ADD] layout.html: legal page link in footer
Added to match updated footer in www.odoo.com
2016-05-26 00:05:47 +02:00
stefanorigano
d193f7c0ac [FIX] .doc-aside headings' colour
Heading colour should be ‘white’ when it’s into a  .doc-aside container
only.
2016-05-18 10:48:19 +02:00
stefanorigano
a2dafdf796 [IMP] documentation-user: update compiled CSS 2016-05-12 14:06:25 +02:00
stefanorigano
43164704c9 [IMP] documentation-user: restructuring submenu
— Layout

* Create html templates to print breadcrumb's and submenu's lists.
* Remove ‘o_main_back’ ( no longer needed)
* Minimum mobile support for submenu. Note: The default website submenu
should be refactored in order to support mobile by default

— Style

* Create a less mixin to handle all doc’s dropdowns
* Add a specific style for breadcrumb when it’s placed inside the
submenu.
2016-05-12 14:06:25 +02:00