Fixed issue with naming in sphinx inventory.
project_inventory.objects.append(
sphobjinv.DataObjStr(
- name = f"{v.module.name}.{v.name}",
+ name = f"{v.module.name}.{v.qualname}",
domain = "py",
role = "var",
uri = v.url(),
if not redirect:
project_inventory.objects.append(
sphobjinv.DataObjStr(
- name = f"{f.module.name}.{f.name}",
+ name = f"{f.module.name}.{f.qualname}",
domain = "py",
role = "func",
uri = f.url(),
if not redirect:
project_inventory.objects.append(
sphobjinv.DataObjStr(
- name = f"{c.module.name}.{c.name}",
+ name = f"{c.module.name}.{c.qualname}",
domain = "py",
role = "class",
uri = c.url(),
