From e20f62613ad08220fd7ad52fbf6d8865671dacc6 Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Tue, 10 Aug 2021 10:29:55 -0700 Subject: [PATCH] Help Read The Docs find modules to autodoc --- docs/conf.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 1f5a158..2607be4 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -16,9 +16,10 @@ from subprocess import Popen, PIPE # 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. # -# import os -# import sys -# sys.path.insert(0, os.path.abspath('.')) +import os +import sys + +sys.path.insert(0, os.path.abspath("..")) # -- General configuration ------------------------------------------------