From 39beff88ff42ec9f8365100ab1724dff2e7dd1ea Mon Sep 17 00:00:00 2001 From: HsiangNianian Date: Mon, 6 Oct 2025 01:44:22 +0800 Subject: refactor: update GitHub Actions workflow to build LaTeX PDF directly and remove latexonly target from Makefile --- .github/workflows/docs.yml | 5 ++--- docs/Makefile | 3 --- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index c9f4df9..86d2379 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -29,14 +29,13 @@ jobs: cd docs ls -l make html + make latex - name: Build LaTeX PDF file uses: xu-cheng/texlive-action@v3 with: run: | - cd docs - make latexonly - cd _build/latex + cd ./docs/_build/latex ls -l make cp *.pdf ../html/_static/ diff --git a/docs/Makefile b/docs/Makefile index 40a00ea..59b5b2c 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -1,6 +1,3 @@ -# latexonly: only build latex from already generated sources -latexonly: - $(SPHINXBUILD) -b latex "$(SOURCEDIR)" "$(BUILDDIR)/latex" $(SPHINXOPTS) $(O) # Minimal makefile for Sphinx documentation # -- cgit v1.2.3-70-g09d2