From 6f8548518b39e8818beb0a021d615be27be05253 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 10 Dec 2021 19:02:48 -0500 Subject: docs: Various improvements Add a urlmap file, and fix the license tags. --- docs/pango.toml.in | 4 +++- docs/pangocairo.toml.in | 4 +++- docs/pangofc.toml.in | 5 ++++- docs/pangoft2.toml.in | 5 ++++- docs/pangoot.toml.in | 4 +++- docs/pangoxft.toml.in | 4 +++- docs/urlmap.js | 11 +++++++++++ 7 files changed, 31 insertions(+), 6 deletions(-) create mode 100644 docs/urlmap.js diff --git a/docs/pango.toml.in b/docs/pango.toml.in index b3ca2bc6..26226148 100644 --- a/docs/pango.toml.in +++ b/docs/pango.toml.in @@ -6,7 +6,7 @@ repository_url = "https://gitlab.gnome.org/GNOME/pango.git" website_url = "https://www.pango.org" authors = "Owen Taylor, Behdad Esfahbod" logo_url = "pango-name.png" -license = "GPL-2.1-or-later" +license = "LGPL-2.1-or-later" description = "Internationalized text layout and rendering" dependencies = [ "GObject-2.0", "HarfBuzz-0.0", "PangoCairo-1.0", "PangoFc-1.0", "PangoFT2-1.0", "PangoOT-1.0", @@ -103,3 +103,5 @@ content_images = [ "baseline-shift-light.png", "baseline-shift-dark.png", ] + +urlmap_file = "urlmap.js" diff --git a/docs/pangocairo.toml.in b/docs/pangocairo.toml.in index 2c552714..1e45744b 100644 --- a/docs/pangocairo.toml.in +++ b/docs/pangocairo.toml.in @@ -6,7 +6,7 @@ repository_url = "https://gitlab.gnome.org/GNOME/pango.git" website_url = "https://www.pango.org" authors = "Owen Taylor, Behdad Esfahbod" logo_url = "pango-name.png" -license = "GPL-2.1-or-later" +license = "LGPL-2.1-or-later" description = "Cairo support for Pango" dependencies = [ "Pango-1.0", "cairo-1.0" ] devhelp = true @@ -38,3 +38,5 @@ content_images = [ "pango-name.png", "rotated-text.png" ] + +urlmap_file = "urlmap.js" diff --git a/docs/pangofc.toml.in b/docs/pangofc.toml.in index f78e7d0a..2eafa239 100644 --- a/docs/pangofc.toml.in +++ b/docs/pangofc.toml.in @@ -6,7 +6,7 @@ repository_url = "https://gitlab.gnome.org/GNOME/pango.git" website_url = "https://www.pango.org" authors = "Owen Taylor, Behdad Esfahbod" logo_url = "pango-name.png" -license = "GPL-2.1-or-later" +license = "LGPL-2.1-or-later" description = "Fontconfig support for Pango" dependencies = [ "Pango-1.0", "fontconfig-2.0" ] devhelp = true @@ -34,3 +34,6 @@ base_url = "https://gitlab.gnome.org/GNOME/pango/-/blob/main/" content_images = [ "pango-name.png" ] + +urlmap_file = "urlmap.js" + diff --git a/docs/pangoft2.toml.in b/docs/pangoft2.toml.in index ad6bdcd2..881d49fc 100644 --- a/docs/pangoft2.toml.in +++ b/docs/pangoft2.toml.in @@ -6,7 +6,7 @@ repository_url = "https://gitlab.gnome.org/GNOME/pango.git" website_url = "https://www.pango.org" authors = "Owen Taylor, Behdad Esfahbod" logo_url = "pango-name.png" -license = "GPL-2.1-or-later" +license = "LGPL-2.1-or-later" description = "Freetype support for Pango" dependencies = [ "Pango-1.0", "freetype2-2.0" ] devhelp = true @@ -34,3 +34,6 @@ base_url = "https://gitlab.gnome.org/GNOME/pango/-/blob/main/" content_images = [ "pango-name.png" ] + +urlmap_file = "urlmap.js" + diff --git a/docs/pangoot.toml.in b/docs/pangoot.toml.in index c319ca79..b2a23b19 100644 --- a/docs/pangoot.toml.in +++ b/docs/pangoot.toml.in @@ -6,7 +6,7 @@ repository_url = "https://gitlab.gnome.org/GNOME/pango.git" website_url = "https://www.pango.org" authors = "Owen Taylor, Behdad Esfahbod" logo_url = "pango-name.png" -license = "GPL-2.1-or-later" +license = "LGPL-2.1-or-later" description = "OpenType support for Pango" dependencies = [ "Pango-1.0" ] devhelp = true @@ -29,3 +29,5 @@ base_url = "https://gitlab.gnome.org/GNOME/pango/-/blob/main/" content_images = [ "pango-name.png" ] + +urlmap_file = "urlmap.js" diff --git a/docs/pangoxft.toml.in b/docs/pangoxft.toml.in index 6b87476d..baf583e3 100644 --- a/docs/pangoxft.toml.in +++ b/docs/pangoxft.toml.in @@ -6,7 +6,7 @@ repository_url = "https://gitlab.gnome.org/GNOME/pango.git" website_url = "https://www.pango.org" authors = "Owen Taylor, Behdad Esfahbod" logo_url = "pango-name.png" -license = "GPL-2.1-or-later" +license = "LGPL-2.1-or-later" description = "Xft support for Pango" dependencies = [ "Pango-1.0", "xft-2.0" ] devhelp = true @@ -37,3 +37,5 @@ content_files = [ content_images = [ "pango-name.png" ] + +urlmap_file = "urlmap.js" diff --git a/docs/urlmap.js b/docs/urlmap.js new file mode 100644 index 00000000..5d60b064 --- /dev/null +++ b/docs/urlmap.js @@ -0,0 +1,11 @@ +// 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/' ], + [ 'Pango', 'https://docs.gtk.org/Pango/' ], + [ 'PangoCairo', 'https://docs.gtk.org/PangoCairo/' ], +] -- cgit v1.2.1