|
|
@@ -6,15 +6,18 @@
|
|
|
|
|
|
# Importing conf_common adds all the non-language-specific
|
|
|
# parts to this conf module
|
|
|
-import sys
|
|
|
-import os
|
|
|
-sys.path.insert(0, os.path.abspath('..'))
|
|
|
-from conf_common import * # noqa: F401, F403 - need to make available everything from common
|
|
|
-from local_util import download_file_if_missing # noqa: E402 - need to import from common folder
|
|
|
+try:
|
|
|
+ from conf_common import * # noqa: F403,F401
|
|
|
+except ImportError:
|
|
|
+ import sys
|
|
|
+ import os
|
|
|
+ sys.path.insert(0, os.path.abspath('..'))
|
|
|
+ from conf_common import * # noqa: F403,F401
|
|
|
+ from local_util import download_file_if_missing # noqa: E402 - need to import from common folder
|
|
|
|
|
|
# General information about the project.
|
|
|
project = u'ESP-IDF Programming Guide'
|
|
|
-copyright = u'2016 - 2019, Espressif Systems (Shanghai) CO., LTD'
|
|
|
+copyright = u'2016 - 2020, Espressif Systems (Shanghai) CO., LTD'
|
|
|
|
|
|
# The language for content autogenerated by Sphinx. Refer to documentation
|
|
|
# for a list of supported languages.
|