From ed03a2bd8db7c8581e6f12f1dc58aa5bc8201577 Mon Sep 17 00:00:00 2001 From: "Ankur Sinha (Ankur Sinha Gmail)" Date: Wed, 21 Feb 2024 11:27:15 +0000 Subject: [PATCH] docs: install package before generating docs Getting the version using `importlib` requires the package to be installed. --- .readthedocs.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index ae78afd..87d3b7f 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -9,7 +9,10 @@ build: sphinx: configuration: doc/conf.py - python: install: - - requirements: doc/requirements.txt + - method: pip + path: . + extra_requirements: + - doc +