diff --git a/.readthedocs.yml b/.readthedocs.yml new file mode 100644 index 0000000..8478d60 --- /dev/null +++ b/.readthedocs.yml @@ -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 diff --git a/docs/descriptors.rst b/docs/descriptors.rst index 1e625ba..1414ea3 100644 --- a/docs/descriptors.rst +++ b/docs/descriptors.rst @@ -28,9 +28,6 @@ Element descriptor interfaces .. _Element: -.. autoclass:: pomcorn.descriptors.Element - :members: - .. automodule:: pomcorn.descriptors.element :members: :special-members: __init__