openSUSE / obs-docu

Official Open Build Service Documentation. Content gets reviewed and edited. Generated books are available at http://www.openbuildservice.org
34 stars 71 forks source link

Remove unused .png and .svg images from docs #278

Closed saraycp closed 1 year ago

saraycp commented 1 year ago

Daps offers a command to detect which images are not used in a DC file: daps -d PATH_TO_DC_FILE list-srcfiles-unused --imgonly.

As we have three DC files in the same directory (DC-obs-all, DC-obs-admin-guide, DC-obs-user-guide), we run the check on the DC file of a set, DC-obs-all, which contains all articles and books in the project directory. Following this guide.

Unused files with extensions .dia and .dot are not removed for the moment.