mirror of
https://github.com/appium/appium.git
synced 2026-10-23 00:59:18 +08:00
592f9adcb1
In #18132, I found that parameter descriptions of commands were being omitted from the output. Those descriptions have to come from a method, because they cannot be expressed in their original location (a method map) via JS or a docstring. In addition, if an extension's implementation did not describe the parameters (e.g., in `@param` tags), we need to pull those descriptions out of `ExternalDriver` (assuming they exist). Furthermore, we were executing the conversion _too early_ in TypeDoc's lifecycle, since its internal plugins haven't run yet. One of those plugins actually moves the `@param` comments from the _signature_ into the appropriate parameter. Once those are there, we can find them. - Added a new list of "comment finders" which are parameter-specific (could probably do the same thing for return statements) - Moved some functions into different modules and renamed a couple things to be more accurate. - Update VSCode launch config - `CommandData` now requires a reflection of a method. This was true before, but not formalized