The Wayback Machine - https://web.archive.org/web/20210827073138/https://github.com/topics/docstrings
Skip to content
#

docstrings

Here are 53 public repositories matching this topic...

takos22
takos22 commented May 13, 2021

My problem

I document my class initialization inside the class docstring, therefore pydocstyle complains about undocumented __init__ methods.

My solution idea

It would be great to have the ability to have a flag (for example --ignore-func) that would work for both functions, classes and class methods with maybe a regex. So for ignoring the __init__ the flag could be ``--ignore-fu

jvfe
jvfe commented Jan 19, 2021

I was using mkdocstrings, but I think this issue is specifically related to pytkdocs.

Is your feature request related to a problem? Please describe.

Yes. I had a docstring of a generator that I was using mkdocstrings (v0.14.0) to compile the documentation for, something like:

    """
    Get the next number in the sequence

    Args:
        n (int): The upper limit of the r

Improve this page

Add a description, image, and links to the docstrings topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the docstrings topic, visit your repo's landing page and select "manage topics."

Learn more