[gnome-hello] Use new documentation infrastructure
- From: Javier JardÃn <jjardon src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-hello] Use new documentation infrastructure
- Date: Tue, 14 Feb 2012 16:46:42 +0000 (UTC)
commit eaa29174bb93083e98e930eabad172f6f5048d8d
Author: Javier JardÃn <jjardon gnome org>
Date: Tue Feb 14 16:32:34 2012 +0000
Use new documentation infrastructure
configure.ac | 2 +-
help/Makefile.am | 20 ++++++++++----------
src/menus.c | 2 +-
3 files changed, 12 insertions(+), 12 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 7810d71..a1aaafc 100644
--- a/configure.ac
+++ b/configure.ac
@@ -36,7 +36,7 @@ PKG_CHECK_MODULES([GNOME_HELLO],
# Documentation
# *************
-GNOME_DOC_INIT([0.20])
+YELP_HELP_INIT
# ********************
# Internationalisation
diff --git a/help/Makefile.am b/help/Makefile.am
index 89285e3..c4d7f3f 100644
--- a/help/Makefile.am
+++ b/help/Makefile.am
@@ -1,19 +1,19 @@
-include $(top_srcdir)/gnome-doc-utils.make
-dist-hook: doc-dist-hook
+ YELP_HELP_RULES@
-DOC_ID = gnome-hello
-DOC_INCLUDES = legal.xml
-DOC_FIGURES = figures/gnome-hello.png \
- figures/gnome-hello-new.png \
- figures/gnome-hello-logo.png
+YELP_ID = gnome-hello
-DOC_PAGES = index.page \
+YELP_MEDIA = figures/gnome-hello.png \
+ figures/gnome-hello-new.png \
+ figures/gnome-hello-logo.png
+
+YELP_PAGES = index.page \
compiling.page \
what-is.page \
what-is-like.page \
- what-can-do.page
+ what-can-do.page \
+ legal.xml
-DOC_LINGUAS = cs da de el eo es fr ja oc os pt_BR sl sv uk zh_CN
+YELP_LINGUAS = cs da de el eo es fr ja oc os pt_BR sl sv uk zh_CN
-include $(top_srcdir)/git.mk
diff --git a/src/menus.c b/src/menus.c
index 8d34091..30c17fa 100644
--- a/src/menus.c
+++ b/src/menus.c
@@ -152,7 +152,7 @@ contents_action_callback (GtkAction* action, gpointer data)
{
GError *error = NULL;
- gtk_show_uri (NULL, "ghelp:gnome-hello", gtk_get_current_event_time (), &error);
+ gtk_show_uri (NULL, "help:gnome-hello", gtk_get_current_event_time (), &error);
if (error != NULL)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]