Custom Read The Docs config, to get autodoc working

This commit is contained in:
Simon Willison 2021-08-10 10:39:51 -07:00
commit 50dcfc01dc
2 changed files with 15 additions and 4 deletions

View file

@ -16,10 +16,9 @@ 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 ------------------------------------------------