Skip to content

Add module docstring to c stub #16

Open
@pazzarpj

Description

@pazzarpj

Porting the python docstring over to the c stub output is handy for maintaining even more documentation synchronization.

Eg.

"""
This module is developed for adding new functionality to upython
   We want tabs
"""

Should translate to

/*
This module is developed for adding new functionality to upython
   We want tabs
*/

There could be a case for adding ustubby generic output to the generated file so that the source is not lost

/*
This module is developed for adding new functionality to upython
    We want tabs

    This file was auto-generated using uStubby.
    Please see https://github.com/pazzarpj/micropython-ustubby
*/

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions