Commit Graph

2144 Commits

Author SHA1 Message Date
Jonathan Castillo
7f3b2a1edd [IMP] sign: add content to top-level TOC page + improve structure
This commit is part of a larger work to improve the documentation's
structure. The toctree structure used to add levels to create categories
and make the structure visually more understandable.
With the new version of the documentation, plenty of these categories
are now redundant.

This commit improves the structure of the "Sign" app:

- it removes a useless "overview" category
- it adds a brief explanation at the "app" level, including links to
  relevant docs

task-2535899
2021-05-21 17:13:42 +02:00
Antoine Vandevenne (anv)
1f9cd600cc [MERGE] Forward-port of branch 12.0 to 13.0 2021-05-20 14:46:35 +02:00
Victor Feyens
46c21826fc [IMP] Makefile: build in parallel by default 2021-05-19 15:03:39 +02:00
Victor Feyens
2ddac026f1 [FIX] extensions: support parallel read
Now that patchqueue was removed, we can consider supporting the parallel 
read with our local extensions.

Since we only have basic extensions, not storing any data on the build 
environment, the change mainly consists of specifying the extensions as 
parallelizable.

The only specific case is the html domain, since the base html domain 
requires the support of the method merge_domaindata in parallel read 
mode.  Since we do not need to share anything between the envs for this 
extension, we can simply ignore the method.
2021-05-19 15:03:39 +02:00
Victor Feyens
87ab494b42 [MERGE] Forward-port of branch 12.0 to 13.0 2021-05-17 18:29:11 +02:00
Victor Feyens
ba72b396a4 [FIX] redirects: odoo_sh documentation page
This redirection was seemingly forgotten in the nginx redirections deployed online,
we will cover it through the redirects file then.
2021-05-17 15:36:08 +02:00
Victor Feyens
dc49cd9e7b [IMP] *: links improvements
* use absolute paths when cleaner than relative paths
* fix some sphinx issues / todos
2021-05-17 15:32:24 +02:00
Victor Feyens
326de4b39e [FIX] *: absolute links to odoo.com/documentation 2021-05-17 15:32:24 +02:00
Martin Trigaux
9e77998bc1 [I18N] *: export pot files 2021-05-14 18:48:27 +02:00
Martin Trigaux
c1d09cb79d [I18N] *: export all .pot files
.tx/config: update the list of files

Fetch newly generated .po files from Transifex
2021-05-14 16:55:06 +02:00
Martin Trigaux
769f5d9728 [FIX] translate the documentation
Monkeypatch the docname_to_domain to avoid having one big "application.pot" file
2021-05-14 16:55:06 +02:00
Martin Trigaux
2d9ad82bd6 [MERGE] forward port of 12.0 to 13.0 2021-05-14 16:29:54 +02:00
Martin Trigaux
9e49550239 [I18N] *: export all .pot files
.tx/config: update the list of files

Fetch newly generated .po files from Transifex
2021-05-14 16:21:26 +02:00
Martin Trigaux
bea76554f9 [FIX] translate the documentation
Monkeypatch the docname_to_domain to avoid having one big "application.pot" file
2021-05-14 16:16:06 +02:00
Antoine Vandevenne (anv)
7b01bf417c [MERGE] Forward-port of branch 12.0 to 13.0 2021-05-12 18:26:22 +02:00
Antoine Vandevenne (anv)
1a0c122500 [IMP] contributing: update contributing guide for new documentation 2021-05-12 18:20:48 +02:00
Antoine Vandevenne (anv)
ca6b1c602d [IMP] README: update README and translate it to Markdown 2021-05-12 18:20:48 +02:00
Elisabeth Dickinson
26d489c6e1
[FIX] theme: improve search bar implementation and behavior
This commit removes the extra search bar that was dedicated to the
mobile layout and adapts the desktop's one to be compatible with mobile.
It also brings back the "Hide Search Matches" button.
2021-05-12 09:49:55 +02:00
Victor Feyens
3d9afc4c0e [MERGE] Forward-port of branch 12.0 to 13.0 2021-05-11 15:13:58 +02:00
Martin Trigaux
0fcc06c2db [FIX] legal: use direct links to pdf files
This avoids to have URL pointing to
https://www.odoo.com/documentation/user/<VERSION>/<LANG>/odoo_enterprise_agreement.pdf
when switching a language

The pdf are built only once and are global per version
2021-05-11 10:36:14 +02:00
Elisabeth Dickinson
9204658456
[FIX] theme: always hide in-page toctrees
Toctree pages will soon hold content and thus be reachable.
The TOC should never be displayed on those pages.
2021-05-11 10:28:13 +02:00
Victor Feyens
ac99ad7abd [REM] *: patchqueue extension
Remove the patchqueue extension from the doc requirements since it isn't 
maintained anymore (raising warnings for recent sphinx versions) and the 
patches to specify code blocks aren't easy to maintain.

Remove hidden code patches, and replaces shown patches by code block / 
literalincludes to keep the useful content.
2021-05-10 17:24:23 +02:00
Ludvig Auvens
73806971a2 [ADD] IoT: New doc about how to connect a scale using the IoT box. 2021-05-10 10:54:50 +02:00
KC (ksc)
e976c19b96 [REM] ecommerce: intro to ecommerce
Removes unnecessary, straightforward, easy-to-figure out documentation, as part of an effort to '
clear out any sort of documentation that is either too easy, too simple,
or already gone over in the tutorial videos. This documentation falls into that category. Hence,
it was removed entirely.
2021-05-10 10:52:45 +02:00
KC (ksc)
128d9f2136 [IMP] ecommerce: updates mention about inventory app in "show product availability"
As per the documentation, it is possible to show inventory availability under ecommerce without
installing Inventory app which is incorrect. Made the appropriate changes.
2021-05-10 08:52:18 +02:00
Martin Trigaux
c946b35f71 [FIX] conf: specify which value is actually needed 2021-05-06 13:42:43 +02:00
Antoine Vandevenne (anv)
c3eddb6286 [IMP] CODEOWNERS: add new codeowner for technical files
# If you feel that it might help a future reader to understand your commit
# motivations, take some time to explain WHY you made these changes in a few
# sentences. The WHAT is usually easily understood by reading the diff.
#
# Short description tip: structure your commit message as if it was completing
# this sentence: "If merged, this commit will ...". For instance, the following
# commit message is correct: "[IMP] sales: compress images to save space".
#
# Tag meanings:
#
# [ADD] = New content
# [IMP] = Improvement
# [FIX] = Content or RST fix
# [REM] = Removal
# [REF] = Refactoring (restructuring)
# [MOV] = Move/rename
#
2021-05-05 11:09:31 +02:00
Victor Feyens
c820a96e2d [FIX] redirects: update links after apocalypse reorganisation
Applications pages are now put in sub-directories corresponding to their scope
(Productivity, finance, sales, marketing, services, ...) and the redirects had
to be updated accordingly.
2021-05-04 17:47:03 +02:00
Antoine Vandevenne (anv)
66fcb98192 [FIX] homepage: fix broken top links
# If you feel that it might help a future reader to understand your commit
# motivations, take some time to explain WHY you made these changes in a few
# sentences. The WHAT is usually easily understood by reading the diff.
#
# Short description tip: structure your commit message as if it was completing
# this sentence: "If merged, this commit will ...". For instance, the following
# commit message is correct: "[IMP] sales: compress images to save space".
#
# Tag meanings:
#
# [ADD] = New content
# [IMP] = Improvement
# [FIX] = Content or RST fix
# [REM] = Removal
# [REF] = Refactoring (restructuring)
# [MOV] = Move/rename
#
2021-05-04 17:32:28 +02:00
Antoine Vandevenne (anv)
8a6ad77935 [MERGE] Forward-port of branch 12.0 to 13.0 2021-05-04 16:31:06 +02:00
Antoine Vandevenne (anv)
25af2874cd [FIX] conf.py: don't load github_link extension if odoo/ is missing 2021-05-04 16:25:56 +02:00
Antoine Vandevenne (anv)
e3fee2cf46 [REF][MOV] documentation apocalypse
Prior to this commit, the Odoo documentation was mainly split between
two repositories: odoo/odoo/doc and odoo/documentation-user. Some bits
of documentation were also hosted elsewhere (e.g., wiki, upgrade, ...).
This was causing several problems among which:
  - The theme, config, Makefile, and similar technical resources had to
    be duplicated. This resulted in inconsistent layout, features, and
    build environments from one documentation to another.
  - Some pages did not fit either documentation as they were relevant
    for both users and developers. Some were relevant to neither of the
    two (e.g., DB management).
  - Cross-doc references had to be absolute links and they broke often.
  - Merging large image files in the developer documentation would bloat
    the odoo/odoo repository. Some contributions had to be lightened to
    avoid merging too many images (e.g., Odoo development tutorials).
  - Long-time contributors to the user documentation were chilly about
    going through the merging process of the developer documentation
    because of the runbot, mergebot, `odoo-dev` repository, etc.
  - Some contributors would look for the developer documentation in the
    `odoo/documentation-user` repository.
  - Community issues about the user documentation were submitted on the
    `odoo/odoo` repository and vice-versa.

Merging all documentations in one repository will allow us to have one
place, one theme, one work process, and one set of tools (build
environment, ...) for all of the Odoo docs.

As this is a good opportunity to revamp the layout of the documentation,
a brand new theme replaces the old one. It features a new way to
navigate the documentation, centered on the idea of always letting the
reader know what is the context (enclosing section, child pages, page
structure ...) of the page they are reading. The previous theme would
quickly confuse readers as they navigated the documentation and followed
cross-application links.

The chance is also taken to get rid of all the technical dangling parts,
performance issues, and left-overs. Except for some page-specific JS
scripts, the Odoo theme Sphinx extension is re-written from scratch
based on the latest Sphinx release to benefit from the improvements and
ease future contributions.

task-2351938
task-2352371
task-2205684
task-2352544

Closes #945
2021-05-04 15:44:00 +02:00
Jonathan Castillo
4ba422d76f [MOV] general: rename add_user.txt in users.txt + move media files 2021-05-03 10:01:16 +02:00
Adrien Marlair
3873ba3100 [ADD] general: new section about passwords in add_user.rst 2021-05-03 10:01:16 +02:00
Odoo Translation Bot
eac5e9f865 [I18N] Update translation terms from Transifex 2021-05-02 02:30:24 +02:00
Odoo Translation Bot
4e72d5cf95 [I18N] Update translation terms from Transifex 2021-05-02 01:30:41 +02:00
Antoine Vandevenne (anv)
d8a5a5cd02 [MERGE] Forward-port of branch 12.0 to 13.0 2021-04-27 12:06:24 +02:00
Odoo Translation Bot
26501887d6 [I18N] Update translation terms from Transifex 2021-04-25 01:30:26 +02:00
jev
2e5b17c9db
[REM] odoo_sh: remove incorrect information about cups (#937)
CUPS the server will never be installed on an Odoo.sh machine.
That being said you can use a remote printer with a cups client.
The problem lays in the sorry state of libcups dependencies so we will
try to get a reliable section in the documentation for 20.04 as soon as
we can get a testcase.

Meanwhile, it has been reported that the command line `lp` cups cli
client tool could be used as a workaround in the OCA concerned module:

https://gist.github.com/rm-jamotion/0453e91ff3e13350a1e46a11ebb02e8d

Reapply of https://github.com/odoo/documentation-user/commit/3b4c795
2021-04-23 11:18:09 +02:00
Jonathan Castillo
5b67eefb53 [IMP] accounting: payment terms 2021-04-15 21:51:59 +02:00
KC (ksc)
1343d9915f [FIX] ecommerce: grammar and screenshot in doc about pricing 2021-04-14 16:23:29 +02:00
Odoo Translation Bot
a88479cee5 [I18N] Update translation terms from Transifex 2021-04-11 02:30:26 +02:00
Odoo Translation Bot
cec9ba4745 [I18N] Update translation terms from Transifex 2021-04-11 01:30:25 +02:00
KC (ksc)
4fe354946a [IMP] ecommerce: fix grammatical issues in doc about importing products 2021-04-09 18:25:31 +02:00
Jonathan Castillo
5fae522292 [ADD] contributing: title capitalization rule in content guidelines 2021-04-09 17:45:51 +02:00
Odoo Translation Bot
8e6d9dc7ce [I18N] Update translation terms from Transifex 2021-04-04 02:30:21 +02:00
Odoo Translation Bot
dba255ae1e [I18N] Update translation terms from Transifex 2021-04-04 01:30:44 +02:00
Jonathan Castillo
0d258c1666 [ADD] guidelines: media files section in content guidelines 2021-04-02 11:59:15 +02:00
Antoine Vandevenne (anv)
932378da6f [MERGE] Forward-port of branch 12.0 to 13.0 2021-04-01 10:46:38 +02:00
Antoine Vandevenne (anv)
ba66fc6214 [FIX] ecommerce: fix broken link 2021-04-01 10:45:24 +02:00