2024-12-11 03:43:53 +00:00
|
|
|
# type: ignore
|
2016-10-23 20:14:24 +00:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
#
|
2018-03-14 23:47:57 +00:00
|
|
|
# English Language RTD & Sphinx config file
|
2016-10-23 20:14:24 +00:00
|
|
|
#
|
2018-03-14 23:47:57 +00:00
|
|
|
# Uses ../conf_common.py for most non-language-specific settings.
|
|
|
|
# Importing conf_common adds all the non-language-specific
|
|
|
|
# parts to this conf module
|
2020-05-19 11:54:14 +00:00
|
|
|
try:
|
2020-05-21 02:42:59 +00:00
|
|
|
from conf_common import * # noqa: F403,F401
|
2020-05-19 11:54:14 +00:00
|
|
|
except ImportError:
|
|
|
|
import os
|
2021-01-22 12:06:05 +00:00
|
|
|
import sys
|
2020-05-19 11:54:14 +00:00
|
|
|
sys.path.insert(0, os.path.abspath('..'))
|
2020-05-21 02:42:59 +00:00
|
|
|
from conf_common import * # noqa: F403,F401
|
2016-10-23 20:14:24 +00:00
|
|
|
|
2022-01-10 07:03:51 +00:00
|
|
|
import datetime
|
|
|
|
|
|
|
|
current_year = datetime.datetime.now().year
|
|
|
|
|
2016-10-23 20:14:24 +00:00
|
|
|
# General information about the project.
|
2018-03-14 23:47:57 +00:00
|
|
|
project = u'ESP-IDF 编程指南'
|
2022-01-10 07:03:51 +00:00
|
|
|
copyright = u'2016 - {} 乐鑫信息科技(上海)股份有限公司'.format(current_year)
|
2016-10-23 20:14:24 +00:00
|
|
|
|
|
|
|
# The language for content autogenerated by Sphinx. Refer to documentation
|
|
|
|
# for a list of supported languages.
|
2018-02-03 21:12:13 +00:00
|
|
|
language = 'zh_CN'
|
2024-12-11 03:43:53 +00:00
|
|
|
|
|
|
|
html_zip = f'esp-idf-{language}-{release}' # noqa: F405
|