aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorHsiangNianian <i@jyunko.cn>2025-10-06 01:38:50 +0800
committerHsiangNianian <i@jyunko.cn>2025-10-06 01:38:50 +0800
commitfac7efb7cf27425fe58dda2f3dbbb1868a647548 (patch)
tree737f175f8f9c908a98346dc8c0d909e0d485c589
parent22557ab6f02f11e9e480d4df5c61509b70f5dc0e (diff)
downloadOneRoll-fac7efb7cf27425fe58dda2f3dbbb1868a647548.tar.gz
OneRoll-fac7efb7cf27425fe58dda2f3dbbb1868a647548.zip
feat: add latexonly target to Makefile for building LaTeX from existing sources and update workflow to use it
-rw-r--r--.github/workflows/docs.yml2
-rw-r--r--docs/Makefile3
2 files changed, 4 insertions, 1 deletions
diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml
index 462872d..c9f4df9 100644
--- a/.github/workflows/docs.yml
+++ b/.github/workflows/docs.yml
@@ -35,7 +35,7 @@ jobs:
with:
run: |
cd docs
- make latex
+ make latexonly
cd _build/latex
ls -l
make
diff --git a/docs/Makefile b/docs/Makefile
index 59b5b2c..40a00ea 100644
--- a/docs/Makefile
+++ b/docs/Makefile
@@ -1,3 +1,6 @@
+# latexonly: only build latex from already generated sources
+latexonly:
+ $(SPHINXBUILD) -b latex "$(SOURCEDIR)" "$(BUILDDIR)/latex" $(SPHINXOPTS) $(O)
# Minimal makefile for Sphinx documentation
#