-
-
Notifications
You must be signed in to change notification settings - Fork 59
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
Add parameter singleFile #61
Comments
@GordeevArt looks good to me, I like it, I think that one day someone asked about it. Did you think about creating a PR for it. The only missing part I see is to add a hook that would react to this parameter and would remove all unnecessary files from the output directory, something similar to https://github.com/asyncapi/java-spring-template/blob/master/hooks/02_removeNotRelevantParts.js. You can access params in |
@derberg there is a problem with --watch-template when removing the directories by the hooks. Infinite recreating. |
Add singleFile param to output all in one html file asyncapi#61
Update documentation asyncapi#61
@GordeevArt crap, could you please report a bug here? |
@derberg yep. What about unpassed checks? https://github.com/asyncapi/html-template/pull/62/checks How can it be fixed? |
@GordeevArt our pipelines are based on GitHub Actions and when we added them, they did not support nicely In theory, it is enough to replace this with |
@derberg thanks it helps. Waiting for merge. |
update to the Highlight.js 10.2.0 without dirty hacks asyncapi#61
🎉 This issue has been resolved in version 0.11.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Motivation: publicate asyncapi into services that accept only single documents.
Add parameter singleFile to get html with scripts and styles in one file.
Make something like this in index.html:
The text was updated successfully, but these errors were encountered: