Skip to content

Commit

Permalink
rename component-tree to component-tree-diagram
Browse files Browse the repository at this point in the history
- rename component-tree to component-tree-diagram
- nest 'Component Tree Diagram' under 'System Model'
  • Loading branch information
capsulecorplab committed Oct 1, 2021
1 parent 9499acb commit 2c92879
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions buildDocs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ docker run --rm --volume "$PWD:/src" -w "/src" capsulecorplab/asciidoctor-extend
# generate use-case-diagrams.puml from liquid template
docker run --rm --volume "$PWD:/src" -w "/src" capsulecorplab/asciidoctor-extended:asciidocsy-nodejs 'node m30mlTools/generateDoc.js --unifiedModel=dist/architecture.yaml --template=templates/use-case-diagram.puml.liquid --out=dist/use-case-diagram.puml'

# generate component-tree.puml from liquid template
docker run --rm --volume "$PWD:/src" -w "/src" capsulecorplab/asciidoctor-extended:asciidocsy-nodejs 'node m30mlTools/generateDoc.js --unifiedModel=dist/component.yaml --template=templates/component-tree.puml.liquid --out=dist/component-tree.puml'
# generate component-tree-diagram.puml from liquid template
docker run --rm --volume "$PWD:/src" -w "/src" capsulecorplab/asciidoctor-extended:asciidocsy-nodejs 'node m30mlTools/generateDoc.js --unifiedModel=dist/component.yaml --template=templates/component-tree-diagram.puml.liquid --out=dist/component-tree-diagram.puml'

# generate mission-conops.adoc from liquid template
docker run --rm --volume "$PWD:/src" -w "/src" capsulecorplab/asciidoctor-extended:asciidocsy-nodejs 'node m30mlTools/generateDoc.js --unifiedModel=dist/architecture.yaml --template=templates/mission-conops.adoc.liquid --out=dist/mission-conops.adoc'
Expand Down
File renamed without changes.
8 changes: 5 additions & 3 deletions templates/mission-conops.adoc.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,11 @@ a|{% for reference in field.derivedFrom %}

{% endfor %}

== Component Composition Tree
== System Model

[plantuml, component-tree, svg]
=== Component Tree Diagram

[plantuml, component-tree-diagram, svg]
....
include::./component-tree.puml[User Stories as Use Case Diagram]
include::./component-tree-diagram.puml[User Stories as Use Case Diagram]
....

0 comments on commit 2c92879

Please sign in to comment.