mirror of
https://github.com/Steffo99/sophon.git
synced 2024-12-22 06:44: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:
|
steps:
|
||||||
- name: "Checkout repository"
|
- name: "Checkout repository"
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
lfs: true
|
||||||
|
- name: "Checkout LFS objects"
|
||||||
|
run: git lfs checkout
|
||||||
- name: "Setup Python"
|
- name: "Setup Python"
|
||||||
uses: actions/setup-python@v2
|
uses: actions/setup-python@v2
|
||||||
with:
|
with:
|
||||||
|
|
10
.github/workflows/build-sphinx-thesis.yml
vendored
10
.github/workflows/build-sphinx-thesis.yml
vendored
|
@ -13,6 +13,10 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: "Checkout repository"
|
- name: "Checkout repository"
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
lfs: true
|
||||||
|
- name: "Checkout LFS objects"
|
||||||
|
run: git lfs checkout
|
||||||
- name: "Setup Python"
|
- name: "Setup Python"
|
||||||
uses: actions/setup-python@v2
|
uses: actions/setup-python@v2
|
||||||
with:
|
with:
|
||||||
|
@ -48,6 +52,10 @@ jobs:
|
||||||
run: sudo apt-get update -y
|
run: sudo apt-get update -y
|
||||||
- name: "Checkout repository"
|
- name: "Checkout repository"
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
lfs: true
|
||||||
|
- name: "Checkout LFS objects"
|
||||||
|
run: git lfs checkout
|
||||||
- name: "Setup Python"
|
- name: "Setup Python"
|
||||||
uses: actions/setup-python@v2
|
uses: actions/setup-python@v2
|
||||||
with:
|
with:
|
||||||
|
@ -57,7 +65,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
poetry-version: 1.1.11
|
poetry-version: 1.1.11
|
||||||
- name: "Install LaTeX packages"
|
- 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"
|
- name: "Install backend dependencies"
|
||||||
working-directory: backend/
|
working-directory: backend/
|
||||||
run: poetry install --no-interaction
|
run: poetry install --no-interaction
|
||||||
|
|
|
@ -142,12 +142,11 @@ latex_elements = {
|
||||||
"papersize": "a4paper",
|
"papersize": "a4paper",
|
||||||
"pointsize": "12pt",
|
"pointsize": "12pt",
|
||||||
"sphinxsetup": ", ".join(f"{key}={value}" for key, value in latex_setup.items()),
|
"sphinxsetup": ", ".join(f"{key}={value}" for key, value in latex_setup.items()),
|
||||||
# TODO: Re-enable this before production
|
"fontpkg": r"""
|
||||||
# "fontpkg": r"""
|
\setmainfont{EB Garamond}
|
||||||
# \setmainfont{EB Garamond}
|
\setsansfont{EB Garamond}
|
||||||
# \setsansfont{Fira Sans}
|
\setmonofont{Fira Code}
|
||||||
# \setmonofont{Fira Code}
|
"""
|
||||||
# """
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# TODOs
|
# TODOs
|
||||||
|
|
Loading…
Reference in a new issue