Skip to content

Embed code examples in docs #606

@Rocamonde

Description

@Rocamonde

Problem

#603 (comment)

I guess if we had code examples that are embedded directly from other files this would (a) solve the issue of testing docs separately, (b) solve the pain of updating the code examples from the docs in a slow and sequential way, since (1) notebooks go out of sync with the docs, so it takes double the time to fix, and (2) such errors don't show up in e.g. typecheckers, static code analysis, etc. so it's easy to forget to update them and hard to debug the mistakes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions