summaryrefslogtreecommitdiff
path: root/docs/Makefile
diff options
context:
space:
mode:
authorsakumisu <[email protected]>2026-01-30 22:10:34 +0800
committersakumisu <[email protected]>2026-01-30 23:16:00 +0800
commiteaefb8ed21ed23f732e8b608ed7948e6b71ab0d8 (patch)
tree427acdc61cd9bbe9a03f500bfa604a425ed3b1e4 /docs/Makefile
parent76b3720445f5b2396f3cd7dfdbecc277cafc76e7 (diff)
docs: update docs and add english version
Signed-off-by: sakumisu <[email protected]>
Diffstat (limited to 'docs/Makefile')
-rw-r--r--docs/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/docs/Makefile b/docs/Makefile
index d0c3cbf1..3c4d6efb 100644
--- a/docs/Makefile
+++ b/docs/Makefile
@@ -5,16 +5,15 @@
# from the environment for the first two.
SPHINXOPTS ?=
SPHINXBUILD ?= sphinx-build
-SOURCEDIR = source
-BUILDDIR = build
# Put it first so that "make" without argument is like "make help".
help:
- @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
+ @$(SPHINXBUILD) -M help
.PHONY: help Makefile
# Catch-all target: route all unknown targets to Sphinx using the new
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
%: Makefile
- @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
+ @$(SPHINXBUILD) -M html "zh" "output/zh" $(SPHINXOPTS) $(O)
+ @$(SPHINXBUILD) -M html "en" "output/en" $(SPHINXOPTS) $(O)