Commit Graph

133 Commits

Author SHA1 Message Date
Victor Feyens
eb1a10b199 todos 2020-09-29 17:42:34 +02:00
Victor Feyens
83d57089fa [REF] doc: split "static" odoo.com html 2020-09-29 17:42:23 +02:00
Victor Feyens
c084b8cc66 [IMP] doc: relative paths to doc instead of static urls 2020-09-29 16:42:38 +02:00
Victor Feyens
3e00b2dc0a [REF][WIP] doc: better navigation between pages 2020-09-29 16:42:13 +02:00
Victor Feyens
2c55f54d58 WIP ref display logic
TODO remove hacky banners logic, use this cleaner one instead
2020-09-28 18:20:50 +02:00
Victor Feyens
04388d5a09 [FIX] full indexing of pages 2020-09-28 18:20:09 +02:00
Victor Feyens
610f2abef3 ? 2020-09-25 16:09:51 +02:00
Victor Feyens
de2c41927f https links ? 2020-09-25 15:27:45 +02:00
Victor Feyens
7a965fa3af sphinx errors fixes 2020-09-25 14:56:39 +02:00
Victor Feyens
95b7e74956 [POC] to improve: specify other pages to build with banners 2020-09-25 12:58:14 +02:00
Victor Feyens
65b85f289d [MOV] odoo -> odoo_ext extensions to avoid naming conflicts
since we now have to import odoo for autodoc in dev doc

TODO: if odoo directory is not found, disable the build of dev doc ???
2020-09-24 17:45:03 +02:00
Victor Feyens
9631934593 [REV] DIFF tech dev: bring back some stuff 2020-09-24 16:46:00 +02:00
Victor Feyens
60510d0a64 [FIX] lessC errors & auto modifs 2020-09-24 16:27:16 +02:00
Victor Feyens
6fcd48070a [EXT][DIFF] Use dev doc odoo theme ext ?
Analyze conflicts and resolve
2020-09-24 16:23:16 +02:00
Victor Feyens
f6d651d2db [EXT] pyjsdoc, pyjsparser 2020-09-24 16:21:09 +02:00
Victor Feyens
5b283ac547 [EXT] admonition exercise ? 2020-09-24 16:12:12 +02:00
Victor Feyens
fcec9a9d7f [TOKEEP ?] autojsdoc extension 2020-09-24 16:11:55 +02: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