-
Notifications
You must be signed in to change notification settings - Fork 5
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
[specification] PDF update #43
Conversation
I am OK with the patch. But, CI failed? @sameo |
In order to include mermaid diagrams that are both github and asciidoc compatible, we need to include the mermaid-cli package. With that CLI, we can convert github mermaid diagrams on the fly, as shown in riscv-non-isa/riscv-ap-tee-io#43 Signed-off-by: Samuel Ortiz <sameo@rivosinc.com>
Yes, the container image used for building the PDF is missing the mermaid CLI. I opened a PR to fix this: |
@sameo , I approved it. Once the CI issue is resolved, you can merge it. |
@sameo can you submit the PR again so it can run against the up to date build configuration? |
…agrams In order for mermaid diagrams to render properly on both github and the generated PDF, we need to preprocess the spec source and replace [source,mermaid] occurences with [mermaid] ones. Signed-off-by: Samuel Ortiz <sameo@rivosinc.com>
Signed-off-by: Samuel Ortiz <sameo@rivosinc.com>
@sameo let me check why the build fails. |
@sameo yes, I was following the build. I will debug it here locally now. |
👍 LGTM - hopefully the CI issues have resolved? |
Until the container image is fixed. Signed-off-by: Samuel Ortiz <sameo@rivosinc.com>
Update the PDF with all recently added sections.
Add an
asciidoctor-pdf
preprocessor for it to properly render mermaid diagrams.