Skip to content

Correctly delimiting the examples section when using sphinx.ext.napoleon instead of numpydoc #256

Closed
@agriyakhetarpal

Description

@agriyakhetarpal

Problem

From #251 (comment): ensure that numpydoc sections are correctly mapped so that the TryExamples directive correctly generates notebooks.

Proposed Solution

From @steppi on Slack:

  • stop at rubric, seealso, admonitions that start can start a section (there are some of the latter)
  • convert admonitions to their respective colours and not stop
  • ignore the rest of the unhandled directives and see if someone brings one of them up

Additional context

N/A

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions