mirror of
https://github.com/certbot/certbot.git
synced 2026-06-07 15:52:08 -04:00
Update sys.path in docs/conf.py for Sphinx to find subdir packages.
This commit is contained in:
parent
2ae6ac2bfd
commit
ff8925d92f
1 changed files with 2 additions and 0 deletions
|
|
@ -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 ------------------------------------------------
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue