metanorma / iso-10303-templates

Annotated EXPRESS rendering templates for ISO 10303
0 stars 0 forks source link

Add templates for module documents #12

Closed manuelfuenmayor closed 4 months ago

manuelfuenmayor commented 5 months ago

I've located the module templates inside a folder apart: modules/. This folder contains both liquid files and adoc files as it was laid out in templates_tbm/ from https://github.com/metanorma/iso-10303-srl/pull/44.

Is this setting reasonable? If it is, I would have to move the existent resource templates to another folder: resources/.

manuelfuenmayor commented 5 months ago

This is a try to achieve with step 2 from https://github.com/metanorma/iso-10303-srl/pull/44#issue-2223274448.

ronaldtse commented 5 months ago

@manuelfuenmayor yes the structure is reasonable. However, some of the templates are identical to the original. Can we reuse them from the same path?

manuelfuenmayor commented 5 months ago

Sure, I was planning to create a common_files folder to that end.

ronaldtse commented 5 months ago

Sounds good. Then we should use a separate folder for “resource” templates.

manuelfuenmayor commented 5 months ago

@ronaldtse I've finished the update of the templates. An update to the adoc files via stepmod2mn will also be necessary (i.e. step 3 from https://github.com/metanorma/iso-10303-srl/pull/44#issue-2223274448). I've described these changes in https://github.com/metanorma/stepmod2mn/issues/159.