mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-16 07:03:34 +02:00
Fix generated RST anchors for methods, signals and properties
This commit is contained in:
@@ -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),
|
||||
|
Reference in New Issue
Block a user