diff options
| author | 2025-10-06 01:44:22 +0800 | |
|---|---|---|
| committer | 2025-10-06 01:44:22 +0800 | |
| commit | 39beff88ff42ec9f8365100ab1724dff2e7dd1ea (patch) | |
| tree | 8f2316c7880b4a624eaf9c87a6c1a87ce4495199 | |
| parent | fac7efb7cf27425fe58dda2f3dbbb1868a647548 (diff) | |
| download | OneRoll-39beff88ff42ec9f8365100ab1724dff2e7dd1ea.tar.gz OneRoll-39beff88ff42ec9f8365100ab1724dff2e7dd1ea.zip | |
refactor: update GitHub Actions workflow to build LaTeX PDF directly and remove latexonly target from Makefile
| -rw-r--r-- | .github/workflows/docs.yml | 5 | ||||
| -rw-r--r-- | 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 # |
