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

Pass attributes to processor.load in getData #16

Closed
eiswind opened this issue Feb 14, 2024 · 2 comments
Closed

Pass attributes to processor.load in getData #16

eiswind opened this issue Feb 14, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@eiswind
Copy link

eiswind commented Feb 14, 2024

When including source code examples I rely on a custom path attribute like:

[source,java]
----
include::{examplesdir}/spring/restclienttest/src/main/java/de/eiswind/restclienttest/SomeWildApiClient.java[tag=snip]
----
<1> some callout text

this works fine, but i get warnings in getData about callouts not being found, and my guess would be that the examplesdir attribute is not defined when processer.load gets called.

I could try to create a PR if you agree and pass available ProcessorOptions to load.

@saneef saneef closed this as completed in c5b400a Feb 14, 2024
@saneef saneef added the bug Something isn't working label Feb 14, 2024
@saneef
Copy link
Owner

saneef commented Feb 14, 2024

Thanks for reporting. I have published v3.1.2 with fix for this issue.

@eiswind
Copy link
Author

eiswind commented Feb 14, 2024

Thx! Just updated, no more warnings! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants