From 0f1c24953a19fcc00503f038ef3c5cd8d921edcb Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Sun, 5 Jul 2026 22:00:41 +0000 Subject: [PATCH] Install pyrepl_test_pkg on Read the Docs for autodoc examples Commit 33a4ea7 removed the local path dependency from the [docs] extra so the package could be published to PyPI, but RTD was still only running pip install .[docs]. Without pyrepl_test_pkg importable at build time, .. autofunction:: pyrepl_test_pkg.demo.example_generator renders nothing. Co-authored-by: chrizzftd --- .readthedocs.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.readthedocs.yml b/.readthedocs.yml index b912f2f..140a977 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -10,6 +10,9 @@ python: path: . extra_requirements: - docs + # Autodoc examples import pyrepl_test_pkg; cannot live in [docs] extra (PyPI rejects file: URLs). + - method: pip + path: tests/fixtures/pyrepl_test_pkg sphinx: configuration: docs/conf.py