odoo/documentation#5237

Created by Sales, Antoine Vandevenne (anv)
Merged at 439c4521adb32b6eb910e3db0d5f7c678716102c

Statuses:

label
odoo-dev:master-ref-views-anv
head
d36576d49c914e8db1eb04ab598fd068e99092a1
merged
2 years ago by Sales, Antoine Vandevenne (anv)
odoo/documentation
17.0 #5237
saas-17.1 #7453
18.0
saas-18.2
saas-18.3
saas-18.4
19.0
master #7497

[IMP] reference/user_interface: reformat and clarify views reference

In particular, the following changes are made:
- Use the class and attribute admonitions along with custom attributes to define classes, views' root attributes, views' components, and attribute values. This allows re-using the responsive design that was made for reference lists, and getting rid of the previous implementation that relied on class attributes, which were not intended for this usage and reduce readability while hindering further contributions due to a lack of flexibility (no admonitions, sub-attributes...)

image
- Use definition lists to define view types to allow for clearer and longer descriptions.

image
- Rewrite and restructure the explanations when there is a lack clarity.
- Extract duplicated content to included RST files.
- Display SVG images into dedicated admonitions.
- Fix RST and English mistakes.
- Rename view_architecture to view_architectures, as it lists all existing architectures and doesn't describe the "architecture of a view".
- Replace underscores with hyphens in image file names to improve SEO.

task-3458320