mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-08 04:02:27 +00:00
docs: Move to Python 3.5+ and Sphinx 2.3
This commit is contained in:

committed by
Angus Gratton

parent
4636e8a34c
commit
291735c7dd
@@ -107,7 +107,7 @@ master_doc = 'index'
|
||||
# This is supposed to be "the short X.Y version", but it's the only version
|
||||
# visible when you open index.html.
|
||||
# Display full version to make things less confusing.
|
||||
version = subprocess.check_output(['git', 'describe']).strip()
|
||||
version = subprocess.check_output(['git', 'describe']).strip().decode('utf-8')
|
||||
# The full version, including alpha/beta/rc tags.
|
||||
# If needed, nearest tag is returned by 'git describe --abbrev=0'.
|
||||
release = version
|
||||
@@ -121,7 +121,7 @@ print('Version: {0} Release: {1}'.format(version, release))
|
||||
|
||||
# List of patterns, relative to source directory, that match files and
|
||||
# directories to ignore when looking for source files.
|
||||
exclude_patterns = ['**/inc/**', '_static']
|
||||
exclude_patterns = ['**/inc/**', '_static', '**/_build']
|
||||
|
||||
|
||||
# Add target-specific excludes based on tags (for the IDF_TARGET). Haven't found any better way to do this yet
|
||||
|
Reference in New Issue
Block a user