Skip to content

Commit

Permalink
Merge pull request #12 from Ioan-Cristian/main
Browse files Browse the repository at this point in the history
Added support for EPUB builds
  • Loading branch information
rpsene committed May 14, 2024
2 parents e9b1c7d + d458d75 commit 1a78c7f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions Dockerfiles/ubuntu2204
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
asciidoctor-lists \
asciidoctor-mathematical \
asciidoctor-pdf \
asciidoctor-epub3 \
asciidoctor-kroki \
citeproc-ruby \
coderay \
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ To build the documentation, execute the following steps:
```bash
# run the build within the container from within the riscv-isa-manual directory
docker run -it -v $(pwd)/riscv-isa-manual:/build riscvintl/riscv-docs-base-container-image:latest /bin/sh -c 'cd ./build; make'
docker run -it -v $(pwd)/riscv-isa-manual:/build riscvintl/riscv-docs-base-container-image:latest /bin/sh -c 'EXPORT LANG=C.utf8; cd ./build; make'
```

The build artifacts will be located within the `riscv-isa-manual` in the `build` directory, for instance:
Expand Down Expand Up @@ -101,6 +101,8 @@ To build the documentation, execute the following steps:
docker run -it -v $(pwd)/riscv-isa-manual:/build riscvintl/riscv-docs-base-container-image:latest /bin/bash

# within the container
# asciidoctor-epub3's dependency SASS fails to parse SCSS files due to the encoding being set to ANSI_X3.4-1968
export LANG=C.utf8
cd ./build
make
```
Expand Down

0 comments on commit 1a78c7f

Please sign in to comment.