mirror of
https://github.com/Steffo99/sophon.git
synced 2024-12-21 22:34:21 +00:00
💥 Stuff
This commit is contained in:
parent
5c6233f3c8
commit
bdec18da29
3 changed files with 18 additions and 7 deletions
4
.github/workflows/build-sphinx-report.yml
vendored
4
.github/workflows/build-sphinx-report.yml
vendored
|
@ -13,6 +13,10 @@ jobs:
|
|||
steps:
|
||||
- name: "Checkout repository"
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
lfs: true
|
||||
- name: "Checkout LFS objects"
|
||||
run: git lfs checkout
|
||||
- name: "Setup Python"
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
|
|
10
.github/workflows/build-sphinx-thesis.yml
vendored
10
.github/workflows/build-sphinx-thesis.yml
vendored
|
@ -13,6 +13,10 @@ jobs:
|
|||
steps:
|
||||
- name: "Checkout repository"
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
lfs: true
|
||||
- name: "Checkout LFS objects"
|
||||
run: git lfs checkout
|
||||
- name: "Setup Python"
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
|
@ -48,6 +52,10 @@ jobs:
|
|||
run: sudo apt-get update -y
|
||||
- name: "Checkout repository"
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
lfs: true
|
||||
- name: "Checkout LFS objects"
|
||||
run: git lfs checkout
|
||||
- name: "Setup Python"
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
|
@ -57,7 +65,7 @@ jobs:
|
|||
with:
|
||||
poetry-version: 1.1.11
|
||||
- name: "Install LaTeX packages"
|
||||
run: sudo apt-get install -y latexmk texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended texlive-luatex
|
||||
run: sudo apt-get install -y latexmk texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended texlive-luatex fonts-ebgaramond fonts-ebgaramond-extra fonts-firacode
|
||||
- name: "Install backend dependencies"
|
||||
working-directory: backend/
|
||||
run: poetry install --no-interaction
|
||||
|
|
|
@ -142,12 +142,11 @@ latex_elements = {
|
|||
"papersize": "a4paper",
|
||||
"pointsize": "12pt",
|
||||
"sphinxsetup": ", ".join(f"{key}={value}" for key, value in latex_setup.items()),
|
||||
# TODO: Re-enable this before production
|
||||
# "fontpkg": r"""
|
||||
# \setmainfont{EB Garamond}
|
||||
# \setsansfont{Fira Sans}
|
||||
# \setmonofont{Fira Code}
|
||||
# """
|
||||
"fontpkg": r"""
|
||||
\setmainfont{EB Garamond}
|
||||
\setsansfont{EB Garamond}
|
||||
\setmonofont{Fira Code}
|
||||
"""
|
||||
}
|
||||
|
||||
# TODOs
|
||||
|
|
Loading…
Reference in a new issue