mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
docs: make conf.py python3 compatible
This commit is contained in:
parent
444d6606e7
commit
e3a5974651
@ -31,7 +31,7 @@ if 'BUILDDIR' in os.environ:
|
|||||||
builddir = os.environ['BUILDDIR']
|
builddir = os.environ['BUILDDIR']
|
||||||
|
|
||||||
# Call Doxygen to get XML files from the header files
|
# Call Doxygen to get XML files from the header files
|
||||||
print "Calling Doxygen to generate latest XML files"
|
print("Calling Doxygen to generate latest XML files")
|
||||||
os.system("doxygen ../Doxyfile")
|
os.system("doxygen ../Doxyfile")
|
||||||
# Doxygen has generated XML files in 'xml' directory.
|
# Doxygen has generated XML files in 'xml' directory.
|
||||||
# Copy them to 'xml_in', only touching the files which have changed.
|
# Copy them to 'xml_in', only touching the files which have changed.
|
||||||
@ -115,7 +115,7 @@ version = run_cmd_get_output('git describe')
|
|||||||
# The full version, including alpha/beta/rc tags.
|
# The full version, including alpha/beta/rc tags.
|
||||||
# If needed, nearest tag is returned by 'git describe --abbrev=0'.
|
# If needed, nearest tag is returned by 'git describe --abbrev=0'.
|
||||||
release = version
|
release = version
|
||||||
print 'Version: {0} Release: {1}'.format(version, release)
|
print('Version: {0} Release: {1}'.format(version, release))
|
||||||
|
|
||||||
# There are two options for replacing |today|: either, you set today to some
|
# There are two options for replacing |today|: either, you set today to some
|
||||||
# non-false value, then it is used:
|
# non-false value, then it is used:
|
||||||
|
Loading…
Reference in New Issue
Block a user