Skip to content

Commit

Permalink
Fix documentation publishing (readium#420)
Browse files Browse the repository at this point in the history
  • Loading branch information
mickael-menu committed Nov 9, 2023
1 parent 011e0d7 commit 56e88ca
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 17 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,26 +9,26 @@ on:
jobs:
docs:
name: Update documentation
runs-on: ubuntu-18.04
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Fetch tags
run: git fetch --prune --unshallow

- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: 3.6
python-version: 3.11.6

- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
pip install mkdocs mkdocs-material mike
- uses: actions/setup-java@v2
- uses: actions/setup-java@v3
with:
java-version: 11
distribution: 'adopt'
Expand All @@ -48,4 +48,4 @@ jobs:
git config --global user.email "${GITHUB_ACTOR}@users.noreply.github.com"
mike deploy ${{ env.READIUM_VERSION }}
mike set-default ${{ env.READIUM_VERSION }}
mike deploy --rebase --push --update-aliases ${{ env.READIUM_VERSION }} latest
mike deploy --push --update-aliases ${{ env.READIUM_VERSION }} latest
11 changes: 0 additions & 11 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,17 +50,6 @@ nav:
- PDF support: guides/pdf.md
- Text-to-speech: guides/tts.md
- Extracting the content of a publication: guides/content.md
- API Reference:
- Shared: readium/shared/index.md
- Streamer: readium/streamer/index.md
- Navigator: readium/navigator/index.md
- OPDS: readium/opds/index.md
- LCP: readium/lcp/index.md
- Adapters:
- PDFium Document: readium/adapters/pdfium/pdfium-document/index.md
- PDFium Navigator: readium/adapters/pdfium/pdfium-navigator/index.md
- PSPDFKit Document: readium/adapters/pspdfkit/pspdfkit-document/index.md
- PSPDFKit Navigator: readium/adapters/pspdfkit/pspdfkit-navigator/index.md

extra_css:
- readium_colors.css
Expand Down

0 comments on commit 56e88ca

Please sign in to comment.