[connections/init-docs: 4/5] help: Add initial documentation files
- From: Felipe Borges <felipeborges src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [connections/init-docs: 4/5] help: Add initial documentation files
- Date: Tue, 20 Oct 2020 10:59:22 +0000 (UTC)
commit 9d1f53d9cb06c8c783e11bd47ca0a8ea21838857
Author: Felipe Borges <felipeborges gnome org>
Date: Mon Oct 19 15:48:16 2020 +0200
help: Add initial documentation files
Fixes #23
help/C/figures/connections_icon.png | Bin 0 -> 999 bytes
help/C/index.page | 35 +++++++++++++++++++++++++++++++++++
help/C/legal.xml | 6 ++++++
help/LINGUAS | 1 +
help/meson.build | 15 +++++++++++++++
meson.build | 3 ++-
6 files changed, 59 insertions(+), 1 deletion(-)
---
diff --git a/help/C/figures/connections_icon.png b/help/C/figures/connections_icon.png
new file mode 100644
index 0000000..c9917a5
Binary files /dev/null and b/help/C/figures/connections_icon.png differ
diff --git a/help/C/index.page b/help/C/index.page
new file mode 100644
index 0000000..ab009da
--- /dev/null
+++ b/help/C/index.page
@@ -0,0 +1,35 @@
+<page xmlns="http://projectmallard.org/1.0/"
+ xmlns:its="http://www.w3.org/2005/11/its"
+ type="guide"
+ id="index">
+
+ <info>
+ <title role="trail" type="link">
+ <media type="image" mime="image/png" its:translate="no" height="20" src="figures/connections_icon.png">
+ <span its:translate="yes"> Connections</span></media>
+ </title>
+ <revision pkgversion="3.38" date="2020-10-19" status="review"/>
+
+ <credit type="author copyright">
+ <name>Felipe Borges</name>
+ <email its:translate="no">felipeborges gnome org</email>
+ <years>2020</years>
+ </credit>
+
+ <include href="legal.xml" xmlns="http://www.w3.org/2001/XInclude"/>
+
+ <desc>Learn to connect to remote machines.</desc>
+ </info>
+
+ <title>
+ <media type="image" mime="image/png" its:translate="no" height="36" src="figures/connections_icon.png" />
+ Connections
+ </title>
+
+ <p><app>Connections</app> is a a remote desktop client for the GNOME desktop environment.</p>
+
+ <section id="start" style="2column">
+ <title>Getting started</title>
+ </section>
+
+</page>
diff --git a/help/C/legal.xml b/help/C/legal.xml
new file mode 100644
index 0000000..f36c14d
--- /dev/null
+++ b/help/C/legal.xml
@@ -0,0 +1,6 @@
+<license xmlns="http://projectmallard.org/1.0/"
+ href="http://creativecommons.org/licenses/by-sa/3.0/">
+ <p>This work is licensed under a
+ <link href="http://creativecommons.org/licenses/by-sa/3.0/">Creative
+ Commons Attribution-Share Alike 3.0 Unported License</link>.</p>
+</license>
diff --git a/help/LINGUAS b/help/LINGUAS
new file mode 100644
index 0000000..af407ee
--- /dev/null
+++ b/help/LINGUAS
@@ -0,0 +1 @@
+# Keep this list sorted alphabetically
diff --git a/help/meson.build b/help/meson.build
new file mode 100644
index 0000000..eddb80d
--- /dev/null
+++ b/help/meson.build
@@ -0,0 +1,15 @@
+# Please keep this list in alphabetical order
+help_files = [
+ 'index.page',
+ 'legal.xml',
+]
+
+help_media = [
+ 'figures/connections_icon.png'
+]
+
+gnome.yelp(meson.project_name(),
+ sources: help_files,
+ media: help_media,
+ symlink_media: true
+)
diff --git a/meson.build b/meson.build
index cdf0d0c..9d89e14 100644
--- a/meson.build
+++ b/meson.build
@@ -7,7 +7,7 @@ project('connections', ['c', 'vala'],
i18n = import('i18n')
valac = meson.get_compiler ('vala')
-
+gnome = import('gnome')
src_dir = join_paths (meson.source_root (), 'src')
locale_dir = join_paths (get_option ('prefix'), get_option ('localedir'))
@@ -43,6 +43,7 @@ config_h = declare_dependency (
config_h_dir = include_directories ('.')
subdir('data')
+subdir('help')
subdir('src')
subdir('po')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]