Skip to content

Commit

Permalink
attempt to fix PDF build #2
Browse files Browse the repository at this point in the history
  • Loading branch information
bimac committed Aug 22, 2024
1 parent 9906730 commit 9617731
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@v4
- uses: ammaraskar/sphinx-action@master
with:
pre-build-command: "apt-get update -y && apt-get install -y latexmk texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended"
pre-build-command: "apt-get update -y && apt-get install -y latexmk texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended && pip install -e ."
build-command: "make latexpdf"
docs-folder: "docs"
- uses: actions/upload-artifact@v4
Expand Down
9 changes: 2 additions & 7 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
from datetime import date

try:
from iblrig import __version__
except ModuleNotFoundError:
import sys
from pathlib import Path
sys.path.append(str(Path(__file__).parents[1].joinpath('iblrig').resolve()))
from iblrig import __version__
from iblrig import __version__


project = 'iblrig'
copyright = f'2018 – {date.today().year} International Brain Laboratory'
Expand Down

0 comments on commit 9617731

Please sign in to comment.