Skip to content

[ENHANCEMENT] Change auto generated .adoc to use 'profilesdir' for any included autogenerated data. #291

Description

@mjdrzewi

Is your feature request related to a problem? Please describe:

When files are included in .adoc files it is relative to the rood document. The auto generated files assume that they are in a specific relative position to the root document. This forces one specific folder structure. This is currently preventing me from organizing my documentation as I need.

Describe the solution you'd like:

Update the builders to use
plantuml::{profilesdir}/$fileName.rdfs-t2b.puml in place of plantuml::./Profiles/$fileName.rdfs-t2b.puml

Also create .asciidoctorconfig.adoc in the Profiles directory if it does not exist yet by default and define :profilesdir: {asciidoctorconfigdir} in it. This is so the profilesdir will be defined when any of the auto generated .adoc files are the root document, and still allows for the user to override the variable if required.

This also allows for more flexible project file structure.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

Status
In progress
Status
In progress

Relationships

None yet

Development

No branches or pull requests

Issue actions