davlee1972 · GitHub

Description of the bug

Table of Contents is displaying full path names for attributes after upgrading from 1.16.8 to 1.16.10.

Before package upgrade from 1.16.8

Image

After package upgrade to 1.16.10

Image

To Reproduce

Upgrading mkdocstrings-python from 1.16.8 to 1.16.10 broke the TOC
Installing collected packages: mkdocstrings-python
Attempting uninstall: mkdocstrings-python
Found existing installation: mkdocstrings-python 1.16.8
Uninstalling mkdocstrings-python-1.16.8:
Successfully uninstalled mkdocstrings-python-1.16.8
Successfully installed mkdocstrings-python-1.16.10

Downgrading mkdocstrings-python from 1.16.10 to 1.16.8 fixed the TOC
Installing collected packages: mkdocstrings-python
Attempting uninstall: mkdocstrings-python
Found existing installation: mkdocstrings-python 1.16.10
Uninstalling mkdocstrings-python-1.16.10:
Successfully uninstalled mkdocstrings-python-1.16.10
Successfully installed mkdocstrings-python-1.16.8

Read the original on github.com ↗