Skip to content

Fix documentation publishing #420

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

Merged
merged 2 commits into from
Nov 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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