Skip to content

Commit

Permalink
Try again
Browse files Browse the repository at this point in the history
  • Loading branch information
robertdstein committed May 11, 2024
1 parent ad9141a commit b0056e3
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
12 changes: 7 additions & 5 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,13 @@ build:
python: "3.11"
jobs:
post_create_environment:
- echo "Command run at 'post_create_environment' step"
- python -m pip install --upgrade --no-cache-dir pip setuptools
- pip install poetry
- poetry install
- pip install -e .
# Install poetry
# https://python-poetry.org/docs/#installing-manually
- python -m pip install poetry
post_install:
# Install dependencies with 'docs' dependency group
# https://python-poetry.org/docs/managing-dependencies/#dependency-groups
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH poetry install --with docs

sphinx:
builder: html
Expand Down
2 changes: 1 addition & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,12 @@ scipy = "^1.12.0"
python-dotenv = "^1.0.1"
pyarrow = ">=15.0.2,<17.0.0"

[tool.poetry.group.dev.dependencies]
[tool.poetry.group.docs.dependencies]
sphinx = "^7.0.1"
sphinx-rtd-theme = "^2.0.0"
sphinx-mdinclude = ">=0.5.3,<0.7.0"

[tool.poetry.group.dev.dependencies]
black = "^24.1.1"
pre-commit = "^3.6.0"
isort = {extras = ["pyproject"], version = "^5.12.0"}
Expand Down

0 comments on commit b0056e3

Please sign in to comment.