esp-idf/docs/en/conf.py

28 lines
781 B
Python
Raw Normal View History

# -*- coding: utf-8 -*-
#
# English Language RTD & Sphinx config file
#
# 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 07:54:14 -04:00
try:
2020-05-20 22:42:59 -04:00
from conf_common import * # noqa: F403,F401
2020-05-19 07:54:14 -04:00
except ImportError:
import os
import sys
2020-05-19 07:54:14 -04:00
sys.path.insert(0, os.path.abspath('..'))
2020-05-20 22:42:59 -04:00
from conf_common import * # noqa: F403,F401
import datetime
current_year = datetime.datetime.now().year
# General information about the project.
project = u'ESP-IDF Programming Guide'
copyright = u'2016 - {}, Espressif Systems (Shanghai) Co., Ltd'.format(current_year)
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
language = 'en'