Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Gendoc/samples/genericTemplate"
(→Import and Run) |
|||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
== Generic gendoc template for Papyrus == | == Generic gendoc template for Papyrus == | ||
+ | |||
+ | === Gendoc version prerequisites === | ||
+ | To run the template, Gendoc 0.6.0 or higher is required (because of properties tag usage) | ||
+ | |||
+ | Papyrus Gendoc Bundle is also required | ||
=== Import and Run === | === Import and Run === | ||
− | if you are a Gendoc newcomer you can try to start using Gendoc with this project : [[File:SampleGendocProject.zip | + | if you are a Gendoc newcomer you can try to start using Gendoc with this project : [[File:SampleGendocProject.zip]] |
This project can be imported in your workspace using File > Import ... > General > Existing Projects into Workspace | This project can be imported in your workspace using File > Import ... > General > Existing Projects into Workspace | ||
Line 13: | Line 18: | ||
To run the documentation generation you just have to right click on SampleProject/template/gendoc_generic.docx > Generate documentation using Gendoc | To run the documentation generation you just have to right click on SampleProject/template/gendoc_generic.docx > Generate documentation using Gendoc | ||
− | + | Don't forget to | |
− | + | * refresh the generated folder after generation | |
+ | * update the document fields when you open the result of the generation (Ctrl + A, F9) | ||
− | === | + | === Template description === |
This template uses Gendoc capabilities : | This template uses Gendoc capabilities : | ||
Line 22: | Line 28: | ||
* for each package and their children insert the diagram and the associated comment of the package | * for each package and their children insert the diagram and the associated comment of the package | ||
* for each element displayed in each diagram, if this element has a diagram the will be displayed | * for each element displayed in each diagram, if this element has a diagram the will be displayed | ||
− | |||
− |
Latest revision as of 13:06, 16 February 2017
Contents
Generic gendoc template for Papyrus
Gendoc version prerequisites
To run the template, Gendoc 0.6.0 or higher is required (because of properties tag usage)
Papyrus Gendoc Bundle is also required
Import and Run
if you are a Gendoc newcomer you can try to start using Gendoc with this project : File:SampleGendocProject.zip
This project can be imported in your workspace using File > Import ... > General > Existing Projects into Workspace
It exists 3 folders in this project :
- models : contains a sample Papyrus model
- template : contains the generic gendoc template and conf.properties can be used to change the input model or the output path
- generated : the default output path for generation
To run the documentation generation you just have to right click on SampleProject/template/gendoc_generic.docx > Generate documentation using Gendoc
Don't forget to
- refresh the generated folder after generation
- update the document fields when you open the result of the generation (Ctrl + A, F9)
Template description
This template uses Gendoc capabilities :
- take the root element of the model
- for each package and their children insert the diagram and the associated comment of the package
- for each element displayed in each diagram, if this element has a diagram the will be displayed