Skip to content

Commit efb9545

Browse files
authored
Merge pull request #212 from mavlink/pr-fix-docs
sphinx: fix path to create docs
2 parents d91d4f7 + 8a573b1 commit efb9545

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

mavsdk/source/conf.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,18 @@
44
# list see the documentation:
55
# https://www.sphinx-doc.org/en/master/usage/configuration.html
66

7+
import os
8+
import subprocess
9+
import sys
10+
711
# -- Path setup --------------------------------------------------------------
812

913
# If extensions (or modules to document with autodoc) are in another directory,
1014
# add these directories to sys.path here. If the directory is relative to the
1115
# documentation root, use os.path.abspath to make it absolute, like shown here.
12-
#
13-
# import os
14-
# import sys
15-
# sys.path.insert(0, os.path.abspath('.'))
16+
sys.path.insert(0, os.path.abspath('../..'))
1617

1718
# -- Project information -----------------------------------------------------
18-
import subprocess
1919

2020
project = 'MAVSDK-Python'
2121
copyright = '2020, Jonas Vautherin, Julian Oes'

0 commit comments

Comments
 (0)