Commit Graph

32 Commits

Author SHA1 Message Date
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 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
Xavier Morel a6493f77af [IMP] fix links to business mementoes
* rename functional -> business
* fix navbarification of main toctree: would stop processing after it
  hit the first toc item without children, and the business links (with
  children) follow the web service toc item (without children)
2015-04-09 10:29:38 +02:00
Xavier Morel 8fb2c06a47 [CHG] doc: company officially renamed 2014-11-24 09:05:23 +01:00
Xavier Morel 5ed0739e73 [FIX] doc: latex building
* add latex support for exercise admonition
* latex freezes/crashes on {HEAVY WIDE-HEADED RIGHTWARDS ARROW} so
  replace them by more manual arrows
* add some preamble configuration, may not even be necessary
* generate WS setup code only in HTML output. WS doc in latex still
  isn't great as it displays all 4 languages one after the other,
  ideally they should be tagged or something, so only one language at a
  time is generated in non-HTML outputs
2014-11-17 17:43:26 +01:00
Xavier Morel 63e1afc5fd [IMP] doc: add link to company website in footer, fix release version 2014-10-31 09:34:55 +01:00
Xavier Morel 28a69fa250 [ADD] doc: support for analytics keys 2014-10-29 15:53:41 +01:00
Xavier Morel ed18ab7649 [ADD] doc: basic index page instead of something completely blank 2014-10-20 10:00:20 +02:00
Xavier Morel 393331f948 [FIX] sphinx 'project' value
The project name automatically gets the release and the literal string
"documentation" appended by default (and "html_title" can be set to generate a
title differently), so having "documentation" set in the project variable
duplicates it in the page title.
2014-10-07 10:22:53 +02:00
Xavier Morel 62c9589485 [ADD] port webclient RPC doc from web/doc 2014-10-07 10:22:53 +02:00
xmo-odoo e7422b2f3a [REVERT] typo 2014-10-01 15:19:20 +02:00
xmo-odoo a1eacb9054 [FIX] doc: branch name in configuration
The branch name is used in the version switcher, so the master branch should have a version of "master".

Maybe the release could be the revision hash? Not sure how to extract it from the repo.
2014-10-01 15:02:20 +02:00
Xavier Morel bb007dd040 [ADD] support for a version switcher in odoo theme thing
needs beauty input
2014-09-04 14:43:55 +02:00
Xavier Morel 39208e1f42 [ADD] doc's readme
* also only enable linkcode if Sphinx >= 1.2
* fix html inline roles?
2014-09-04 14:43:54 +02:00
Xavier Morel 958f9106dd [ADD] support for canonical urls in technical doc
* canonical_root setting is the path to the root of the canonical sphinx doc,
  if not set no canonical link is generated, must end with "/"
* canonical_branch defines the canonical branch to which to redirect, defaults
  to master

also various side-fixes:

* disabled permalinks in sphinx instead of hiding them via CSS
* improved generation of github links, removed _app global and setting of
  linkcode_resolve in conf.py
2014-09-03 16:34:52 +02:00
Xavier Morel f00bf9a461 [ADD] github links from doc 2014-09-03 14:53:41 +02:00
Xavier Morel cccd3c888f [ADD] openerp.http reference doc
* fix some docstrings so they can be autodoc'd
* intersphinx mapping (and links to) werkzeug and python
2014-09-01 14:16:14 +02:00
Raphael Collet 2ad092b5e5 [ADD] doc: new documentation, with training tutorials, and new scaffolding 2014-08-22 17:51:20 +02:00
Xavier Morel 6dcf6bb6bc [CHG] remove flask theme, add sphinx-bootstrap 0.3.8 2014-05-19 08:32:15 +02:00
Xavier Morel c2d5bf1bc3 [ADD] tutorial beginning
blocked at introducing qweb template, ir.qweb lives in the registry but nodb -> no database
with --db-filter there's a database in the session (kinda) but need to fetch it and manually get the corresponding registry...
2014-05-19 08:23:13 +02:00
Xavier Morel ff51574fae [FIX] somebody renamed classes without fixing the corresponding autodoc invocation
bzr revid: xmo@openerp.com-20140116144957-j2no6ls83vfxtgbk
2014-01-16 15:49:57 +01:00
Vo Minh Thu 432eccccc9 [IMP] To hell with global doc.
bzr revid: vmt@openerp.com-20130104134955-dpf9792ng2gqani3
2013-01-04 14:49:55 +01:00
Antony Lesuisse bc3cf0b74f rm files, move postload hook
bzr revid: al@openerp.com-20121006171053-qggp1r5263h7v7vd
2012-10-06 19:10:53 +02:00
Xavier Morel 79f39b9c12 [FIX] versions and class names in doc
bzr revid: xmo@openerp.com-20121002135053-0br6kzif8tmarltp
2012-10-02 15:50:53 +02:00
Xavier Morel 6754110eb7 [IMP] get started on doc for VS-less searchview
bzr revid: xmo@openerp.com-20120424160759-aghh2pzioy1k4yw4
2012-04-24 18:07:59 +02:00
Openerp Online 3fec9bb049 [DOC] change v6.1 reference to trunk.
bzr revid: online@openerp.com-20120305164617-2ykj6o263sywjstz
2012-03-05 17:46:17 +01:00
Openerp Online 1ae5913ae8 [DOC] change v6.1 reference to trunk.
bzr revid: online@openerp.com-20120305164552-tij9m4if82h4huts
2012-03-05 17:45:52 +01:00
Openerp Online 0c8e11643f [DOC] use a flat (i.e. no source/ directory) structure.
bzr revid: online@openerp.com-20120305124016-d25rncl3q2qcem31
2012-03-05 13:40:16 +01:00
Openerp Online 288ee81ca1 [DOC] adapted some strings in conf.py.
bzr revid: online@openerp.com-20120302160653-2oe2s50s3coerugq
2012-03-02 17:06:53 +01:00
Openerp Online bac3c40a3e [DOC] removed index content (only add content when it is ready for
public consumption), some bikeshedding.

bzr revid: online@openerp.com-20120302154927-fbx212tovmutraah
2012-03-02 16:49:27 +01:00
Openerp Online 3a639fb1c0 [DOC] separate files.
bzr revid: online@openerp.com-20120229141536-u3cip5vptyunpa8v
2012-02-29 15:15:36 +01:00
Openerp Online d2fb00bb34 [IMP] added doc directory, intended to be included in the new openerp technical documentation.
bzr revid: online@openerp.com-20120218203101-8p35jsuylp0ovvj8
2012-02-18 21:31:01 +01:00