You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I guess you should ask on https://chat.antora.org since this is related to the collector extension. I've never used the collector extension but since it's calling an external commands I don't think you will have access to the AsciiDoc attributes defined in Antora.
Maybe the collector extension could pass data as environment variables to the external commands... Otherwise, you will need to read/parse the site.yml and/or antora.yml file in the external command before calling asciidoctor-jupyter converter.
Having said that, I would recommend to create a dedicated Antora extension which uses Asciidoctor Jupyter. That's what we've done here: https://github.com/neo4j-documentation/antora-graphgist-extension. Please note that this extension is tightly coupled with the Neo4j documentation site, so you will probably need to create a new one for your documentation site.
when generating jupyter notebooks within antora using the collector extension, the asciidoc attributes defined in antora are not expanded.
here is an example with the followin asciidoc page: https://feelpp.github.io/feelpp-project/feelpp-project/2.0.0/jupyter.html (click on .ipynb to download the notebook)
in the html page the attribute is properly expanded, in the notebook not.
here is the source: https://github.com/feelpp/feelpp-project/edit/master/docs/modules/ROOT/pages/jupyter.adoc
how to pass the attribute defined in site.yml (or antora.yml) to the asciidoctor-jupyter converter ?
The text was updated successfully, but these errors were encountered: