From 126da62dd0646a3cc685c9a3d3dd1eabde588117 Mon Sep 17 00:00:00 2001 From: Niko Date: Thu, 30 May 2024 20:33:17 +0200 Subject: [PATCH] Fix API Reference (#1126) * add base directory to PATH * Check if build completes if redis is included --- docs/conf.py | 3 +++ docs/requirements.txt | 1 + 2 files changed, 4 insertions(+) diff --git a/docs/conf.py b/docs/conf.py index 0f78141..df65724 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -18,6 +18,9 @@ import os # 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('.')) +sys.path.insert(0, os.path.abspath("..")) + +import spotipy # -- General configuration ----------------------------------------------------- diff --git a/docs/requirements.txt b/docs/requirements.txt index 609f7ac..339adc9 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,2 +1,3 @@ Sphinx~=7.3.7 sphinx-rtd-theme~=2.0.0 +redis>=3.5.3