diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2021-03-11 16:46:02 +0000 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2021-03-11 16:46:02 +0000 |
commit | c5ddf5b3813e9bc02273b08b037ee34ae8c77841 (patch) | |
tree | d32ee4ec805bca28044dcd2eee819277baf1aaef | |
parent | 61712bfb3bbc0dda811f0a35de5e65bba359f5f7 (diff) | |
download | gtk+-c5ddf5b3813e9bc02273b08b037ee34ae8c77841.tar.gz |
docs: Add URL maps for cross linksebassi/gidocgen
-rw-r--r-- | docs/reference/gdk/gdk4.toml.in | 1 | ||||
-rw-r--r-- | docs/reference/gdk/urlmap.js | 13 | ||||
-rw-r--r-- | docs/reference/gsk/gsk4.toml.in | 1 | ||||
-rw-r--r-- | docs/reference/gsk/urlmap.js | 13 | ||||
-rw-r--r-- | docs/reference/gtk/gtk4.toml.in | 1 | ||||
-rw-r--r-- | docs/reference/gtk/urlmap.js | 13 |
6 files changed, 42 insertions, 0 deletions
diff --git a/docs/reference/gdk/gdk4.toml.in b/docs/reference/gdk/gdk4.toml.in index 094e1e966f..f720744f9f 100644 --- a/docs/reference/gdk/gdk4.toml.in +++ b/docs/reference/gdk/gdk4.toml.in @@ -94,3 +94,4 @@ content_images = [ "images/popup-flip.png", "images/popup-slide.png", ] +urlmap_file = "urlmap.js" diff --git a/docs/reference/gdk/urlmap.js b/docs/reference/gdk/urlmap.js new file mode 100644 index 0000000000..eaf2de9886 --- /dev/null +++ b/docs/reference/gdk/urlmap.js @@ -0,0 +1,13 @@ +// 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 = [ + [ 'Gdk', 'https://gnome.pages.gitlab.gnome.org/gtk/gdk4/' ], + [ 'GdkWayland', 'https://gnome.pages.gitlab.gnome.org/gtk/gdk4-wayland/' ], + [ 'GdkX11', 'https://gnome.pages.gitlab.gnome.org/gtk/gdk4-x11/' ], + [ 'Gsk', 'https://gnome.pages.gitlab.gnome.org/gtk/gsk4/' ], + [ 'Gtk', 'https://gnome.pages.gitlab.gnome.org/gtk/gtk4/' ], + [ 'Pango', 'https://gnome.pages/gitlab.gnome.org/pango/pango/' ], + [ 'PangoCairo', 'https://gnome.pages.gitlab.gnome.org/pango/pangocairo/' ], +] diff --git a/docs/reference/gsk/gsk4.toml.in b/docs/reference/gsk/gsk4.toml.in index 2eb7980555..44d11c9d9b 100644 --- a/docs/reference/gsk/gsk4.toml.in +++ b/docs/reference/gsk/gsk4.toml.in @@ -43,3 +43,4 @@ base_url = "https://gitlab.gnome.org/GNOME/gtk/-/blob/master/" content_images = [ "gtk-logo.svg", ] +urlmap_file = "urlmap.js" diff --git a/docs/reference/gsk/urlmap.js b/docs/reference/gsk/urlmap.js new file mode 100644 index 0000000000..eaf2de9886 --- /dev/null +++ b/docs/reference/gsk/urlmap.js @@ -0,0 +1,13 @@ +// 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 = [ + [ 'Gdk', 'https://gnome.pages.gitlab.gnome.org/gtk/gdk4/' ], + [ 'GdkWayland', 'https://gnome.pages.gitlab.gnome.org/gtk/gdk4-wayland/' ], + [ 'GdkX11', 'https://gnome.pages.gitlab.gnome.org/gtk/gdk4-x11/' ], + [ 'Gsk', 'https://gnome.pages.gitlab.gnome.org/gtk/gsk4/' ], + [ 'Gtk', 'https://gnome.pages.gitlab.gnome.org/gtk/gtk4/' ], + [ 'Pango', 'https://gnome.pages/gitlab.gnome.org/pango/pango/' ], + [ 'PangoCairo', 'https://gnome.pages.gitlab.gnome.org/pango/pangocairo/' ], +] diff --git a/docs/reference/gtk/gtk4.toml.in b/docs/reference/gtk/gtk4.toml.in index 189b65b2e0..0f79fe4910 100644 --- a/docs/reference/gtk/gtk4.toml.in +++ b/docs/reference/gtk/gtk4.toml.in @@ -232,3 +232,4 @@ content_images = [ "images/data-table.png", "images/navigation-sidebar.png", ] +urlmap_file = "urlmap.js" diff --git a/docs/reference/gtk/urlmap.js b/docs/reference/gtk/urlmap.js new file mode 100644 index 0000000000..eaf2de9886 --- /dev/null +++ b/docs/reference/gtk/urlmap.js @@ -0,0 +1,13 @@ +// 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 = [ + [ 'Gdk', 'https://gnome.pages.gitlab.gnome.org/gtk/gdk4/' ], + [ 'GdkWayland', 'https://gnome.pages.gitlab.gnome.org/gtk/gdk4-wayland/' ], + [ 'GdkX11', 'https://gnome.pages.gitlab.gnome.org/gtk/gdk4-x11/' ], + [ 'Gsk', 'https://gnome.pages.gitlab.gnome.org/gtk/gsk4/' ], + [ 'Gtk', 'https://gnome.pages.gitlab.gnome.org/gtk/gtk4/' ], + [ 'Pango', 'https://gnome.pages/gitlab.gnome.org/pango/pango/' ], + [ 'PangoCairo', 'https://gnome.pages.gitlab.gnome.org/pango/pangocairo/' ], +] |