From 5f1adaac1a1577293bb7a233ab40acde9875ff68 Mon Sep 17 00:00:00 2001 From: Maxim Reznik Date: Tue, 17 Sep 2024 21:39:51 +0300 Subject: [PATCH] Try to build PDF --- .github/workflows/publish-latest.yml | 5 +++-- frontend/sphinx/conf_patch_ukr.py | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish-latest.yml b/.github/workflows/publish-latest.yml index df4f76aa9..c4f65a512 100644 --- a/.github/workflows/publish-latest.yml +++ b/.github/workflows/publish-latest.yml @@ -1,6 +1,6 @@ name: Build Sphinx Books -on: [workflow_dispatch] +on: [push] defaults: run: @@ -71,7 +71,7 @@ jobs: python -m pip install --upgrade pip pip install -r requirements.txt - name: Run Webpack & Sphinx production - run: make cleanall webpack-production sphinx-production + run: make cleanall webpack-production sphinx-production pdf_books # - name: Run SPHINX content tests # run: make -k HIDDEN_BOOKS=$HIDDEN_BOOKS HIDDEN_CONTENTS="" test_all_content # - name: Build PDF books including build/runtime output @@ -114,5 +114,6 @@ jobs: url: ${{steps.deployment.outputs.page_url}} steps: - name: Deploy artifact + if: ${{ false }} id: deployment uses: actions/deploy-pages@v4 diff --git a/frontend/sphinx/conf_patch_ukr.py b/frontend/sphinx/conf_patch_ukr.py index 588368e61..58aa8d6e5 100644 --- a/frontend/sphinx/conf_patch_ukr.py +++ b/frontend/sphinx/conf_patch_ukr.py @@ -2,7 +2,7 @@ exclude_patterns += [ 'about.rst', - 'index.rst', + './index.rst', '**/README.md' ]