mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-26 11:57:51 +02:00
Shorten the title for D-Bus interface docs
The title of an interface can be arbitrarily long, considering that reverse DNS namespaces can be pretty complex. Instead of using the whole interface name, we can use the name without the prefix.
This commit is contained in:
@@ -88,7 +88,7 @@ class MdCodeGenerator:
|
||||
f"Title: {iface.name} D-Bus Interface",
|
||||
f"Slug: {iface.name}",
|
||||
"",
|
||||
"# " + iface.name,
|
||||
"# " + iface.name_without_prefix,
|
||||
"",
|
||||
"## Description",
|
||||
"",
|
||||
|
Reference in New Issue
Block a user