Skip to content

Commit 56e88ca

Browse files
authored
Fix documentation publishing (readium#420)
1 parent 011e0d7 commit 56e88ca

File tree

2 files changed

+6
-17
lines changed

2 files changed

+6
-17
lines changed

.github/workflows/docs.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -9,26 +9,26 @@ on:
99
jobs:
1010
docs:
1111
name: Update documentation
12-
runs-on: ubuntu-18.04
12+
runs-on: ubuntu-latest
1313

1414
steps:
1515
- name: Checkout
16-
uses: actions/checkout@v2
16+
uses: actions/checkout@v4
1717

1818
- name: Fetch tags
1919
run: git fetch --prune --unshallow
2020

2121
- name: Set up Python
22-
uses: actions/setup-python@v2
22+
uses: actions/setup-python@v4
2323
with:
24-
python-version: 3.6
24+
python-version: 3.11.6
2525

2626
- name: Install Python dependencies
2727
run: |
2828
python -m pip install --upgrade pip
2929
pip install mkdocs mkdocs-material mike
3030
31-
- uses: actions/setup-java@v2
31+
- uses: actions/setup-java@v3
3232
with:
3333
java-version: 11
3434
distribution: 'adopt'
@@ -48,4 +48,4 @@ jobs:
4848
git config --global user.email "${GITHUB_ACTOR}@users.noreply.github.com"
4949
mike deploy ${{ env.READIUM_VERSION }}
5050
mike set-default ${{ env.READIUM_VERSION }}
51-
mike deploy --rebase --push --update-aliases ${{ env.READIUM_VERSION }} latest
51+
mike deploy --push --update-aliases ${{ env.READIUM_VERSION }} latest

mkdocs.yml

-11
Original file line numberDiff line numberDiff line change
@@ -50,17 +50,6 @@ nav:
5050
- PDF support: guides/pdf.md
5151
- Text-to-speech: guides/tts.md
5252
- Extracting the content of a publication: guides/content.md
53-
- API Reference:
54-
- Shared: readium/shared/index.md
55-
- Streamer: readium/streamer/index.md
56-
- Navigator: readium/navigator/index.md
57-
- OPDS: readium/opds/index.md
58-
- LCP: readium/lcp/index.md
59-
- Adapters:
60-
- PDFium Document: readium/adapters/pdfium/pdfium-document/index.md
61-
- PDFium Navigator: readium/adapters/pdfium/pdfium-navigator/index.md
62-
- PSPDFKit Document: readium/adapters/pspdfkit/pspdfkit-document/index.md
63-
- PSPDFKit Navigator: readium/adapters/pspdfkit/pspdfkit-navigator/index.md
6453

6554
extra_css:
6655
- readium_colors.css

0 commit comments

Comments
 (0)