-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
570 changed files
with
97,060 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
|
||
# 构建PDF的环境 | ||
|
||
操作系统: Fedora 35 | ||
|
||
软件包: | ||
|
||
.. code-block:: | ||
# dnf -y install python3-sphinx python3-sphinx-theme-alabaster python3-sphinx_rtd_theme | ||
|
||
texlive-* (这个数量较多,如果缺少,构建时会有相应的错误提示。) | ||
|
||
# 生成PDF文件 | ||
|
||
$ cd arm | ||
|
||
$ make pdf | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Minimal makefile for Sphinx documentation | ||
# | ||
|
||
# You can set these variables from the command line, and also | ||
# from the environment for the first two. | ||
SPHINXOPTS ?= -a -b latex -v | ||
SPHINXBUILD ?= sphinx-build | ||
SOURCEDIR = . | ||
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 | ||
|
||
RELEASE_DATE=`date -r conf.py +"%Y-%m-%d"` | ||
|
||
# Catch-all target: route all unknown targets to Sphinx using the new | ||
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS). | ||
#%: Makefile | ||
pdf: | ||
$(SPHINXBUILD) $(SPHINXOPTS) -D today=${RELEASE_DATE} . "$(BUILDDIR)" | ||
(./chg_fmt.pl $(BUILDDIR)/sphinxlatexstyletext.sty; cd $(BUILDDIR); make) | ||
cp "$(BUILDDIR)/Bv9ARM.pdf" "$(SOURCEDIR)" | ||
|
||
clean:: | ||
rm -rf $(BUILDDIR) | ||
rm -f Bv9ARM.pdf |
Oops, something went wrong.