Commit Graph

117 Commits

Author SHA1 Message Date
mreficent
4f35fd1b93 [FIX] *: update v14 urls
Remove outdated references to 13.0

Closes odoo/documentation-user#755
2020-11-27 08:03:45 +01:00
Martin Trigaux
761188dc57 [MERGE] Forward port 12.0 to 13.0 2020-06-25 09:45:37 +02:00
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
Olivier Dony
de137b0bcf
[ADD] legal: update contracts for new maintenance
- Update Enterprise & Partnership agreement (EN, FR)
- Update legal page index: hide outdated agreements, replace
  with a link to an archive of the old PDFs.
- Add icons for missing files, to make index table layout more consistent
- Add `text-justify` on HTML versions of contracts, for consistency with
  the PDF versions.
- Fix compatibility of PDF generation with recent sphinx versions
  (\sphinxmaketitle instead of \maketitle)
- Re-add NL PDF building, still needs to be updated like all others

Backport of 5b80ed551c from 13.0
2020-06-09 02:25:12 +02:00
Olivier Dony
3c44972f02
[ADD] legal: update contracts for new maintenance
- Update Enterprise & Partnership agreement (EN, FR)
- Update legal page index: hide outdated agreements, replace
  with a link to an archive of the old PDFs.
- Add icons for missing files, to make index table layout more consistent
- Add `text-justify` on HTML versions of contracts, for consistency with
  the PDF versions.
- Fix compatibility of PDF generation with recent sphinx versions
  (\sphinxmaketitle instead of \maketitle)
- Re-add NL PDF building, still needs to be updated like all others

Backport of 5b80ed551c from 13.0
2020-06-09 02:13:40 +02:00
Olivier Dony
5b80ed551c
[ADD] legal: update contracts for new maintenance
- Update Enterprise & Partnership agreement (EN, FR)
- Update legal page index: hide outdated agreements, replace
  with a link to an archive of the old PDFs.
- Add icons for missing files, to make index table layout more consistent
- Add `text-justify` on HTML versions of contracts, for consistency with
  the PDF versions.
- Fix compatibility of PDF generation with recent sphinx versions
  (\sphinxmaketitle instead of \maketitle)
- Re-add NL PDF building, still needs to be updated like all others
2020-06-09 02:04:10 +02:00
Antoine Vandevenne (anv)
9e75cc33c4 [MERGE] Forward-port of 12.0 to 13.0 2020-04-06 16:41:33 +02:00
Antoine Vandevenne (anv)
8bd94e4aea [MERGE] Forward-port of 11.0 to 12.0 2020-04-06 16:32:52 +02:00
Antoine Vandevenne (anv)
09bab807aa [IMP] technical: add a static redirection feature for missing pages 2020-04-06 16:31:27 +02:00
Antoine Vandevenne (anv)
c3fd57bb03 [MERGE] Forward-port of branch 12.0 to 13.0 2020-02-20 11:27:56 +01: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
kosta (kts)
a542d9adb4 [IMP] index links looking bad with underline 2020-02-17 09:53:12 +01:00
kosta (kts)
4203285f93 [REF] port developer doc's design
Task #2188277
2020-02-17 09:53:12 +01:00
kosta (kts)
52e49eda47 [IMP] search-form: improve ui & fix bug on mobile
Bug fix on mobile that was displaying the button on a new line.
Smaller input/button sizes to win some space for breadcrumb nav.
Vertical alignment of search-form.
2020-02-17 09:53:12 +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)
440fd9ba93 [MERGE] Forward-port of 12.0 to 13.0 2020-02-12 15:20:01 +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
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