From 2c928793f9f0702b718123eb2d4ccb004aae642b Mon Sep 17 00:00:00 2001 From: Sean Marquez Date: Thu, 30 Sep 2021 20:12:17 -0600 Subject: [PATCH] rename component-tree to component-tree-diagram - rename component-tree to component-tree-diagram - nest 'Component Tree Diagram' under 'System Model' --- buildDocs.sh | 4 ++-- ...ree.puml.liquid => component-tree-diagram.puml.liquid} | 0 templates/mission-conops.adoc.liquid | 8 +++++--- 3 files changed, 7 insertions(+), 5 deletions(-) rename templates/{component-tree.puml.liquid => component-tree-diagram.puml.liquid} (100%) diff --git a/buildDocs.sh b/buildDocs.sh index 79089749..78315489 100755 --- a/buildDocs.sh +++ b/buildDocs.sh @@ -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' diff --git a/templates/component-tree.puml.liquid b/templates/component-tree-diagram.puml.liquid similarity index 100% rename from templates/component-tree.puml.liquid rename to templates/component-tree-diagram.puml.liquid diff --git a/templates/mission-conops.adoc.liquid b/templates/mission-conops.adoc.liquid index 6a05de72..d7834692 100644 --- a/templates/mission-conops.adoc.liquid +++ b/templates/mission-conops.adoc.liquid @@ -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] ....