Skip to content

Merge code paths for example to executable #4092

Open

Description

@ST-DDT

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

  1. added this to the v11.0 milestone on Sep 13, 2026
  2. self-assigned this
    on Sep 13, 2026
  3. added
    c: docsImprovements or additions to documentation
    c: infraChanges to our infrastructure or project setup
    s: on holdBlocked by something or frozen to avoid conflicts
    on Sep 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

c: docsImprovements or additions to documentationc: infraChanges to our infrastructure or project setupc: testp: 1-normalNothing urgents: on holdBlocked by something or frozen to avoid conflicts

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions