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
Describe the bug
Due to the solution for #425 we introduced the data-uri setting for asciidoctor.
This breaks now the :publishToConfluence task.
To Reproduce
Steps to reproduce the behavior:
run :generateHTML task on a document with images
run :publishToConfluence
See error
Expected behavior
No error and document is published to Confluence
Screenshots
If applicable, add screenshots to help explain your problem.
Configuration
docToolchain latest
OS: all
Relevant SDK Versions all supported
Additional context
We have two possible solutions:
we don't support the requirement of fail on missing images #425 - we cannot fail on missing images, optional you can set data-uri on your own, this will then support for failing images. You cannot use :publishToConfluence then.
we implement changes in :publishToConfluence that can handle embedded images. This means embedded images need to be "unembedded" and uploaded to confluence, since confluence is not able to handle embedded images.
The text was updated successfully, but these errors were encountered:
Use asciidoctor slides plugin for revealJS.
Fix the AsciidoctorSpec and move output to global build folder.
Remove code to clone reveal.js git repository.
Document corresponding Asciidoctor reveal.js config, to ease overwrite.
Add a hint to docs for RevealJS specific config.
I prefer solution one but rather like this:
data-uri option (true/false) in the generateHTML which is overwritten with false when publishToConfluence is called.
i think with the PR that implements option 2 we can have both, embedded images (a requirement for fail on missing images) and the same behaviour as it is as of now in v2.x
Describe the bug
Due to the solution for #425 we introduced the
data-uri
setting for asciidoctor.This breaks now the
:publishToConfluence
task.To Reproduce
Steps to reproduce the behavior:
:generateHTML
task on a document with images:publishToConfluence
Expected behavior
No error and document is published to Confluence
Screenshots
If applicable, add screenshots to help explain your problem.
Configuration
Additional context
We have two possible solutions:
data-uri
on your own, this will then support for failing images. You cannot use:publishToConfluence
then.:publishToConfluence
that can handle embedded images. This means embedded images need to be "unembedded" and uploaded to confluence, since confluence is not able to handle embedded images.The text was updated successfully, but these errors were encountered: