I am currently working on an Asciidoctor include processor extension. The goal is to include gherkin feature files and customize their AsciiDoc markup. However, I am encountering challenges in correctly reading the content of these included files.
Current Implementation:
Here's the relevant part of my current code:
In this code, I am trying to read the content of a .feature file based on the doc.attributes['$$smap'] values. The content is then processed and pushed back into the reader.
How should the file paths be correctly resolved in a scenario where the files are in different directories or modules?
Any assistance, tips, or examples would be greatly appreciated. Thank you!
Environment:
I am currently working on an Asciidoctor include processor extension. The goal is to include gherkin feature files and customize their AsciiDoc markup. However, I am encountering challenges in correctly reading the content of these included files.
Current Implementation: Here's the relevant part of my current code:
In this code, I am trying to read the content of a .feature file based on the doc.attributes['$$smap'] values. The content is then processed and pushed back into the reader.
How should the file paths be correctly resolved in a scenario where the files are in different directories or modules?
Any assistance, tips, or examples would be greatly appreciated. Thank you!