odoo/documentation#12073

Created by fw-bot
Merged at f292374c8440a2e0604b4f94fe9baa93f2dcdef7

Statuses:

label
odoo-dev:saas-17.4-16.0-test-resource-is-used-sali-415955-fw
head
34c24aeda96d28981e020fce81ef27b9d7a0f200
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