mirror of
https://github.com/certbot/certbot.git
synced 2026-07-28 08:45:19 +02:00
Update sys.path in docs/conf.py for Sphinx to find subdir packages.
This commit is contained in:
@@ -36,6 +36,8 @@ with codecs.open(init_fn, encoding='utf8') as fd:
|
||||
# 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(os.path.join(here, '..')))
|
||||
for pkg in 'acme', 'letsencrypt_apache', 'letsencrypt_nginx':
|
||||
sys.path.insert(0, os.path.abspath(os.path.join(here, '..', pkg)))
|
||||
|
||||
# -- General configuration ------------------------------------------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user