Skip to content

Commit

Permalink
Fix readthedocs deployment (#139)
Browse files Browse the repository at this point in the history
* fix myst parser version print

* follow readthedocs instructions

* add setuptools to install SciServer

* install setuptools in correct venv
  • Loading branch information
JannisNe authored Jan 11, 2025
1 parent 1f621bb commit ad4cb73
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/continous_integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ jobs:
python -m pip install --upgrade pip
python -m pip install poetry
python -m poetry install
poetry run pip install setuptools
cd SciScript-Python
poetry run python Install.py sciserver-v2.1.0
cd ..
Expand Down
4 changes: 1 addition & 3 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,9 @@ build:
# Install poetry
# https://python-poetry.org/docs/#osx--linux--bashonwindows-install-instructions
- pip install poetry
# Tell poetry to not use a virtual environment
- poetry config virtualenvs.create false
post_install:
# Install project's dependencies
- poetry install --with docs
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH poetry install --with docs
- python -c "import myst_parser; print(myst_parser.__version__)"

# Build documentation in the docs/ directory with Sphinx
Expand Down

0 comments on commit ad4cb73

Please sign in to comment.