Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support doc attributes in path of file inclusions #317

Closed
xcoulon opened this issue Mar 9, 2019 · 0 comments · Fixed by #355
Closed

Support doc attributes in path of file inclusions #317

xcoulon opened this issue Mar 9, 2019 · 0 comments · Fixed by #355

Comments

@xcoulon
Copy link
Member

xcoulon commented Mar 9, 2019

eg:

:includedir: _includes
:sourcedir: ../src/main/java

include::{includedir}/fragment1.adoc[]

[source,java]
----
include::{sourcedir}/org/asciidoctor/Asciidoctor.java[]
----
@xcoulon xcoulon added this to the v0.3.0 milestone Mar 9, 2019
@xcoulon xcoulon self-assigned this Apr 15, 2019
xcoulon added a commit to xcoulon/libasciidoc that referenced this issue May 14, 2019
attribute in path is resolved during preprocessing.

Fixes bytesparadise#317

Signed-off-by: Xavier Coulon <[email protected]>
xcoulon added a commit that referenced this issue May 14, 2019
attribute in path is resolved during preprocessing.

Fixes #317

Signed-off-by: Xavier Coulon <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant