Skip to content

Commit

Permalink
try copying python source to build dir
Browse files Browse the repository at this point in the history
Signed-off-by: Bryce Ferenczi <[email protected]>
  • Loading branch information
5had3z committed May 31, 2024
1 parent c255f84 commit e882483
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ jobs:
uses: actions/checkout@v4
- name: Build docs
run: |
mkdir docs/_build
cp -r src/sc2_replay_reader docs/_build/sc2_replay_reader
make -C docs html
touch docs/_build/html/.nojekyll
- name: Deploy
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import subprocess
from pathlib import Path

sys.path.insert(0, str(Path(__file__).parent.parent / "src" / "sc2_replay_reader"))
sys.path.insert(0, str(Path(__file__).parent / "_build" / "sc2_replay_reader"))

# Doxygen
subprocess.call("doxygen Doxyfile", shell=True)
Expand Down

0 comments on commit e882483

Please sign in to comment.