docs: Add content_base_url

Newer versions of gi-docgen support linking the rendered content files
to its source inside the repository, just like a symbol docblock.
This commit is contained in:
Emmanuele Bassi
2023-11-24 16:33:13 +00:00
parent 6d0b31128b
commit 48ea2ecac3
3 changed files with 3 additions and 0 deletions

View File

@@ -107,4 +107,5 @@ content_images = [
"images/popup-flip.png",
"images/popup-slide.png",
]
content_base_url = "https://gitlab.gnome.org/GNOME/gtk/-/blob/main/docs/reference/gdk/"
urlmap_file = "urlmap.js"

View File

@@ -62,4 +62,5 @@ content_images = [
"images/stroke-miter.png",
"images/stroke-round.png",
]
content_base_url = "https://gitlab.gnome.org/GNOME/gtk/-/blob/main/docs/reference/gsk/"
urlmap_file = "urlmap.js"

View File

@@ -245,4 +245,5 @@ content_images = [
"images/box-model-light.png",
"images/box-model-dark.png",
]
content_base_url = "https://gitlab.gnome.org/GNOME/gtk/-/blob/main/docs/reference/gtk/"
urlmap_file = "urlmap.js"