[librsvg: 1/11] Add a urlmap.js for gi-docgen, to resolve names in other libraries




commit 719ea43d1292c97a1737786587da90e1be3b87c9
Author: Federico Mena Quintero <federico gnome org>
Date:   Thu Mar 10 13:37:17 2022 -0600

    Add a urlmap.js for gi-docgen, to resolve names in other libraries
    
    Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/674>

 doc/librsvg.toml |  1 +
 doc/urlmap.js    | 10 ++++++++++
 2 files changed, 11 insertions(+)
---
diff --git a/doc/librsvg.toml b/doc/librsvg.toml
index 6fc3f88c2..a782bf590 100644
--- a/doc/librsvg.toml
+++ b/doc/librsvg.toml
@@ -24,6 +24,7 @@ content_files = [
   "recommendations.md",
   "migrating.md"
 ]
+urlmap_file = "urlmap.js"
 
 [[object]]
 name = "Rsvg.DEPRECATED_FOR"
diff --git a/doc/urlmap.js b/doc/urlmap.js
new file mode 100644
index 000000000..bd1188732
--- /dev/null
+++ b/doc/urlmap.js
@@ -0,0 +1,10 @@
+// A map between namespaces and base URLs for their online documentation
+baseURLs = [
+    [ 'GLib', 'https://docs.gtk.org/glib/' ],
+    [ 'GObject', 'https://docs.gtk.org/gobject/' ],
+    [ 'Gio', 'https://docs.gtk.org/gio/' ],
+    [ 'Gdk', 'https://docs.gtk.org/gdk4/' ],
+    [ 'Pango', 'https://docs.gtk.org/Pango/' ],
+    [ 'PangoCairo', 'https://docs.gtk.org/PangoCairo/' ],
+    [ 'GdkPixbuf', 'https://docs.gtk.org/gdk-pixbuf/' ],
+]


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]