Skip to content

Commit

Permalink
Use poetry on RTD
Browse files Browse the repository at this point in the history
  • Loading branch information
ObserverOfTime committed Oct 18, 2023
1 parent b2da5eb commit 9713576
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 7 deletions.
10 changes: 7 additions & 3 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,13 @@ build:
os: ubuntu-22.04
tools:
python: '3.10'
python:
install:
- requirements: docs/requirements.txt
jobs:
post_create_environment:
- pip install poetry
- poetry config virtualenvs.create false
post_install:
- poetry install --with docs
sphinx:
builder: html
configuration: docs/conf.py
fail_on_warning: true
2 changes: 1 addition & 1 deletion docs/modules.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ API reference
.. default-domain:: py

core module
-------------
-----------

.. automodule:: yaenv.core
:members:
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.

9 changes: 7 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "yaenv"
version = "1.6.4.dev2"
version = "1.6.4"
readme = "README.rst"
license = "BSD-3-Clause"
description = "Yet another dotenv parser for Python."
Expand Down Expand Up @@ -40,9 +40,14 @@ mypy = "^1.6.1"
pytest = "^7.4.2"
pytest-cov = "^4.1.0"
pytest-pspec = "^0.0.4"
ruff = "^0.1.0"

[tool.poetry.group.docs]
optional = true

[tool.poetry.group.docs.dependencies]
sphinx = "~6.2.1"
sphinx-rtd-theme = "^1.3.0"
ruff = "^0.1.0"

[tool.poetry.urls]
"Bug tracker" = "https://github.com/ObserverOfTime/yaenv/issues"
Expand Down

0 comments on commit 9713576

Please sign in to comment.