Skip to content

Commit

Permalink
#449 Fix resolving of relative !include paths in Structurizr DSL input
Browse files Browse the repository at this point in the history
  • Loading branch information
pepijnve committed Dec 25, 2023
1 parent 68daf14 commit caad23a
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.adoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
= Asciidoctor-diagram Changelog

== 2.2.15

Bugfixes::

* Issue #449: Fix resolving of relative `!include` paths in Structurizr DSL input.

== 2.2.14

Bugfixes::
Expand Down
2 changes: 2 additions & 0 deletions lib/asciidoctor-diagram/structurizr/converter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ def convert(source, format, options)
'Accept' => Renderers.mime_type(options[:renderer])
}
headers['X-Structurizr-View'] = options[:view] if options[:view]
headers['X-Structurizr-IncludeDir'] = Platform.native_path(source.base_dir)


response = Java.send_request(
:url => '/structurizr',
Expand Down
Binary file not shown.
Binary file not shown.

0 comments on commit caad23a

Please sign in to comment.