Commit Graph

160 Commits

Author SHA1 Message Date
Martin Trigaux
a8e34d850e [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:40:52 +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
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
Martin Trigaux
942a066873 [IMP] config: add canonical url
Inspired by odoo/odoo@958f9106dd (which was lost by the way)
2019-12-11 08:42:55 +01:00
Martin Trigaux
714cf317cf [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-11 08:40:54 +01:00
Martin Trigaux
7f7d5109db [IMP] _extension: add languages link
To refer the pages in different languages for better indexing
2019-12-11 08:40:48 +01:00
Xavier Morel
555b71c0cd [FIX] plug chart of accounts & journal entries widgets on explicit classes
Sections get an id automatically generated from the title, "journal
entries" and "chart of accounts" are pretty generic concepts, so the
widgets looking for these ids can get enabled on sections they're not
intended to live in.

On the other hand, Sphinx is not likely to generically create classes
for these concepts without being explicitly prompted (via
e.g. rst-class).
2019-11-14 11:35:39 +01:00
Olivier Dony
6e85ff00fc
[IMP] legal: backport latest changes from 12.0 2019-08-09 02:27:37 +02:00
Olivier Dony
73bf5defd0
[FIX] conf: correct version number 2019-08-08 10:55:31 +02:00
Olivier Dony
ce1465c38b
[FIX] legal: review + publish Enterprise (ES) version 2019-08-08 03:58:14 +02:00
Martin Trigaux
b40b067757 [FIX] conf: update version number 2018-11-06 09:09:24 +01:00
Martin Trigaux
47d2aed890 [MERGE] forwardport of 10.0 to 11.0 2018-10-29 15:21:00 +01:00
Martin Trigaux
cd41235917 [ADD] conf: display version number in the switcher app 2018-10-29 15:19:33 +01:00
Martin Trigaux
dea43fca7a [ADD] documentation will be translated in Ukranian too now 2018-08-23 16:22:41 +02:00
Martin Trigaux
1aa446a783 [FIX] conf: set release version
Allow to have a title
Odoo 11.0 documentation
instead of
Odoo Business 0.1 documentation

opw-1832694
2018-04-03 08:33:06 +02:00
Martin Trigaux
2744fd9298 [FIX] conf: set release version
Allow to have a title
Odoo 10.0 documentation
instead of
Odoo Business 0.1 documentation

opw-1832694
2018-04-03 08:32:24 +02:00
Olivier Dony
a11241672b [ADD] legal: translations for legal docs
Some are only drafts, more coming later.
2018-03-16 20:10:43 +01:00
Yannick Tivisse
febd07cc80 [FIX] mementoes: Fix some terms/computation/links 2017-06-23 14:21:37 +02:00
Martin Trigaux
cb5f4765d3 [ADD] link to business memento
Was in technical doc, removed at odoo/odoo@411f82081b
task id 34230
2017-06-16 16:28:03 +02:00
Damien Bouvy
cdae67fb55
[ADD] legal: terms of sales + pdf versions 2017-05-04 14:06:32 +02:00
Martin Trigaux
6778e3691f [FIX] bump version to 10.0 in config file 2017-03-23 15:57:34 +01:00
Olivier Dony
133117c33e [ADD] legal: french translation of enterprise agreement 2016-06-23 03:32:44 +02:00
Olivier Dony
2037afdedd [WIP] legal: drafting, final v5 of enterprise agreement 2016-05-25 17:37:36 +02:00
Martin Trigaux
dc38002cf1 [FIX] put latex_show_urls with a string 2016-05-09 09:00:26 +02:00
Yannick Tivisse
2f682ca669 [FIX] set latex_show_urls to True 2016-05-06 13:42:22 +02:00
Cedric Snauwaert
0ff2696493 [ADD] base_import FAQ 2016-05-06 13:40:23 +02:00
Olivier Dony
550faabdf7 [WIP] legal: drafting 2016-03-04 20:43:20 +01:00
Martin Trigaux
ea334f5983 [IMP] more languages to display in drop down
Just in case
2016-02-04 13:20:40 +01:00
Martin Trigaux
9a5bae06c6 [FIX] typo 2016-02-04 11:29:38 +01:00
Martin Trigaux
bc17c13b24 [IMP] better translation menu
With the name of the language instead of the language key
2016-02-04 10:37:44 +01:00
Yannick Tivisse
222dc5b20a [IMP] Modify the inventory valuation memento, for the anglo-saxon accounting 2015-12-03 16:02:12 +01:00
Yannick Tivisse
a08d151437 [IMP] Modify the inventory valuation memento, for the continental accounting 2015-12-03 16:02:12 +01:00
Martin Trigaux
777834f12d [FIX] conf: edit on github link
Was linking to master file, not 9.0
2015-12-01 15:16:09 +01:00
Xavier Morel
136e269fac [FIX] project-specific static files
Turns out exclude_patterns is used when looking for markup source
files but also when looking for HTML static files, which is noted in
the documentation but apparently not in the sample conf.py

Don't exclude_patterns _-prefixed directories, or _static isn't copied
and a bunch of images and JS files break.
2015-11-23 10:39:11 +01:00
Xavier Morel
fbea64a257 [FIX] git and sphinx ignore, remove committed pyc files 2015-11-20 11:36:44 +01:00
Yannick Tivisse
85d0868032 [ADD] Library to embed youtube and vimeo videos in a clean way
Coming from https://gist.github.com/dbrgn/2922648
2015-11-20 10:53:23 +01:00
Martin Trigaux
4a10c5b946 Avoid building a /en URL in language switcher 2015-11-10 16:15:00 +01:00
Martin Trigaux
ec97bc7919 Language switcher 2015-11-10 10:38:53 +01:00
Martin Trigaux
c0098583eb [ADD] Modify build scripts to enable translations
New command make i18nhtml to add parameter LANG=...

e.g. make LANG=fr i18nhtml
2015-11-03 13:50:27 +01:00
Xavier Morel
e400744907 [ADD] github links to edit documentation pages 2015-07-20 13:43:27 +02:00
Xavier Morel
1577f53246 [IMP] tell Sphinx to ignore README.rst rather than mark it as orphan
Provides better rendering on github
2015-07-09 16:50:44 +02:00
Xavier Morel
f8d202061a [ADD] support for fetching views's fields straight from demo
* resolves action by external id
* fetches relevant view
* prints table of all fields with an @help in view order
2015-07-09 15:35:48 +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
Xavier Morel
051d680fdd [ADD] inventory valuation 2015-04-17 21:59:21 +02:00
Xavier Morel
eb20f603b5 [ADD] chart of inventory locations
Quite a bit of duplication with the chart of accounts (controls are just
about identical) but not quite enough that the CoA can trivially be
reused.
2015-04-16 17:38:37 +02:00
Xavier Morel
4030182881 [FIX] warning when compiling doc 2015-04-15 14:32:24 +02:00
Xavier Morel
6c49220265 [IMP] functional -> business 2015-04-09 09:55:01 +02:00
Xavier Morel
eb89b38de6 [ADD] Analytics support 2015-04-09 09:54:32 +02:00
Xavier Morel
d1b5326990 [CHG] add functional doc TOC
move accounting memento to a sub-document
2015-04-07 16:14:50 +02:00
Xavier Morel
f9dc2d8893 [ADD] bank reconciliation, checks handling sections 2015-03-18 18:38:26 +01:00
Xavier Morel
b3753aecac [ADD] journal explanations (WIP), reconcile button & animation 2015-03-10 13:02:16 +01:00
Xavier Morel
e79e32721c [ADD] examples of journal entries
* interaction is terrible, select is ugly but radio buttons take way too
  much vertical space, no matter whether they're on the left or the
  right
* may be possible to unify operations lists between chart of accounts
  and entries? Not currently selected set, just the list of possible ops
2015-02-24 12:02:29 +01:00
Xavier Morel
f8c3d0a326 [IMP] convert accounts listing to interactive
* convert listickles to React widget
* add interactive hooks to introduction/definition paragraphs
* add highlighting to various items based on (2)

todo: ragged bottom edge using a SVG border-image?
2015-02-17 16:40:09 +01:00
Xavier Morel
931c1c8ec3 [ADD] explanation + interaction of journals + chart of accounts
After discussion with fp this probably isn't the direction (ish), but
want to checkpoint this in order to work on other stuff earlier in the
document, but not commit a single gigantic blob of stuff.
2015-02-17 16:38:00 +01:00
Xavier Morel
0ab12904e1 [ADD] initial closing
todo: chart of accounts thing
2015-02-11 09:22:56 +01:00