Skip to content

Commit

Permalink
Try .readthedocs.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
M1troll committed Jun 20, 2024
1 parent f00ca29 commit b31b542
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
17 changes: 17 additions & 0 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
version: 2

build:
tools:
python: "3.12"
jobs:
post_create_environment:
# 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:
configuration: docs/conf.py
3 changes: 0 additions & 3 deletions docs/descriptors.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@ Element descriptor interfaces

.. _Element:

.. autoclass:: pomcorn.descriptors.Element
:members:

.. automodule:: pomcorn.descriptors.element
:members:
:special-members: __init__
Expand Down

0 comments on commit b31b542

Please sign in to comment.