mirror of
https://github.com/espressif/esp-idf.git
synced 2026-05-05 12:25:03 +02:00
Fail CI build on Sphinx warnings
This commit is contained in:
+3
-1
@@ -69,6 +69,7 @@ might add it in a safe way as a client API instead."""
|
||||
import os
|
||||
import re
|
||||
import sys
|
||||
import platform
|
||||
|
||||
# File layout:
|
||||
#
|
||||
@@ -165,7 +166,8 @@ class Config(object):
|
||||
self.m = register_special_symbol(TRISTATE, "m", "m")
|
||||
self.y = register_special_symbol(TRISTATE, "y", "y")
|
||||
# DEFCONFIG_LIST uses this
|
||||
register_special_symbol(STRING, "UNAME_RELEASE", os.uname()[2])
|
||||
# changed os.uname to platform.uname for compatibility with Windows
|
||||
register_special_symbol(STRING, "UNAME_RELEASE", platform.uname()[2])
|
||||
|
||||
# The symbol with "option defconfig_list" set, containing a list of
|
||||
# default .config files
|
||||
|
||||
Reference in New Issue
Block a user