summaryrefslogtreecommitdiff
path: root/templates/cleanup.xml
diff options
context:
space:
mode:
authorKaalleen <36401965+kaalleen@users.noreply.github.com>2024-05-22 21:49:35 +0200
committerGitHub <noreply@github.com>2024-05-22 21:49:35 +0200
commit7a19800a6fed788c510156957d5d6c70f34bd222 (patch)
tree918da0319d4a1b053a873e3ff9953aa0be8e6259 /templates/cleanup.xml
parent175709cdcfba4945cb20d21130e04efca54dd7ae (diff)
add links to documention in inx extensions (#2937)
Diffstat (limited to 'templates/cleanup.xml')
-rw-r--r--templates/cleanup.xml37
1 files changed, 24 insertions, 13 deletions
diff --git a/templates/cleanup.xml b/templates/cleanup.xml
index e42dec12..8ccddb40 100644
--- a/templates/cleanup.xml
+++ b/templates/cleanup.xml
@@ -2,20 +2,31 @@
<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<name>Cleanup Document</name>
<id>org.{{ id_inkstitch }}.cleanup</id>
- <label>Use this extension to remove small objects from the document.</label>
- <param name="rm_fill" type="boolean" gui-text="Remove Small Fill Areas"
- gui-description="Removes areas smaller than defined by threshold.">true</param>
- <param name="fill_threshold" type="int" gui-text="Fill area threshold (px²)" min="1" max="800">20</param>
- <param name="rm_stroke" type="boolean" gui-text="Remove Small strokes"
- gui-description="Removes small strokes shorter than defined by threshold.">true</param>
- <param name="stroke_threshold" type="int" gui-text="Stroke threshold (px)" min="2" max="800">5</param>
- <param name="rm_groups" type="boolean" gui-text="Remove empty layers and groups">true</param>
- <spacer />
- <separator />
- <spacer />
- <param name="dry_run" type="boolean" gui-text="Test run"
- gui-description="Only display labels and ids of affected elements and groups without removing them.">true</param>
<param name="extension" type="string" gui-hidden="true">cleanup</param>
+
+ <param name="notebook" type="notebook">
+ <page name="options" gui-text="Options">
+ <param name="rm_fill" type="boolean" gui-text="Remove Small Fill Areas"
+ gui-description="Removes areas smaller than defined by threshold.">true</param>
+ <param name="fill_threshold" type="int" gui-text="Fill area threshold (px²)" min="1" max="800">20</param>
+ <param name="rm_stroke" type="boolean" gui-text="Remove Small strokes"
+ gui-description="Removes small strokes shorter than defined by threshold.">true</param>
+ <param name="stroke_threshold" type="int" gui-text="Stroke threshold (px)" min="2" max="800">5</param>
+ <param name="rm_groups" type="boolean" gui-text="Remove empty layers and groups">true</param>
+ <spacer />
+ <separator />
+ <spacer />
+ <param name="dry_run" type="boolean" gui-text="Test run"
+ gui-description="Only display labels and ids of affected elements and groups without removing them.">true</param>
+ </page>
+ <page name="info" gui-text="Help">
+ <label>Use this extension to remove small objects from the document.</label>
+ <spacer />
+ <label>More information on our website</label>
+ <label appearance="url">https://inkstitch.org/docs/troubleshoot/#cleanup-document</label>
+ </page>
+ </param>
+
<effect>
<object-type>all</object-type>
<effects-menu>