odoo/documentation#12074

Created by fw-bot
Merged at a55fdb6313580d22d3092a7dd23a122f878b4c1c

Statuses:

label
odoo-dev:18.0-16.0-test-resource-is-used-sali-416171-fw
head
61fd569bc2126bd5444db8720d9e364b40c53615
merged
5 months ago by Documentation, Samuel Lieber (sali)
odoo/documentation
16.0 #12010
17.0 #12063
saas-17.4 #12073
18.0 #12074
saas-18.1 #12078
saas-18.2
saas-18.3
saas-18.4
master #12082

[FW][IMP] tests: check is resource file used

This PR adds a test to make review to check if a resource file is used in it's .rst file, when running checks on a resource folder.

check-is-resource-used

For each resource file in the resource folder, check if the file is referenced in an image or figure directive in the .rst file (as long as the .rst file has the same name as the resource folder).

task-2801043

Forward-Port-Of: #12063
Forward-Port-Of: #12010