Commit Graph

99 Commits

Author SHA1 Message Date
Victor Feyens
63f7b55564 pygments: reference file location 2021-04-28 18:29:21 +02:00
Antoine Vandevenne (anv)
fc1015b986 reword some comments 2021-04-28 16:49:22 +02:00
Victor Feyens
77a2c9feaf remove/fix leftover todo/fixme/... comments 2021-04-28 11:34:07 +02:00
Antoine Vandevenne (anv)
3316ac780a allow multi-version and multi-lang in local 2021-04-27 17:37:13 +02:00
Antoine Vandevenne (anv)
dbf6320223 split custom-js files with "," instead of ";" 2021-04-02 17:25:04 +02:00
Antoine Vandevenne (anv)
c1039d6d94 fix version master being compared to 14.3alpha1 2021-04-01 14:24:00 +02:00
Antoine Vandevenne (anv)
19d38d2953 fix lexer warnings 2021-04-01 14:09:03 +02:00
Antoine Vandevenne (anv)
ee88e6337a clean conf.py 2021-04-01 14:05:47 +02:00
Victor Feyens
a31aec82b9 Merge branch '12.0-one-doc-edi' of github.com:odoo/documentation-user into 12.0-one-doc-edi 2021-03-25 12:55:52 +01:00
Victor Feyens
dbf9c91281 FIX: warning when lexing CSV, XML & JSON
+ improve the php hack
2021-03-25 12:48:16 +01:00
Elisabeth Dickinson
f4847d02d0 drop 'has_only_toc' meta 2021-03-24 10:52:58 +01:00
Elisabeth Dickinson
3026e4cc66 [IMP] language names in their own language (continued) 2021-03-22 11:58:15 +01:00
Victor Feyens
4d91a3ff27 [POC] Load accounting js only on the necessary pages. 2021-03-18 18:27:50 +01:00
Victor Feyens
41937c4016 [MOV] legal page to the root content level 2021-03-18 16:33:10 +01:00
Victor Feyens
b38b6e2b6d [FIX] backport 555b71c0cd 2021-03-18 15:17:39 +01:00
Victor Feyens
d2d3c3d8b7 [IMP] legal page display 2021-03-15 16:05:29 +01:00
Victor Feyens
0a685bdb08 Merge branch '12.0-one-doc-edi' of github.com:odoo/documentation-user into 12.0-one-doc-edi 2021-03-15 14:25:40 +01:00
Victor Feyens
939acf14bc [IMP][WIP] language names in their own language 2021-03-10 18:46:20 +01:00
Antoine Vandevenne (anv)
a8cb405bc1 sort versions desc 2021-03-10 17:24:48 +01:00
Antoine Vandevenne (anv)
7ecdf9d8fe build localized content in appropriate dir 2021-03-10 16:48:35 +01:00
Victor Feyens
a241de18c3 fixup 2021-03-10 16:05:57 +01:00
Antoine Vandevenne (anv)
d6fdb05d5e Merge branch '12.0-one-doc-edi' of github.com:odoo/documentation-user into 12.0-one-doc-edi 2021-03-10 15:26:25 +01:00
Antoine Vandevenne (anv)
9738c981f6 fix conf.py for translations 2021-03-10 15:13:47 +01:00
Victor Feyens
09eca33691 [IMP] redirects: user configuration dir and not srcdir to find redirects file 2021-03-10 14:34:01 +01:00
Victor Feyens
d84d4aece8 [IMP] only show master in switcher on developer doc pages 2021-03-08 17:30:31 +01:00
Elisabeth Dickinson
fd42514f2a [DESIGN] accounting memento fixes 2021-03-04 16:48:51 +01:00
Victor Feyens
d0dac6667d [FIX] favicon 2021-02-19 11:24:35 +01:00
Victor Feyens
fd49dfa572 Revert "[POC] disable 'odoo' pygments style"
This reverts commit 3838bb93fb.
2021-02-16 16:13:45 +01:00
Victor Feyens
3838bb93fb [POC] disable 'odoo' pygments style 2021-02-16 13:09:30 +01:00
Victor Feyens
edf0085055 minor config imp 2021-02-04 15:06:13 +01:00
Antoine Vandevenne (anv)
c1f2fc9cd3 refactor versions and languages switchers logic + canonical urls + Makefile 2021-02-01 15:07:12 +01:00
Antoine Vandevenne (anv)
936fae4b40 Merge branch '12.0-one-doc-edi' of github.com:odoo/documentation-user into 12.0-one-doc-edi 2021-01-29 11:53:56 +01:00
Antoine Vandevenne (anv)
cbf7d063fe check odoo sources version before building the dev doc 2021-01-29 11:35:31 +01:00
Victor Feyens
496f7ade5c Extensions cleanup (and resurrection of html_domain) 2021-01-29 11:32:30 +01:00
Antoine Vandevenne (anv)
2a4db2e5ac remove junk 2021-01-29 09:37:44 +01:00
Antoine Vandevenne (anv)
d3ab54bb07 sort conf.py sections 2021-01-29 09:27:18 +01:00
Antoine Vandevenne (anv)
a1648bc645 replace custom permalinks with sphinx defaults 2021-01-28 21:02:32 +01:00
Antoine Vandevenne (anv)
ebc3e70d0f [APOCALYPSE] Merge all documentations and add a new homemade theme
Co-authored-by: Victor Feyens (vfe) <vfe@odoo.com>
Co-authored-by: Elisabeth Dickinson (edi) <edi@odoo.com>
Co-authored-by: Antoine Vandevenne (anv) <anv@odoo.com>
2021-01-28 19:05:48 +01:00
Martin Trigaux
e946532b9b [REV] conf: revert f93fb12e6b
Revert "[FIX] technical: Sphinx deprecation warnings"
Nightly servers still use sphinx 1.7
Revert until we have updated the server to newer versions
2020-10-27 14:22:14 +01:00
Raf Geens
f93fb12e6b [FIX] technical: Sphinx deprecation warnings
`add_stylesheet` and `add_javascript` are deprecated and were
generating a bunch of warnings, replaced them with `add_css_file` and
`add_js_file`.
2020-10-23 12:27:21 +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
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
Martin Trigaux
f5833b7f1d [IMP] documentation: make the multiversion, multilang work
Keep the language in multilang versions of pages. The canonical should look like:

    /documentation/user/12.0/sale.html -> /documentation/user/13.0/sale.html
    /documentation/user/11.0/fr/website.html -> /documentation/user/13.0/fr/website.html

Needs the changes at odoo/saas-automation#40 that will change the
canonical_root
- from https://www.odoo.com/documentation/user/
- to https://www.odoo.com/documentation/user/12.0/

This way, the language switcher will keep the current version,
changing from English to French will make
/documentation/user/12.0/website.html -> /documentation/user/12.0/fr/website.html
(and not -> /documentation/user/13.0/website.html as before)
2019-12-13 15:41:44 +01:00
Martin Trigaux
89594d5128 [IMP] documentation: make the multiversion, multilang work
Keep the language in multilang versions of pages. The canonical should look like:

    /documentation/user/12.0/sale.html -> /documentation/user/13.0/sale.html
    /documentation/user/11.0/fr/website.html -> /documentation/user/13.0/fr/website.html

Needs the changes at odoo/saas-automation#40 that will change the
canonical_root
- from https://www.odoo.com/documentation/user/
- to https://www.odoo.com/documentation/user/12.0/

This way, the language switcher will keep the current version,
changing from English to French will make
/documentation/user/12.0/website.html -> /documentation/user/12.0/fr/website.html
(and not -> /documentation/user/13.0/website.html as before)
2019-12-13 15:41:21 +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
b1dabedf81 [FIX] conf: avoid // urls
e.g. https://www.odoo.com/documentation/user/13.0//crm.html when
creating link with no branch/lang name
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
05f3db3d35 [FIX] conf: avoid // urls
e.g. https://www.odoo.com/documentation/user/13.0//crm.html when
creating link with no branch/lang name
2019-12-12 15:36:30 +01:00