#1962 - Better organise the tutorial images directory

Identifier #1962
Issue type Feature request or suggestion
Title Better organise the tutorial images directory
Status Completed
Handling member Chris Graham
Addon General / Uncategorised
Description We have one monolithic directory full of images. It's time to split it up by tutorial.

Write a script to see what tutorial each image is referenced it in, move it into a subdirectory with the same name as that tutorial, and update the tutorial.

E.g. downloads_edit_file.png is used by tut_downloads, so the script should detect this and move data_custom/images/docs/downloads_edit_file.png to data_custom/images/docs/tut_downloads/downloads_edit_file.png and update docs/pages/comcode_custom/EN/tut_downloads.txt to have the new path.

Then finally also update the addon registry hook referencing all the images to reflect the new file paths. This is a 5 minute job, you can just use the Linux "find" command to find all the new paths, and paste it in with some minor syntax tweaks.
Steps to reproduce

Funded? No
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".

Rating

Unrated