This is an automated email from the ASF dual-hosted git repository.

hansva pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/hop.git


The following commit(s) were added to refs/heads/main by this push:
     new fd8409560c Diagram exporters page: hop-export.sh script name, 
DiagramExportFormat is a class, fixes #9396 (#9432)
fd8409560c is described below

commit fd8409560ce46696fa0605704989c58f279671c4
Author: Adalennis <[email protected]>
AuthorDate: Thu Nov 12 11:47:40 2026 +0100

    Diagram exporters page: hop-export.sh script name, DiagramExportFormat is a 
class, fixes #9396 (#9432)
---
 .../modules/ROOT/pages/plugin-types/diagram-exporters.adoc          | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git 
a/docs/hop-dev-manual/modules/ROOT/pages/plugin-types/diagram-exporters.adoc 
b/docs/hop-dev-manual/modules/ROOT/pages/plugin-types/diagram-exporters.adoc
index 3c41c2726e..20e5c1b792 100644
--- a/docs/hop-dev-manual/modules/ROOT/pages/plugin-types/diagram-exporters.adoc
+++ b/docs/hop-dev-manual/modules/ROOT/pages/plugin-types/diagram-exporters.adoc
@@ -47,7 +47,9 @@ A plugin can export any other object: the active editor's 
`IHopFileTypeHandler.g
 Format::
 The target representation.
 `DiagramExportFormat` knows `SVG`, `MERMAID`, `PDF`, `PLANTUML` and `DRAWIO`.
-`DiagramExportFormat.parse("PLANTUML")` (or `of(...)`) is enough for a format 
the enum does not list.
+An exporter can also use a format it has no constant for, such as `format = 
"BPMN"`: `DiagramExportFormat.parse(...)` creates it from the id.
+The file extension still comes from `fileExtension` in the annotation.
+To give the format its own name and MIME type, set `format` to 
`DiagramExportFormat.of(...)` in the exporter's constructor.
 
 Context::
 Where the export is running: GUI, CLI, batch, web or tests.
@@ -259,7 +261,7 @@ Production exporters should be `@DiagramExporter` classes 
so Jandex finds them.
 == `hop export`
 
 The command is a `@HopCommand(id = "export")` (`DiagramExportCommand` in 
`engine`).
-It also has wrapper scripts `hop-export` / `hop-export.bat` in the assembly.
+It also has wrapper scripts `hop-export.sh` / `hop-export.bat` in the assembly.
 
 [source,bash]
 ----

Reply via email to