-
Notifications
You must be signed in to change notification settings - Fork 232
CI: Build PDF documentation using tectonic #3765
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 15 commits
050ab21
755505c
077bfb2
e7d81e7
cf0006e
e6270ef
225d46e
54406c0
e780d43
c85c571
510b269
8d1b14a
535da8f
32011fe
06d668f
ec305d0
93a9ac3
5a7390d
c844c5a
913c9ec
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -117,6 +117,9 @@ jobs: | |
sphinx-design | ||
sphinx-gallery | ||
sphinx_rtd_theme<3.0 | ||
cairosvg | ||
sphinxcontrib-svg2pdfconverter | ||
tectonic | ||
|
||
# Download cached remote files (artifacts) from GitHub | ||
- name: Download remote data from GitHub | ||
|
@@ -135,9 +138,11 @@ jobs: | |
python -m build --sdist | ||
python -m pip install dist/* | ||
|
||
# Build the documentation | ||
- name: Build the documentation | ||
run: make -C doc clean all | ||
- name: Build the HTML documentation | ||
run: make -C doc clean html | ||
|
||
- name: Build the PDF documentation | ||
run: make -C doc pdf | ||
|
||
- name: Checkout the gh-pages branch | ||
uses: actions/[email protected] | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,16 +28,17 @@ | |
"sphinx.ext.autodoc", | ||
"sphinx.ext.autosummary", | ||
"sphinx.ext.coverage", | ||
"sphinx.ext.mathjax", | ||
"sphinx.ext.doctest", | ||
"sphinx.ext.viewcode", | ||
"sphinx.ext.extlinks", | ||
"sphinx.ext.intersphinx", | ||
"sphinx.ext.mathjax", | ||
"sphinx.ext.napoleon", | ||
"sphinx.ext.viewcode", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sort all extensions alphabetically. |
||
"sphinx_autodoc_typehints", | ||
"sphinx_copybutton", | ||
"sphinx_design", | ||
"sphinx_gallery.gen_gallery", | ||
"sphinxcontrib.cairosvgconverter", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Add the |
||
] | ||
|
||
# Suppress warnings | ||
|
@@ -248,3 +249,6 @@ | |
"github_version": "main", | ||
"commit": commit_link, | ||
} | ||
|
||
# Configurations for LaTeX | ||
latex_engine = "xelatex" | ||
Comment on lines
+253
to
+254
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The default latex engine is |
Uh oh!
There was an error while loading. Please reload this page.