Skip to content

Go through package docstrings and markup code snippets as such #3430

@ghost

Description

Noted by @karmel in #3422, sphinx supports syntax highlighting/code
quoting in code (ReST) docstrings using double colon + new line:

For example::

            make_axis_dummies(panel, axis='major',
                              transform=lambda d: d.weekday())

sphinx 'autodoc' will pick these up and make code look nice.

Metadata

Metadata

Assignees

No one assigned

    Labels

    AdminAdministrative tasks related to the pandas projectDocs

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions