summaryrefslogtreecommitdiff
path: root/docs/reference
diff options
context:
space:
mode:
Diffstat (limited to 'docs/reference')
-rw-r--r--docs/reference/CMakeLists.txt108
-rw-r--r--docs/reference/camel.toml.in28
-rw-r--r--docs/reference/libebackend.toml.in36
-rw-r--r--docs/reference/libebook-contacts.toml.in36
-rw-r--r--docs/reference/libebook.toml.in46
-rw-r--r--docs/reference/libecal.toml.in36
-rw-r--r--docs/reference/libedata-book.toml.in41
-rw-r--r--docs/reference/libedata-cal.toml.in41
-rw-r--r--docs/reference/libedataserver.toml.in31
-rw-r--r--docs/reference/libedataserverui.toml.in36
-rw-r--r--docs/reference/libedataserverui4.toml.in36
-rw-r--r--docs/reference/urlmap-gtk3.js15
-rw-r--r--docs/reference/urlmap-gtk4.js17
-rw-r--r--docs/reference/urlmap.js9
14 files changed, 516 insertions, 0 deletions
diff --git a/docs/reference/CMakeLists.txt b/docs/reference/CMakeLists.txt
index 9a9144b7e..fca59de73 100644
--- a/docs/reference/CMakeLists.txt
+++ b/docs/reference/CMakeLists.txt
@@ -1,6 +1,114 @@
+if(ENABLE_GTK_DOC)
add_subdirectory(camel)
add_subdirectory(evolution-data-server)
if(WITH_PRIVATE_DOCS)
add_subdirectory(private)
endif(WITH_PRIVATE_DOCS)
+endif(ENABLE_GTK_DOC)
+
+if (ENABLE_GI_DOCGEN)
+ set(CAMEL_GIR_PATH "${CMAKE_BINARY_DIR}/src/camel")
+ configure_file(camel.toml.in camel.toml @ONLY)
+ generate_gi_documentation(
+ camel
+ ${CMAKE_CURRENT_BINARY_DIR}/camel.toml
+ "${CAMEL_GIR_PATH}/Camel-${API_VERSION}.gir"
+ )
+ set(EDATASERVER_GIR_PATH "${CMAKE_BINARY_DIR}/src/libedataserver")
+ configure_file(libedataserver.toml.in libedataserver.toml @ONLY)
+ generate_gi_documentation(
+ libedataserver
+ ${CMAKE_CURRENT_BINARY_DIR}/libedataserver.toml
+ "${EDATASERVER_GIR_PATH}/EDataServer-${API_VERSION}.gir"
+ INCLUDE_PATHS
+ ${CAMEL_GIR_PATH}
+ )
+ set(EBACKEND_GIR_PATH "${CMAKE_BINARY_DIR}/src/libebackend")
+ configure_file(libebackend.toml.in libebackend.toml @ONLY)
+ generate_gi_documentation(
+ libebackend
+ ${CMAKE_CURRENT_BINARY_DIR}/libebackend.toml
+ "${EBACKEND_GIR_PATH}/EBackend-${API_VERSION}.gir"
+ INCLUDE_PATHS
+ ${CAMEL_GIR_PATH}
+ ${EDATASERVER_GIR_PATH}
+ )
+ set(EBOOK_CONTACTS_GIR_PATH "${CMAKE_BINARY_DIR}/src/addressbook/libebook-contacts")
+ configure_file(libebook-contacts.toml.in libebook-contacts.toml @ONLY)
+ generate_gi_documentation(
+ libebook-contacts
+ ${CMAKE_CURRENT_BINARY_DIR}/libebook-contacts.toml
+ "${EBOOK_CONTACTS_GIR_PATH}/EBookContacts-${API_VERSION}.gir"
+ INCLUDE_PATHS
+ ${CAMEL_GIR_PATH}
+ ${EDATASERVER_GIR_PATH}
+ )
+ set(EDATA_BOOK_GIR_PATH "${CMAKE_BINARY_DIR}/src/addressbook/libedata-book")
+ configure_file(libedata-book.toml.in libedata-book.toml @ONLY)
+ generate_gi_documentation(
+ libedata-book
+ ${CMAKE_CURRENT_BINARY_DIR}/libedata-book.toml
+ "${EDATA_BOOK_GIR_PATH}/EDataBook-${API_VERSION}.gir"
+ INCLUDE_PATHS
+ ${CAMEL_GIR_PATH}
+ ${EDATASERVER_GIR_PATH}
+ ${EBOOK_CONTACTS_GIR_PATH}
+ )
+ set(EBOOK_GIR_PATH "${CMAKE_BINARY_DIR}/src/addressbook/libebook")
+ configure_file(libebook.toml.in libebook.toml @ONLY)
+ generate_gi_documentation(
+ libebook
+ ${CMAKE_CURRENT_BINARY_DIR}/libebook.toml
+ "${EBOOK_GIR_PATH}/EBook-${API_VERSION}.gir"
+ INCLUDE_PATHS
+ ${CAMEL_GIR_PATH}
+ ${EDATASERVER_GIR_PATH}
+ ${EBOOK_CONTACTS_GIR_PATH}
+ ${EDATA_BOOK_GIR_PATH}
+ )
+ set(ECAL_GIR_PATH "${CMAKE_BINARY_DIR}/src/calendar/libecal")
+ configure_file(libecal.toml.in libecal.toml @ONLY)
+ generate_gi_documentation(
+ libecal
+ ${CMAKE_CURRENT_BINARY_DIR}/libecal.toml
+ "${ECAL_GIR_PATH}/ECal-${CAL_API_VERSION}.gir"
+ INCLUDE_PATHS
+ ${CAMEL_GIR_PATH}
+ ${EDATASERVER_GIR_PATH}
+ )
+ set(EDATA_CAL_GIR_PATH "${CMAKE_BINARY_DIR}/src/calendar/libedata-cal")
+ configure_file(libedata-cal.toml.in libedata-cal.toml @ONLY)
+ generate_gi_documentation(
+ libedata-cal
+ ${CMAKE_CURRENT_BINARY_DIR}/libedata-cal.toml
+ "${EDATA_CAL_GIR_PATH}/EDataCal-${CAL_API_VERSION}.gir"
+ INCLUDE_PATHS
+ ${CAMEL_GIR_PATH}
+ ${EDATASERVER_GIR_PATH}
+ ${ECAL_GIR_PATH}
+ )
+ set(EDATASERVERUI_GIR_PATH "${CMAKE_BINARY_DIR}/src/libedataserverui")
+ if(ENABLE_GTK)
+ configure_file(libedataserverui.toml.in libedataserverui.toml @ONLY)
+ generate_gi_documentation(
+ libedataserverui
+ ${CMAKE_CURRENT_BINARY_DIR}/libedataserverui.toml
+ "${EDATASERVERUI_GIR_PATH}/EDataServerUI-${API_VERSION}.gir"
+ INCLUDE_PATHS
+ ${CAMEL_GIR_PATH}
+ ${EDATASERVER_GIR_PATH}
+ )
+ endif(ENABLE_GTK)
+ if(ENABLE_GTK4)
+ configure_file(libedataserverui4.toml.in libedataserverui4.toml @ONLY)
+ generate_gi_documentation(
+ libedataserverui4
+ ${CMAKE_CURRENT_BINARY_DIR}/libedataserverui4.toml
+ "${EDATASERVERUI_GIR_PATH}/EDataServerUI4-${LIBEDATASERVERUI4_API_VERSION}.gir"
+ INCLUDE_PATHS
+ ${CAMEL_GIR_PATH}
+ ${EDATASERVER_GIR_PATH}
+ )
+ endif(ENABLE_GTK4)
+endif (ENABLE_GI_DOCGEN)
diff --git a/docs/reference/camel.toml.in b/docs/reference/camel.toml.in
new file mode 100644
index 000000000..363df4753
--- /dev/null
+++ b/docs/reference/camel.toml.in
@@ -0,0 +1,28 @@
+# SPDX-FileCopyrightText: 2023 GNOME Foundation
+#
+# SPDX-License-Identifier: CC0-1.0
+
+[library]
+namespace = "Camel"
+version = "@PROJECT_VERSION@"
+browse_url = "https://gitlab.gnome.org/GNOME/evolution-data-server/"
+repository_url = "https://gitlab.gnome.org/GNOME/evolution-data-server.git"
+authors = "Evolution Data Server Development Team"
+license = "GPL-2.0-only"
+description = "The Evolution MIME message handling library"
+dependencies = [ "GObject-2.0" ]
+devhelp = true
+search_index = true
+
+ [dependencies."GObject-2.0"]
+ name = "GObject"
+ description = "The base type system library"
+ docs_url = "https://developer.gnome.org/gobject/stable"
+
+[theme]
+name = "basic"
+show_index_summary = true
+show_class_hierarchy = true
+
+[source-location]
+base_url = "https://gitlab.gnome.org/GNOME/evolution-data-server/-/blob/master/"
diff --git a/docs/reference/libebackend.toml.in b/docs/reference/libebackend.toml.in
new file mode 100644
index 000000000..aa97e8c5d
--- /dev/null
+++ b/docs/reference/libebackend.toml.in
@@ -0,0 +1,36 @@
+# SPDX-FileCopyrightText: 2023 GNOME Foundation
+#
+# SPDX-License-Identifier: CC0-1.0
+
+[library]
+namespace = "EBackend"
+version = "@PROJECT_VERSION@"
+browse_url = "https://gitlab.gnome.org/GNOME/evolution-data-server/"
+repository_url = "https://gitlab.gnome.org/GNOME/evolution-data-server.git"
+authors = "Evolution Data Server Development Team"
+license = "GPL-2.0-only"
+description = "Utility library for Evolution Data Server Backends"
+dependencies = [ "GObject-2.0", "EDataServer-@API_VERSION@" ]
+devhelp = true
+search_index = true
+
+ [dependencies."GObject-2.0"]
+ name = "GObject"
+ description = "The base type system library"
+ docs_url = "https://developer.gnome.org/gobject/stable"
+
+ [dependencies."EDataServer-@API_VERSION@"]
+ name = "EDataServer"
+ description = "Utility library for Evolution Data Server"
+ docs_url = "https://gnome.pages.gitlab.gnome.org/evolution-data-server/libedataserver"
+
+[theme]
+name = "basic"
+show_index_summary = true
+show_class_hierarchy = true
+
+[source-location]
+base_url = "https://gitlab.gnome.org/GNOME/evolution-data-server/-/blob/master/"
+
+[extra]
+urlmap_file = "urlmap.js"
diff --git a/docs/reference/libebook-contacts.toml.in b/docs/reference/libebook-contacts.toml.in
new file mode 100644
index 000000000..f77b66c9d
--- /dev/null
+++ b/docs/reference/libebook-contacts.toml.in
@@ -0,0 +1,36 @@
+# SPDX-FileCopyrightText: 2023 GNOME Foundation
+#
+# SPDX-License-Identifier: CC0-1.0
+
+[library]
+namespace = "EBookContacts"
+version = "@PROJECT_VERSION@"
+browse_url = "https://gitlab.gnome.org/GNOME/evolution-data-server/"
+repository_url = "https://gitlab.gnome.org/GNOME/evolution-data-server.git"
+authors = "Evolution Data Server Development Team"
+license = "GPL-2.0-only"
+description = "Client library for evolution contacts and vcard structures"
+dependencies = [ "GObject-2.0", "EDataServer-@API_VERSION@" ]
+devhelp = true
+search_index = true
+
+ [dependencies."GObject-2.0"]
+ name = "GObject"
+ description = "The base type system library"
+ docs_url = "https://developer.gnome.org/gobject/stable"
+
+ [dependencies."EDataServer-@API_VERSION@"]
+ name = "EDataServer"
+ description = "Utility library for Evolution Data Server"
+ docs_url = "https://gnome.pages.gitlab.gnome.org/evolution-data-server/libedataserver"
+
+[theme]
+name = "basic"
+show_index_summary = true
+show_class_hierarchy = true
+
+[source-location]
+base_url = "https://gitlab.gnome.org/GNOME/evolution-data-server/-/blob/master/"
+
+[extra]
+urlmap_file = "urlmap.js"
diff --git a/docs/reference/libebook.toml.in b/docs/reference/libebook.toml.in
new file mode 100644
index 000000000..e0fe1b7f6
--- /dev/null
+++ b/docs/reference/libebook.toml.in
@@ -0,0 +1,46 @@
+# SPDX-FileCopyrightText: 2023 GNOME Foundation
+#
+# SPDX-License-Identifier: CC0-1.0
+
+[library]
+namespace = "EBook"
+version = "@PROJECT_VERSION@"
+browse_url = "https://gitlab.gnome.org/GNOME/evolution-data-server/"
+repository_url = "https://gitlab.gnome.org/GNOME/evolution-data-server.git"
+authors = "Evolution Data Server Development Team"
+license = "GPL-2.0-only"
+description = "Client library for evolution address books"
+dependencies = [ "GObject-2.0", "EDataServer-@API_VERSION@", "EBookContacts-@API_VERSION@", "EDataBook-@API_VERSION@" ]
+devhelp = true
+search_index = true
+
+ [dependencies."GObject-2.0"]
+ name = "GObject"
+ description = "The base type system library"
+ docs_url = "https://developer.gnome.org/gobject/stable"
+
+ [dependencies."EDataServer-@API_VERSION@"]
+ name = "EDataServer"
+ description = "Utility library for Evolution Data Server"
+ docs_url = "https://gnome.pages.gitlab.gnome.org/evolution-data-server/libedataserver"
+
+ [dependencies."EBookContacts-@API_VERSION@"]
+ name = "EBookContacts"
+ description = "Client library for evolution contacts and vcard structures"
+ docs_url = "https://gnome.pages.gitlab.gnome.org/evolution-data-server/libebook-contacts"
+
+ [dependencies."EDataBook-@API_VERSION@"]
+ name = "EDataBook"
+ description = "Backend library for evolution address books"
+ docs_url = "https://gnome.pages.gitlab.gnome.org/evolution-data-server/libedatabook"
+
+[theme]
+name = "basic"
+show_index_summary = true
+show_class_hierarchy = true
+
+[source-location]
+base_url = "https://gitlab.gnome.org/GNOME/evolution-data-server/-/blob/master/"
+
+[extra]
+urlmap_file = "urlmap.js"
diff --git a/docs/reference/libecal.toml.in b/docs/reference/libecal.toml.in
new file mode 100644
index 000000000..9f9df5d51
--- /dev/null
+++ b/docs/reference/libecal.toml.in
@@ -0,0 +1,36 @@
+# SPDX-FileCopyrightText: 2023 GNOME Foundation
+#
+# SPDX-License-Identifier: CC0-1.0
+
+[library]
+namespace = "ECal"
+version = "@PROJECT_VERSION@"
+browse_url = "https://gitlab.gnome.org/GNOME/evolution-data-server/"
+repository_url = "https://gitlab.gnome.org/GNOME/evolution-data-server.git"
+authors = "Evolution Data Server Development Team"
+license = "GPL-2.0-only"
+description = "Client library for evolution calendars"
+dependencies = [ "GObject-2.0", "EDataServer-@API_VERSION@" ]
+devhelp = true
+search_index = true
+
+ [dependencies."GObject-2.0"]
+ name = "GObject"
+ description = "The base type system library"
+ docs_url = "https://developer.gnome.org/gobject/stable"
+
+ [dependencies."EDataServer-@API_VERSION@"]
+ name = "EDataServer"
+ description = "Utility library for Evolution Data Server"
+ docs_url = "https://gnome.pages.gitlab.gnome.org/evolution-data-server/libedataserver"
+
+[theme]
+name = "basic"
+show_index_summary = true
+show_class_hierarchy = true
+
+[source-location]
+base_url = "https://gitlab.gnome.org/GNOME/evolution-data-server/-/blob/master/"
+
+[extra]
+urlmap_file = "urlmap.js"
diff --git a/docs/reference/libedata-book.toml.in b/docs/reference/libedata-book.toml.in
new file mode 100644
index 000000000..f243a1333
--- /dev/null
+++ b/docs/reference/libedata-book.toml.in
@@ -0,0 +1,41 @@
+# SPDX-FileCopyrightText: 2023 GNOME Foundation
+#
+# SPDX-License-Identifier: CC0-1.0
+
+[library]
+namespace = "EDataBook"
+version = "@PROJECT_VERSION@"
+browse_url = "https://gitlab.gnome.org/GNOME/evolution-data-server/"
+repository_url = "https://gitlab.gnome.org/GNOME/evolution-data-server.git"
+authors = "Evolution Data Server Development Team"
+license = "GPL-2.0-only"
+description = "Backend library for evolution address books"
+dependencies = [ "GObject-2.0", "EDataServer-@API_VERSION@", "EBookContacts-@API_VERSION@" ]
+devhelp = true
+search_index = true
+
+ [dependencies."GObject-2.0"]
+ name = "GObject"
+ description = "The base type system library"
+ docs_url = "https://developer.gnome.org/gobject/stable"
+
+ [dependencies."EDataServer-@API_VERSION@"]
+ name = "EDataServer"
+ description = "Utility library for Evolution Data Server"
+ docs_url = "https://gnome.pages.gitlab.gnome.org/evolution-data-server/libedataserver"
+
+ [dependencies."EBookContacts-@API_VERSION@"]
+ name = "EBookContacts"
+ description = "Client library for evolution contacts and vcard structures"
+ docs_url = "https://gnome.pages.gitlab.gnome.org/evolution-data-server/libebook-contacts"
+
+[theme]
+name = "basic"
+show_index_summary = true
+show_class_hierarchy = true
+
+[source-location]
+base_url = "https://gitlab.gnome.org/GNOME/evolution-data-server/-/blob/master/"
+
+[extra]
+urlmap_file = "urlmap.js"
diff --git a/docs/reference/libedata-cal.toml.in b/docs/reference/libedata-cal.toml.in
new file mode 100644
index 000000000..cb6b6fe6c
--- /dev/null
+++ b/docs/reference/libedata-cal.toml.in
@@ -0,0 +1,41 @@
+# SPDX-FileCopyrightText: 2023 GNOME Foundation
+#
+# SPDX-License-Identifier: CC0-1.0
+
+[library]
+namespace = "EDataCal"
+version = "@PROJECT_VERSION@"
+browse_url = "https://gitlab.gnome.org/GNOME/evolution-data-server/"
+repository_url = "https://gitlab.gnome.org/GNOME/evolution-data-server.git"
+authors = "Evolution Data Server Development Team"
+license = "GPL-2.0-only"
+description = "Backend library for evolution calendars"
+dependencies = [ "GObject-2.0", "EDataServer-@API_VERSION@", "ECal-@CAL_API_VERSION@" ]
+devhelp = true
+search_index = true
+
+ [dependencies."GObject-2.0"]
+ name = "GObject"
+ description = "The base type system library"
+ docs_url = "https://developer.gnome.org/gobject/stable"
+
+ [dependencies."EDataServer-@API_VERSION@"]
+ name = "EDataServer"
+ description = "Utility library for Evolution Data Server"
+ docs_url = "https://gnome.pages.gitlab.gnome.org/evolution-data-server/libedataserver"
+
+ [dependencies."ECal-@CAL_API_VERSION@"]
+ name = "ECal"
+ description = "Client library for evolution calendars"
+ docs_url = "https://gnome.pages.gitlab.gnome.org/evolution-data-server/libebook-contacts"
+
+[theme]
+name = "basic"
+show_index_summary = true
+show_class_hierarchy = true
+
+[source-location]
+base_url = "https://gitlab.gnome.org/GNOME/evolution-data-server/-/blob/master/"
+
+[extra]
+urlmap_file = "urlmap.js"
diff --git a/docs/reference/libedataserver.toml.in b/docs/reference/libedataserver.toml.in
new file mode 100644
index 000000000..0cf394ac3
--- /dev/null
+++ b/docs/reference/libedataserver.toml.in
@@ -0,0 +1,31 @@
+# SPDX-FileCopyrightText: 2023 GNOME Foundation
+#
+# SPDX-License-Identifier: CC0-1.0
+
+[library]
+namespace = "EDataServer"
+version = "@PROJECT_VERSION@"
+browse_url = "https://gitlab.gnome.org/GNOME/evolution-data-server/"
+repository_url = "https://gitlab.gnome.org/GNOME/evolution-data-server.git"
+authors = "Evolution Data Server Development Team"
+license = "GPL-2.0-only"
+description = "Utility library for Evolution Data Server"
+dependencies = [ "GObject-2.0" ]
+devhelp = true
+search_index = true
+
+ [dependencies."GObject-2.0"]
+ name = "GObject"
+ description = "The base type system library"
+ docs_url = "https://developer.gnome.org/gobject/stable"
+
+[theme]
+name = "basic"
+show_index_summary = true
+show_class_hierarchy = true
+
+[source-location]
+base_url = "https://gitlab.gnome.org/GNOME/evolution-data-server/-/blob/master/"
+
+[extra]
+urlmap_file = "urlmap.js"
diff --git a/docs/reference/libedataserverui.toml.in b/docs/reference/libedataserverui.toml.in
new file mode 100644
index 000000000..7b5c81a3b
--- /dev/null
+++ b/docs/reference/libedataserverui.toml.in
@@ -0,0 +1,36 @@
+# SPDX-FileCopyrightText: 2023 GNOME Foundation
+#
+# SPDX-License-Identifier: CC0-1.0
+
+[library]
+namespace = "EDataServerUI"
+version = "@PROJECT_VERSION@"
+browse_url = "https://gitlab.gnome.org/GNOME/evolution-data-server/"
+repository_url = "https://gitlab.gnome.org/GNOME/evolution-data-server.git"
+authors = "Evolution Data Server Development Team"
+license = "GPL-2.0-only"
+description = "UI utility library for Evolution Data Server (Gtk3 version)"
+dependencies = [ "GObject-2.0", "EDataServer-@API_VERSION@" ]
+devhelp = true
+search_index = true
+
+ [dependencies."GObject-2.0"]
+ name = "GObject"
+ description = "The base type system library"
+ docs_url = "https://developer.gnome.org/gobject/stable"
+
+ [dependencies."EDataServer-@API_VERSION@"]
+ name = "EDataServer"
+ description = "Utility library for Evolution Data Server"
+ docs_url = "https://gnome.pages.gitlab.gnome.org/evolution-data-server/libedataserver"
+
+[theme]
+name = "basic"
+show_index_summary = true
+show_class_hierarchy = true
+
+[source-location]
+base_url = "https://gitlab.gnome.org/GNOME/evolution-data-server/-/blob/master/"
+
+[extra]
+urlmap_file = "urlmap-gtk3.js"
diff --git a/docs/reference/libedataserverui4.toml.in b/docs/reference/libedataserverui4.toml.in
new file mode 100644
index 000000000..0a1cfc998
--- /dev/null
+++ b/docs/reference/libedataserverui4.toml.in
@@ -0,0 +1,36 @@
+# SPDX-FileCopyrightText: 2023 GNOME Foundation
+#
+# SPDX-License-Identifier: CC0-1.0
+
+[library]
+namespace = "EDataServerUI4"
+version = "@PROJECT_VERSION@"
+browse_url = "https://gitlab.gnome.org/GNOME/evolution-data-server/"
+repository_url = "https://gitlab.gnome.org/GNOME/evolution-data-server.git"
+authors = "Evolution Data Server Development Team"
+license = "GPL-2.0-only"
+description = "UI utility library for Evolution Data Server (Gtk4 version)"
+dependencies = [ "GObject-2.0", "EDataServer-@API_VERSION@" ]
+devhelp = true
+search_index = true
+
+ [dependencies."GObject-2.0"]
+ name = "GObject"
+ description = "The base type system library"
+ docs_url = "https://developer.gnome.org/gobject/stable"
+
+ [dependencies."EDataServer-@API_VERSION@"]
+ name = "EDataServer"
+ description = "Utility library for Evolution Data Server"
+ docs_url = "https://gnome.pages.gitlab.gnome.org/evolution-data-server/libedataserver"
+
+[theme]
+name = "basic"
+show_index_summary = true
+show_class_hierarchy = true
+
+[source-location]
+base_url = "https://gitlab.gnome.org/GNOME/evolution-data-server/-/blob/master/"
+
+[extra]
+urlmap_file = "urlmap-gtk4.js"
diff --git a/docs/reference/urlmap-gtk3.js b/docs/reference/urlmap-gtk3.js
new file mode 100644
index 000000000..f42d97f0d
--- /dev/null
+++ b/docs/reference/urlmap-gtk3.js
@@ -0,0 +1,15 @@
+// SPDX-FileCopyrightText: 2021 GNOME Foundation
+// SPDX-License-Identifier: LGPL-2.1-or-later
+
+// A map between namespaces and base URLs for their online documentation
+baseURLs = [
+ [ 'Atk', 'https://docs.gtk.org/atk/' ],
+ [ 'GLib', 'https://docs.gtk.org/glib/' ],
+ [ 'GObject', 'https://docs.gtk.org/gobject/' ],
+ [ 'Gio', 'https://docs.gtk.org/gio/' ],
+ [ 'Gdk', 'https://docs.gtk.org/gdk3/' ],
+ [ 'Gtk', 'https://docs.gtk.org/gtk3/' ],
+ [ 'Pango', 'https://docs.gtk.org/Pango/' ],
+ [ 'PangoCairo', 'https://docs.gtk.org/PangoCairo/' ],
+ [ 'GdkPixbuf', 'https://docs.gtk.org/gdk-pixbuf/' ],
+]
diff --git a/docs/reference/urlmap-gtk4.js b/docs/reference/urlmap-gtk4.js
new file mode 100644
index 000000000..0e30f9a6b
--- /dev/null
+++ b/docs/reference/urlmap-gtk4.js
@@ -0,0 +1,17 @@
+// SPDX-FileCopyrightText: 2021 GNOME Foundation
+// SPDX-License-Identifier: LGPL-2.1-or-later
+
+// 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/' ],
+ [ 'GdkWayland', 'https://docs.gtk.org/gdk4-wayland/' ],
+ [ 'GdkX11', 'https://docs.gtk.org/gdk4-x11/' ],
+ [ 'Gsk', 'https://docs.gtk.org/gsk4/' ],
+ [ 'Gtk', 'https://docs.gtk.org/gtk4/' ],
+ [ 'Pango', 'https://docs.gtk.org/Pango/' ],
+ [ 'PangoCairo', 'https://docs.gtk.org/PangoCairo/' ],
+ [ 'GdkPixbuf', 'https://docs.gtk.org/gdk-pixbuf/' ],
+]
diff --git a/docs/reference/urlmap.js b/docs/reference/urlmap.js
new file mode 100644
index 000000000..deae96b96
--- /dev/null
+++ b/docs/reference/urlmap.js
@@ -0,0 +1,9 @@
+// SPDX-FileCopyrightText: 2021 GNOME Foundation
+// SPDX-License-Identifier: LGPL-2.1-or-later
+
+// 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/' ],
+]