Skip to content

Commit

Permalink
potential fix for remote doc build
Browse files Browse the repository at this point in the history
  • Loading branch information
henrypinkard committed Aug 26, 2024
1 parent 09c6899 commit b4ef861
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
6 changes: 6 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@
# -- Project information -----------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information

# Somehow this fixes the docs when built on readthedocs?
import os
import sys
sys.path.insert(0, os.path.abspath('..'))


project = 'ExEngine'
copyright = '2024, Henry Pinkard'
author = 'Henry Pinkard'
Expand Down
8 changes: 6 additions & 2 deletions readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ build:
tools:
python: "3.10"
jobs:
post_checkout:
post_checkout: # this deals with git LFS and the figures
# Download and uncompress the binary
# https://git-lfs.github.com/
- wget https://github.com/git-lfs/git-lfs/releases/download/v3.1.4/git-lfs-linux-amd64-v3.1.4.tar.gz
Expand All @@ -33,4 +33,8 @@ build:
# Optionally specify the Python version used by Read the Docs
python:
install:
- requirements: docs/requirements.txt
- method: pip
path: .
extra_requirements:
- docs
- requirements: docs/requirements.txt

0 comments on commit b4ef861

Please sign in to comment.