-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Correctly delimiting the examples section when using sphinx.ext.napoleon
instead of numpydoc
#256
Comments
Thanks @agriyakhetarpal for making this issue. A few clarifications below.
You should probably mention that these steps are specifically to make it so The core issue is that The documentation for |
TryExamples
interactive notebookssphinx.ext.napoleon
instead of numpydoc
Currently, admonitions that cannot signal a new section are not used to delimit the examples section. Converting admonitions to their respective colors is a solution for a separate problem: Sphinx directives which can appear inside of an Examples section which are not currently being handled. Currently an admonition inside of an Examples section would lead to a raw Sphinx directive making its way into a markdown cell in the generated notebook. |
Thanks for adding the clarifications!
Yes, sorry, I think this point is part of the other issue #254 – I didn't remove it when copy-pasting. |
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:
Additional context
N/A
The text was updated successfully, but these errors were encountered: