-
-
Notifications
You must be signed in to change notification settings - Fork 123
Footnote appears in all following objects after the first appearance #186
Copy link
Copy link
Labels
Description
Hi, I'm not sure this is related to pytkdocs or mkdocstrings.
Describe the bug
If a footnote is added to one of python objects, the footnote will appear in every object after that one in the same documentation page.
To Reproduce
Here is an example to reproduce
# example.py
def C():
"""This is C
"""
pass
def B():
"""This is B[^1]
[^1]: This is footnote
"""
pass
def A():
"""This is A
"""
pass# mkdocs.yml
site_name: Footnote
theme:
name: "material"
plugins:
- search
- mkdocstrings:
default_handler: python
markdown_extensions:
- footnotes
Expected behavior
The footnote is supposed to appear only under function B
Screenshots
However, footnote appears under function B and C
Reactions are currently unavailable
