odoo/documentation#7453

Created by fw-bot
Merged at a17eaf4c6f74e89d2f0e0b3e93dc5fd3c545b703

Statuses:

label
odoo-dev:saas-17.1-master-ref-views-anv-xvid-fw
head
94993d322ea1243d98244e568c19a3d7d0b8617b
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: #5237