dev-guide:markdowndoku
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| dev-guide:markdowndoku [2024/07/05 12:58] – timOb | dev-guide:markdowndoku [2024/07/08 10:50] (current) – timOb | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== | + | ====== |
| - | With GroIMP 2.1.4 it is possible to use a markdown file to generate the content of the embedded documentation of a GroIMP plugin. The idea is that the README.md file of a git repository is then doubly used. Yet since the pipeline depends on pandoc, it is in theory also possible to use a [[https:// | + | With GroIMP 2.1.4 it is possible to use a markdown file to generate the content of the embedded documentation of a GroIMP plugin. The idea is that the README.md file of a git repository is then doubly used. Yet since the pipeline depends on pandoc, it is in theory also possible to use a [[https:// |
| Line 7: | Line 7: | ||
| To use this pipeline it is required that pandoc is installed, and that the project contains the files | To use this pipeline it is required that pandoc is installed, and that the project contains the files | ||
| - | template.docbook and copyfilter.lua in the directory src/ | + | template.docbook and copyfilter.lua in the directory |
| Line 27: | Line 27: | ||
| ===== Selecting a source ===== | ===== Selecting a source ===== | ||
| - | The source of the pipeline is by default " | + | The source of the pipeline is by default " |
| <code xml> | <code xml> | ||
| Line 37: | Line 37: | ||
| </ | </ | ||
| At this position it would also be possible to set other formats e.g.: '' | At this position it would also be possible to set other formats e.g.: '' | ||
| + | Moreover it is possilbe to set several files (only markdown) as a parameter, this files then will be concatenated and process as one and create one docbook file: ''< | ||
| Line 61: | Line 62: | ||
| *panels/ | *panels/ | ||
| *examples: | *examples: | ||
| - | *preferences: | + | *preferences: |
| </ | </ | ||
| Line 79: | Line 80: | ||
| </ | </ | ||
| + | |||
| + | |||
| + | ==== Defining the title ==== | ||
| + | |||
| + | By default the title of the chapter of documentation is the name of the plugin in the maven pom. | ||
| + | This name can be change by adding the variable " | ||
| + | |||
| + | < | ||
| + | --- | ||
| + | ftitle: GroIMP user manual | ||
| + | ... | ||
| + | |||
| + | </ | ||
| + | |||
dev-guide/markdowndoku.1720177118.txt.gz · Last modified: 2024/07/05 12:58 by timOb
