Currently we have two separate paths to convert our examples into runnable code. 1. for our verify jsdocs test 2. for our api docs generation These should be merged into one and provided as a shared util probably in scripts. There are currently too many refactorings regarding those places in progress, so we cannot start with that yet. The idea of the method is: - Search project root for exports - Search example for needed imports - Generate import statements - Either: - Return them - Return them + `// cut` separator + code I will do the refactoring later.
Activity