-
Notifications
You must be signed in to change notification settings - Fork 158
/
Copy pathconf_common.py
37 lines (28 loc) · 981 Bytes
/
conf_common.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# -*- coding: utf-8 -*-
#
# Common (non-language-specific) configuration for Sphinx
#
# type: ignore
# pylint: disable=wildcard-import
# pylint: disable=undefined-variable
from __future__ import print_function, unicode_literals
from esp_docs.conf_docs import * # noqa: F403,F401
import os
import sys
sys.path.insert(0, os.path.abspath('.'))
extensions += ['sphinx_copybutton',
# Needed as a trigger for running doxygen
'esp_docs.esp_extensions.dummy_build_system',
'esp_docs.esp_extensions.run_doxygen',
'sphinx.ext.autodoc'
]
# link roles config
github_repo = 'espressif/esp-rainmaker'
# context used by sphinx_idf_theme
html_context['github_user'] = 'espressif'
html_context['github_repo'] = 'esp-rainmaker'
html_static_path = ['../_static']
# Extra options required by sphinx_idf_theme
project_slug = 'esp-rainmaker'
idf_targets = ['esp32', 'esp32s3', 'esp32c2', 'esp32c3']
languages = ['en']