Initial checkin of Pika from heckimp
This commit is contained in:
36
devel-docs/reference/pika/meson.build
Normal file
36
devel-docs/reference/pika/meson.build
Normal file
@ -0,0 +1,36 @@
|
||||
# Extra markdown files
|
||||
pika_doc_content_files = [
|
||||
]
|
||||
|
||||
pika_doc_toml = configure_file(
|
||||
input: 'pika-3.0.toml.in',
|
||||
output: '@BASENAME@',
|
||||
configuration: {
|
||||
'PIKA_VERSION': pika_version,
|
||||
'PIKA_LOGO_PATH': '../images/' + (stable ? 'pika-logo.png' : 'pika-devel-logo.png'),
|
||||
},
|
||||
)
|
||||
|
||||
pika_docs = custom_target('pika-docs',
|
||||
input: libpika_gir[0],
|
||||
output: 'libpika-@0@'.format(pika_api_version),
|
||||
command: [
|
||||
gi_docgen,
|
||||
'generate',
|
||||
'--quiet',
|
||||
'--fatal-warnings',
|
||||
'--config', pika_doc_toml,
|
||||
'--output-dir=@OUTPUT@',
|
||||
'--no-namespace-dir',
|
||||
'--content-dir=@0@'.format(meson.current_source_dir()),
|
||||
'--add-include-path=@0@'.format(get_option('prefix') / 'share' / 'gir-1.0'),
|
||||
'@INPUT@',
|
||||
],
|
||||
depend_files: [
|
||||
pika_doc_toml,
|
||||
pika_doc_content_files,
|
||||
],
|
||||
build_by_default: true,
|
||||
install: true,
|
||||
install_dir: get_option('datadir') / 'doc' / 'pika-@0@'.format(pika_app_version),
|
||||
)
|
75
devel-docs/reference/pika/pika-3.0.toml.in
Normal file
75
devel-docs/reference/pika/pika-3.0.toml.in
Normal file
@ -0,0 +1,75 @@
|
||||
[library]
|
||||
namespace = "Pika"
|
||||
version = "@PIKA_VERSION@"
|
||||
browse_url = "https://gitlab.gnome.org/GNOME/pika/"
|
||||
repository_url = "https://gitlab.gnome.org/GNOME/pika.git"
|
||||
website_url = "https://heckin.technology/AlderconeStudio/PIKApp"
|
||||
authors = "PIKA contributors"
|
||||
logo_url = "@PIKA_LOGO_PATH@"
|
||||
license = "GPL-3.0-or-later"
|
||||
description = "PIKA library"
|
||||
dependencies = [
|
||||
'Babl-0.1',
|
||||
'GLib-2.0',
|
||||
'GObject-2.0',
|
||||
'GdkPixbuf-2.0',
|
||||
'Gegl-0.4',
|
||||
'Gio-2.0',
|
||||
'Gtk-3.0',
|
||||
'cairo-1.0',
|
||||
]
|
||||
devhelp = true
|
||||
search_index = true
|
||||
|
||||
[dependencies."Babl-0.1"]
|
||||
name = "Babl"
|
||||
description = "Pixel encoding and color space conversion engine"
|
||||
docs_url = "https://gegl.org/babl"
|
||||
|
||||
[dependencies."GLib-2.0"]
|
||||
name = "GLib"
|
||||
description = "C Utility Library"
|
||||
docs_url = "https://developer.gnome.org/glib/stable"
|
||||
|
||||
[dependencies."GObject-2.0"]
|
||||
name = "GObject"
|
||||
description = "The base type system library"
|
||||
docs_url = "https://developer.gnome.org/gobject/stable"
|
||||
|
||||
[dependencies."GdkPixbuf-2.0"]
|
||||
name = "GdkPixbuf"
|
||||
description = "Image loading and scaling"
|
||||
docs_url = "https://docs.gtk.org/gdk-pixbuf/"
|
||||
|
||||
[dependencies."Gegl-0.4"]
|
||||
name = "Gegl"
|
||||
description = "Generic Graphics Library"
|
||||
docs_url = "https://gegl.org/"
|
||||
|
||||
[dependencies."Gio-2.0"]
|
||||
name = "Gio"
|
||||
description = "GObject interfaces and objects"
|
||||
docs_url = "https://developer.gnome.org/gio/stable"
|
||||
|
||||
[dependencies."Gtk-3.0"]
|
||||
name = "Gtk"
|
||||
description = "The GTK toolkit"
|
||||
docs_url = "https://developer.gnome.org/gtk3/stable"
|
||||
|
||||
[dependencies."cairo-1.0"]
|
||||
name = "cairo"
|
||||
description = "A 2D graphics library with support for multiple output devices"
|
||||
docs_url = "https://www.cairographics.org/manual/"
|
||||
|
||||
[theme]
|
||||
name = "basic"
|
||||
show_index_summary = true
|
||||
show_class_hierarchy = true
|
||||
|
||||
[source-location]
|
||||
base_url = "https://gitlab.gnome.org/GNOME/pika/-/blob/master/"
|
||||
|
||||
[extra]
|
||||
content_files = [
|
||||
]
|
||||
urlmap_file = "urlmap.js"
|
11
devel-docs/reference/pika/urlmap.js
Normal file
11
devel-docs/reference/pika/urlmap.js
Normal file
@ -0,0 +1,11 @@
|
||||
// A map between namespaces and base URLs for their online gi-docgen documentation
|
||||
baseURLs = [
|
||||
[ 'Babl', 'https://developer.pika.org/api/babl/' ],
|
||||
[ 'Gegl', 'https://developer.pika.org/api/gegl/' ],
|
||||
[ 'GLib', 'https://docs.gtk.org/glib/' ],
|
||||
[ 'GObject', 'https://docs.gtk.org/gobject/' ],
|
||||
[ 'Gdk', 'https://docs.gtk.org/gdk3/' ],
|
||||
[ 'GdkPixbuf', 'https://docs.gtk.org/gdk-pixbuf/' ],
|
||||
[ 'Gio', 'https://docs.gtk.org/gio/' ],
|
||||
[ 'Gtk', 'https://docs.gtk.org/gtk3/' ],
|
||||
]
|
Reference in New Issue
Block a user