We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7346eb commit 617801aCopy full SHA for 617801a
.github/workflows/manual-epub.yml
@@ -8,8 +8,19 @@ jobs:
8
steps:
9
- name: Checkout repository
10
uses: actions/checkout@v4
11
+
12
+ - name: Install HTML Tidy
13
+ run: |
14
+ apt-get update
15
+ apt-get install -y tidy
16
17
+ - name: Convert HTML to XHTML with Tidy
18
+ # Tidy returns 0 when all's well, 1 when there are warnings and 2 when there are errors.
19
+ run: tidy -asxhtml -utf8 -o user_guide/index.xhtml user_guide/index.html || [ $? -eq 0 -o $? -eq 1 ]
20
21
- name: Convert ebook
- run: ebook-convert user_guide/index.html koreader_user_guide.epub
22
+ run: ebook-convert user_guide/index.xhtml koreader_user_guide.epub
23
24
- name: Upload
25
uses: actions/upload-artifact@v4
26
with:
0 commit comments