3 Star 7 Fork 1

chyyuu/rCore-Tutorial-Book-v3

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Makefile 1.04 KB
一键复制 编辑 原始数据 按行查看 历史
Yu Chen 提交于 2022-07-20 10:21 +08:00 . fix typo in Makefile
# Minimal makefile for Sphinx documentation
#
# You can set these variables from the command line, and also
# from the environment for the first two.
SPHINXOPTS ?= -W
SPHINXBUILD ?= sphinx-build
SPHINXAUTOBUILD ?= sphinx-autobuild
SOURCEDIR = source
BUILDDIR = build
# Put it first so that "make" without argument is like "make help".
help:
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
.PHONY: help Makefile deploy liveview
# 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)
view:
make html && firefox build/html/index.html
# http://127.0.0.1:8000
liveview:
@$(SPHINXAUTOBUILD) "$(SOURCEDIR)" "$(BUILDDIR)/html"
deploy:
@make clean
@make html
@python3 scripts/fix-comments.py
@rm -rf docs
@cp -r build/html docs
@touch docs/.nojekyll
@git add -A
@git commit -m "Deploy"
@git push
htmlpath:
echo file://$(PWD)/build/html/index.html
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/chyyuu/rCore-Tutorial-Book-v3.git
git@gitee.com:chyyuu/rCore-Tutorial-Book-v3.git
chyyuu
rCore-Tutorial-Book-v3
rCore-Tutorial-Book-v3
main

搜索帮助