mirror of
https://github.com/borgbackup/borg.git
synced 2024-12-23 00:07:38 +00:00
sphinx: fix sys.path so it finds the borg package
This commit is contained in:
parent
0aec338761
commit
d62f55158e
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@
|
|||
# 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 sys, os
|
||||
sys.path.insert(0, os.path.abspath('..'))
|
||||
sys.path.insert(0, os.path.abspath('../src'))
|
||||
|
||||
from borg import __version__ as sw_version
|
||||
|
||||
|
|
Loading…
Reference in a new issue