mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 23:16:14 +01:00
Fix generated RST anchors for methods, signals and properties
This commit is contained in:
parent
7032c3353e
commit
9a4e54e1b7
@ -142,7 +142,7 @@ class RstCodeGenerator:
|
||||
else:
|
||||
access = "readable"
|
||||
res += [
|
||||
".. _{title}:",
|
||||
f".. _{title}:",
|
||||
"",
|
||||
title,
|
||||
"^" * len(title),
|
||||
@ -218,7 +218,7 @@ class RstCodeGenerator:
|
||||
for m in iface.methods:
|
||||
title = f"{iface.name}.{m.name}"
|
||||
res += [
|
||||
".. _{title}:",
|
||||
f".. _{title}:",
|
||||
"",
|
||||
title,
|
||||
"^" * len(title),
|
||||
@ -296,7 +296,7 @@ class RstCodeGenerator:
|
||||
for s in iface.signals:
|
||||
title = f"{iface.name}::{s.name}"
|
||||
res += [
|
||||
".. _{title}:",
|
||||
f".. _{title}:",
|
||||
"",
|
||||
title,
|
||||
"^" * len(title),
|
||||
|
Loading…
Reference in New Issue
Block a user