Help Read The Docs find modules to autodoc

This commit is contained in:
Simon Willison 2021-08-10 10:29:55 -07:00
commit e20f62613a

View file

@ -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 ------------------------------------------------