pawamoy ยท GitHub

Description of the bug

Parameters get a priority 2 duplicated entry with an erroneous trailing parenthesis in the generated inventory file. Example in mkdocstrings' own inventory file:

mkdocstrings.get_template_logger_function py:function 1 reference/api/#$ -
mkdocstrings.get_template_logger_function(logger_func) py:param 1 reference/api/#$ -
mkdocstrings.get_template_logger_function(logger_func)) py:param 2 reference/api/#mkdocstrings.get_template_logger_function(logger_func) -
mkdocstrings.get_template_path py:function 1 reference/api/#$ -
mkdocstrings.get_template_path(context) py:param 1 reference/api/#$ -
mkdocstrings.get_template_path(context)) py:param 2 reference/api/#mkdocstrings.get_template_path(context) -
mkdocstrings.makeExtension py:function 1 reference/api/#$ -

To Reproduce

I'll be the one investigating anyway ๐Ÿ˜Ž

Full traceback

N/A

Expected behavior

These duplicates shouldn't appear.

Environment information

Latest mkdocstrings.

Read the original on github.com โ†—