@@ -48,15 +48,15 @@ <h1 class="title">Module <code>mbed_tools.build.config</code></h1>
4848
4949
5050def generate_config(target_name: str, toolchain: str, program: MbedProgram) -> Tuple[Config, pathlib.Path]:
51- """Generate an Mbed config file at the program root by parsing the mbed config system.
51+ """Generate an Mbed config file after parsing the Mbed config system.
5252
5353 Args:
5454 target_name: Name of the target to configure for.
5555 toolchain: Name of the toolchain to use.
5656 program: The MbedProgram to configure.
5757
5858 Returns:
59- Config object (UserDict)
59+ Config object (UserDict).
6060 Path to the generated config file.
6161 """
6262 targets_data = _load_raw_targets_data(program)
@@ -100,7 +100,7 @@ <h2 class="section-title" id="header-functions">Functions</h2>
100100< span > def < span class ="ident "> generate_config</ span > </ span > (< span > target_name: str, toolchain: str, program: < a title ="mbed_tools.project.mbed_program.MbedProgram " href ="../project/mbed_program.html#mbed_tools.project.mbed_program.MbedProgram "> MbedProgram</ a > ) ‑> Tuple[mbed_tools.build._internal.config.config.Config, pathlib.Path]</ span >
101101</ code > </ dt >
102102< dd >
103- < div class ="desc "> < p > Generate an Mbed config file at the program root by parsing the mbed config system.</ p >
103+ < div class ="desc "> < p > Generate an Mbed config file after parsing the Mbed config system.</ p >
104104< h2 id ="args "> Args</ h2 >
105105< dl >
106106< dt > < strong > < code > target_name</ code > </ strong > </ dt >
@@ -111,22 +111,22 @@ <h2 id="args">Args</h2>
111111< dd > The MbedProgram to configure.</ dd >
112112</ dl >
113113< h2 id ="returns "> Returns</ h2 >
114- < p > Config object (UserDict)
114+ < p > Config object (UserDict).
115115Path to the generated config file.</ p > </ div >
116116< details class ="source ">
117117< summary >
118118< span > Expand source code</ span >
119119</ summary >
120120< pre > < code class ="python "> def generate_config(target_name: str, toolchain: str, program: MbedProgram) -> Tuple[Config, pathlib.Path]:
121- """Generate an Mbed config file at the program root by parsing the mbed config system.
121+ """Generate an Mbed config file after parsing the Mbed config system.
122122
123123 Args:
124124 target_name: Name of the target to configure for.
125125 toolchain: Name of the toolchain to use.
126126 program: The MbedProgram to configure.
127127
128128 Returns:
129- Config object (UserDict)
129+ Config object (UserDict).
130130 Path to the generated config file.
131131 """
132132 targets_data = _load_raw_targets_data(program)
0 commit comments