Commit Graph

32 Commits

Author SHA1 Message Date
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)
c3fd57bb03 [MERGE] Forward-port of branch 12.0 to 13.0 2020-02-20 11:27:56 +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
kosta (kts)
4203285f93 [REF] port developer doc's design
Task #2188277
2020-02-17 09:53:12 +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
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
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
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
Xavier Morel
da7f9932cc [FIX] odoo: compatibility sphinx2
Cherry-pick of odoo/odoo@2b28dd89b8
2019-07-01 18:05:00 +02:00
Olivier Dony
cda60c219b [FIX] doc template: GA: anonymize IPs 2018-05-30 09:56:31 +02:00
Olivier Dony
5b6390f874 [FIX] layout: add missing space between classes 2018-03-16 20:05:33 +01: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
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
Martin Trigaux
0669db650a [FIX] layout: wrong URL to external pages 2016-04-27 10:02:34 +02:00
stefanorigano
9a478fa07a [FIX] documentation-user: mobile menu button
It was invisible because the doc’s website use material icons rather
then the ‘fa’ ones. Replaced the icon with the material one and styled
the “pressed” state.
2016-04-26 15:02:30 +02:00
Martin Trigaux
dde58d87db [FIX] css: language menu style 2016-04-26 12:07:46 +02:00
stefanorigano
28f197ca71 [IMP] all: new design to match the one on odoo.com
* upgrade to bootstrap 3.3.6

* new Header, port website LESS
  - Add the new header
  - Modify sub-header in order to handle “back” button and version
    switcher
  - Port website’s Less:
    * Use same variables’ names
    * Review fonts and colours in order to fit the new style

* add new footer

* Review and optimise JS code in order properly handle the new header,
  footer and card.top animations

* replace  banner images
2016-04-26 11:23:38 +02:00
Martin Trigaux
ec97bc7919 Language switcher 2015-11-10 10:38:53 +01:00
Xavier Morel
4a8bc016d1 [IMP] "prev" links to the application's root if inside the application 2015-07-20 13:43:28 +02:00
Xavier Morel
93afab1e00 [CHG] remove logo from sidebar and always have it in title 2015-07-20 13:43:28 +02:00
Xavier Morel
c4e798e970 [ADD] demo/POC functional documentation
* by-application (odoo-wise) grouping
* use part of the accounting TOC defined on pad
* support for "internal" tocs & fixup front toc
* various changes and improvements to extensions

May be missing: inherited document banners?
2015-07-09 11:49:42 +02:00
Xavier Morel
705e0d56b2 [CHG] initial port to new theme 2015-07-08 13:24:24 +02:00