Skip to content

Commit

Permalink
follow readthedocs instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
JannisNe committed Jan 11, 2025
1 parent 3d372b2 commit e2386fa
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,10 @@ 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
- poetry run python -c "import myst_parser; print(myst_parser.__version__)"
- 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
sphinx:
Expand Down

0 comments on commit e2386fa

Please sign in to comment.