From a894c6a062cac30b3923e782ffee2ac0424fcaea Mon Sep 17 00:00:00 2001 From: Ian Stapleton Cordasco Date: Sat, 7 Jun 2025 13:05:32 -0500 Subject: [PATCH] Ensure uritemplate is installed for docs --- docs/.readthedocs.yaml | 2 ++ docs/source/conf.py | 5 ++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/.readthedocs.yaml b/docs/.readthedocs.yaml index ccad8ed..0fccdb3 100644 --- a/docs/.readthedocs.yaml +++ b/docs/.readthedocs.yaml @@ -41,3 +41,5 @@ formats: python: install: - requirements: docs/source/requirements.txt + - method: pip + path: . diff --git a/docs/source/conf.py b/docs/source/conf.py index 4d365ae..3e96f4a 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -15,9 +15,12 @@ # If extensions (or modules to document with autodoc) are in another directory, # add these directories to sys.path here. If the directory is relative to the # documentation root, use os.path.abspath to make it absolute, like shown here. -sys.path.insert(0, os.path.abspath("..")) +sys.path.insert(0, os.path.abspath("../..")) +# fmt: off import uritemplate +# fmt: on + # -- General configuration ----------------------------------------------------- # If your documentation needs a minimal Sphinx version, state it here.