Writerside Help

Maintenance and cleanup

Unless you carefully clean up every time you remove something from your documentation sources, you are very likely to end up with a lot of unused topics, images, and pieces of content. Writerside provides various features to help you keep the sources clean and perform regular maintenance.

Remove unused images

  1. In the Project tool window, select the directory in which you want to check for unused images, for example, the images directory. You can also select specific images.

  2. From the main menu, select Tools | Writerside | Check for Unused Images.

    Writerside will report the images that are not referenced anywhere and suggest removing them. You can open the list of all detected unused images to select which ones to remove.

Remove unused topic files

When you open a topic file not used anywhere, Writerside shows a banner at the top of the editor with a suggestion to remove the topic file.

Unused topic banner

If you want to find all unused topics in your project:

  1. From the main menu, select Code | Analyze Code | Run Inspection by Name.

  2. Type the name of the inspection Unused topic and select it.

  3. In the Run 'Unused topic' dialog, select the scope and file mask if necessary and click OK.

    Run Unused topic inspection

Writerside will find all topic files that are not used anywhere. You can review and remove them one by one or all at once.

Remove unused snippets

Writerside highlights any <snippet> element that is not used anywhere and suggests removing it.

Unused snippet inspection

If you want to find all unused snippets in your project:

  1. From the main menu, select Code | Analyze Code | Run Inspection by Name.

  2. Type the name of the inspection Unused snippet and select it.

  3. In the Run 'Unused snippet' dialog, select the scope and file mask if necessary and click OK.

    Run Unused snippet inspection

Writerside will find all <snippet> elements that are not included anywhere. You can review and remove them one by one or all at once.

Detect topic not in current instance

In Writerside, you always work with a documentation project in a specific context, which depends on the instance selected in the Writerside tool window.

  • If you open a topic not in the instance that is currently selected, Writerside will show a banner about this. You can either switch to an instance that has this topic to continue your work in the correct context or add the topic to the currently selected instance.

Topic is not in current instance inspection
Last modified: 21 June 2024