chore(docs) improve PDF sidebar and pin dependencies
This commit is contained in:
2
.github/workflows/compile_docs.yml
vendored
2
.github/workflows/compile_docs.yml
vendored
@@ -37,7 +37,7 @@ jobs:
|
|||||||
run: sudo apt-get install doxygen texlive-xetex texlive-binaries texlive-lang-english latexmk fonts-freefont-otf
|
run: sudo apt-get install doxygen texlive-xetex texlive-binaries texlive-lang-english latexmk fonts-freefont-otf
|
||||||
- name: Install requirements
|
- name: Install requirements
|
||||||
run: |
|
run: |
|
||||||
pip install --upgrade --upgrade-strategy eager sphinx recommonmark commonmark breathe sphinx-rtd-theme sphinx-markdown-tables sphinx-sitemap
|
pip install --upgrade --upgrade-strategy eager Sphinx==3.5.4 breathe==4.30.0 recommonmark==0.6.0 commonmark==0.9.1 sphinx-rtd-theme==0.5.2 sphinx-markdown-tables==0.0.15 sphinx-sitemap==2.2.0
|
||||||
- name: Setup Emscripten cache
|
- name: Setup Emscripten cache
|
||||||
id: cache-system-libraries
|
id: cache-system-libraries
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
|
|||||||
@@ -169,6 +169,9 @@ latex_elements = {
|
|||||||
'utf8extra': '',
|
'utf8extra': '',
|
||||||
'classoptions': ',openany,oneside',
|
'classoptions': ',openany,oneside',
|
||||||
'babel': '\\usepackage{babel}',
|
'babel': '\\usepackage{babel}',
|
||||||
|
'passoptionstopackages': r'''
|
||||||
|
\PassOptionsToPackage{bookmarksdepth=5}{hyperref}% depth of pdf bookmarks
|
||||||
|
''',
|
||||||
'preamble': r'''
|
'preamble': r'''
|
||||||
\usepackage{fontspec}
|
\usepackage{fontspec}
|
||||||
\setmonofont{DejaVu Sans Mono}
|
\setmonofont{DejaVu Sans Mono}
|
||||||
|
|||||||
Reference in New Issue
Block a user