odoo/documentation#7497

Created by fw-bot
Merged at 14c04387644d185f12f0c25f10321b827291fa56

Statuses:

label
odoo-dev:master-master-ref-views-anv-wSpK-fw
head
e949aae07a9d62382fc2a1389c0a9ea91996e966
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

[FW][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

Forward-Port-Of: #7453
Forward-Port-Of: #5237