Commit Graph
24 Commits
Author SHA1 Message Date
Nicolas Lempereur 3862f63669 [FIX] theme_bootswatch, doc: https import for less3
The @import directive in less leave the @import as is if it detects .css
extension. Otherwise it will use the less import.

Since less 3.0.0 less/less.js@77fde7eb7 checking css extension regex
changed from:

/[#\.\&\?\/]css([\?;].*)?$/

to:

/[#\.\&\?]css([\?;].*)?$/

thus all our import of google fonts with URI like:

//fonts.googleapis.com/css?family=FontName

now are getting imported as less, thus they are included directly in the
output file with HTTP scheme URL which may be blocked on HTTPS instance.

With this fix, we specify that the import is a normal CSS one with (css)
import option:

http://lesscss.org/features/#import-atrules-feature-css

opw-2057037
closes #36167

Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com>
2019-08-28 09:20:32 +00:00
xmo-odoo 71cb425d00 [FIX] doc: translator under Sphinx 1.5
In Sphinx 1.5 (fairly specifically), the warner thing takes a `type` kw,
and building the doc blows up if that parameter is not provided.
2018-10-25 11:08:35 +02:00
Martin Trigaux a0050c323c [FIX] doc: backport of ac37ca39ea to 10.0
To be compatible with sphinx >= 1.8
2018-10-23 16:17:58 +02:00
Martin Trigaux 27cc2ae3a9 [FIX] doc: backport of 9a07a4599c to 10.0
To be compatible with sphinx >= 1.6
2018-10-23 16:17:58 +02:00
Jeremy Kersten 4252cd7053 [FIX] doc: update footer links
Synchronize footer from odoo.com with the documentation.
2018-03-13 15:51:15 +01:00
Martin Trigaux 2257acbeb1 [FIX] doc: v10ification 2016-12-19 14:19:26 +01:00
Martin Trigaux 731fe1c9ab [FIX] doc: avoid conflict on extenstion and odoo folder 2016-10-11 12:09:28 +02:00
Raphael Collet cdd03c3afe [FIX] in all python code, rename openerp to odoo 2016-09-07 14:45:08 +02:00
Denis Vermylen (dve) e9426b03e7 Revert "[IMP] website, doc: replace eCommerce by e-Commerce"
This reverts commit b4d7b7e6dc.
Odoo always uses term eCommerce
2016-09-06 13:55:12 +02:00
Denis Vermylen (dve) b4d7b7e6dc [IMP] website, doc: replace eCommerce by e-Commerce 2016-09-02 17:42:42 +02:00
Stefano Rigano d1663f06e7 [IMP] doc: define a layout for 'category index' pages
These pages were indexed by google but did not have any layout defined.
2016-08-11 16:26:49 +02:00
Martin Trigaux e07fa2601e [FIX] doc: update css file to reflect 8ce16c3 2016-05-26 10:24:28 +02:00
Martin Trigaux 8ce16c3abe [FIX] doc: white h2 title
Cherry-pick from odoo/documentation-user@d193f7c0
2016-05-18 10:54:32 +02:00
Martin Trigaux 036e3cc253 [IMP] doc: uniform design with user documentation
Apply the same changes from functionnal documentation to dev doc:
odoo/documentation-user@4316470
2016-05-17 12:02:12 +02:00
Xavier Morel 92d1ecdefb [IMP] doc: note about XMLRPC + Odoo Online
Also added some styling for guilabel as it was indistinguishable from
regular body text.
2015-10-08 12:03:01 +02:00
Xavier Morel a139d81c46 [FIX] doc: odoo theme so it's compatible with Sphinx 1.3
Sphinx.set_translator is a Sphinx 1.3 API, and we only require Sphinx
1.2 at this point. Replace the use of set_translator with explicitly
setting the ``html_translator_class`` config setting.
2015-09-15 16:06:13 +02:00
Xavier Morel 2474a91bc9 [IMP] doc: recommend not using @api.one
* alter docstring of @api.one to mark it as deprecated for 9.0,
  recommend using @api.multi instead
  - deprecation notes were not correctly styled, add styling
    matching "warning" alerts
* move @api.one down the doc page to deemphasize it
* fix "backend" tutorial to remove all instances of ``@api.one``

closes #8527
2015-09-15 14:38:45 +02:00
Xavier Morel 610f6fdafe [IMP] doc: support for image centering
Also handle (and ignore) substitution definition nodes.
2015-07-10 11:57:06 +02:00
Xavier Morel f94a667ed1 [IMP] doc: handling of toc outside master_doc
* remove local toc sidebar in non-index documents with a toctree
* change toctree rendering to only have links on leaf nodes (don't link
  to intermediate toctree'd documents)
2015-07-09 11:11:08 +02:00
Xavier Morel 5f768ed5b3 [IMP] doc: don't limit width of pages with code column 2015-07-08 13:06:11 +02:00
Xavier Morel c97cb35086 [FIX] doc: prevent compacting paragraphs with custom classes 2015-07-08 13:06:11 +02:00
Xavier Morel 9beaeddf60 [FIX] doc: new theme snags
* fix handling of no banner (and no default banner) on documents:
  - don't try to build a banner URL at the top of document
  - don't build a mini-banner in cards
* fix compatibility between custom HTML translator and domains creating
  new nodes (and their rendering): hook translator via
  app.add_translator so app.add_node can do the job correctly: with
  html_translator_class the application is not aware of the new HTML
  translator and add_node can't add the relevant rendering methods
* add translation for line_block and line (classes not used, point is
  just to have a div for each line so "newlines" are kept
2015-07-08 13:06:10 +02:00
Xavier Morel 41ee29119d [REM] doc: unnecessary sidebar title/heading 2015-07-07 16:31:48 +02:00
Xavier Morel 95e56a109d [ADD] doc: new theme
Pretty much completely rewritten theme with custom HTML translator and a
few parts of the old theme extracted to their own extensions.

Banner images thought not to be that huge after all, and not worth the
hassle of them living in a different repository.

co-authored with @stefanorigano
2015-07-07 11:22:50 +02:00