docs: Add source location URL

If the base URL for source location is set, gi-docgen will automatically
generate a link to the location of declarations and doc blocks in the
source.
This commit is contained in:
Emmanuele Bassi 2024-07-05 19:59:10 +01:00 committed by Philip Withnall
parent fc01879341
commit a807604ef6
8 changed files with 24 additions and 0 deletions

View File

@ -41,6 +41,9 @@ name = "basic"
show_index_summary = true
show_class_hierarchy = true
[source-location]
base_url = "https://gitlab.gnome.org/GNOME/glib/-/blob/main/"
[extra]
urlmap_file = "../urlmap.js"
# The same order will be used when generating the index

View File

@ -41,6 +41,9 @@ name = "basic"
show_index_summary = true
show_class_hierarchy = true
[source-location]
base_url = "https://gitlab.gnome.org/GNOME/glib/-/blob/main/"
[extra]
urlmap_file = "../urlmap.js"
# The same order will be used when generating the index

View File

@ -36,6 +36,9 @@ name = "basic"
show_index_summary = true
show_class_hierarchy = true
[source-location]
base_url = "https://gitlab.gnome.org/GNOME/glib/-/blob/main/"
[extra]
urlmap_file = "../urlmap.js"
# The same order will be used when generating the index

View File

@ -41,6 +41,9 @@ name = "basic"
show_index_summary = true
show_class_hierarchy = true
[source-location]
base_url = "https://gitlab.gnome.org/GNOME/glib/-/blob/main/"
[extra]
urlmap_file = "../urlmap.js"
# The same order will be used when generating the index

View File

@ -42,6 +42,9 @@ name = "basic"
show_index_summary = true
show_class_hierarchy = true
[source-location]
base_url = "https://gitlab.gnome.org/GNOME/glib/-/blob/main/"
[extra]
urlmap_file = "../urlmap.js"
# The same order will be used when generating the index

View File

@ -42,6 +42,9 @@ name = "basic"
show_index_summary = true
show_class_hierarchy = true
[source-location]
base_url = "https://gitlab.gnome.org/GNOME/glib/-/blob/main/"
[extra]
urlmap_file = "../urlmap.js"
# The same order will be used when generating the index

View File

@ -36,6 +36,9 @@ name = "basic"
show_index_summary = true
show_class_hierarchy = true
[source-location]
base_url = "https://gitlab.gnome.org/GNOME/glib/-/blob/main/"
[extra]
urlmap_file = "../urlmap.js"
# The same order will be used when generating the index

View File

@ -38,6 +38,9 @@ name = "basic"
show_index_summary = true
show_class_hierarchy = true
[source-location]
base_url = "https://gitlab.gnome.org/GNOME/glib/-/blob/main/"
[extra]
urlmap_file = "../urlmap.js"
# The same order will be used when generating the index