summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2015-04-27 18:51:46 -0400
committerMatthias Clasen <mclasen@redhat.com>2015-04-27 19:10:10 -0400
commit01a83e0a2674bbfc0fdab8b37b3ddbdf6c506042 (patch)
tree7a9d2641e31962a5ecd1826050ff50388fa99358 /docs
parentbf6a2deda0ff94eb2b067d0640ccacc8753e2506 (diff)
downloadgtk+-01a83e0a2674bbfc0fdab8b37b3ddbdf6c506042.tar.gz
Add a man page for gtk-builder-tool
Diffstat (limited to 'docs')
-rw-r--r--docs/reference/gtk/Makefile.am3
-rw-r--r--docs/reference/gtk/gtk-builder-tool.xml46
-rw-r--r--docs/reference/gtk/gtk-docs.sgml1
3 files changed, 49 insertions, 1 deletions
diff --git a/docs/reference/gtk/Makefile.am b/docs/reference/gtk/Makefile.am
index cbdf6399fa..afee620840 100644
--- a/docs/reference/gtk/Makefile.am
+++ b/docs/reference/gtk/Makefile.am
@@ -485,7 +485,8 @@ man_MANS = \
gtk3-demo-application.1 \
gtk3-widget-factory.1 \
gtk3-icon-browser.1 \
- broadwayd.1
+ broadwayd.1 \
+ gtk-builder-tool.1
if ENABLE_MAN
diff --git a/docs/reference/gtk/gtk-builder-tool.xml b/docs/reference/gtk/gtk-builder-tool.xml
new file mode 100644
index 0000000000..c7cef9012b
--- /dev/null
+++ b/docs/reference/gtk/gtk-builder-tool.xml
@@ -0,0 +1,46 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
+]>
+<refentry id="gtk-builder-tool">
+
+<refentryinfo>
+ <title>gtk-builder-tool</title>
+ <productname>GTK+</productname>
+ <authorgroup>
+ <author>
+ <contrib>Developer</contrib>
+ <firstname>Matthias</firstname>
+ <surname>Clasen</surname>
+ </author>
+ </authorgroup>
+</refentryinfo>
+
+<refmeta>
+ <refentrytitle>gtk-builder-tool</refentrytitle>
+ <manvolnum>1</manvolnum>
+ <refmiscinfo class="manual">User Commands</refmiscinfo>
+</refmeta>
+
+<refnamediv>
+ <refname>gtk-builder-tool</refname>
+ <refpurpose>GtkBuilder file utility</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<cmdsynopsis>
+<command>gtk-builder-tool</command>
+<arg choice="plain"><replaceable>FILE</replaceable></arg>
+</cmdsynopsis>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+<para>
+ <command>gtk-builder-tool</command> validates and simplifies a GtkBuilder
+ .ui file. Any validation errors are reported on stderr. If the file is
+ valid, it is simplified by removing any properties that are set to their
+ default value. The resulting xml is written to stdout.
+</para>
+</refsect1>
+
+</refentry>
diff --git a/docs/reference/gtk/gtk-docs.sgml b/docs/reference/gtk/gtk-docs.sgml
index dd5dd7fbb7..2198a4a9ff 100644
--- a/docs/reference/gtk/gtk-docs.sgml
+++ b/docs/reference/gtk/gtk-docs.sgml
@@ -404,6 +404,7 @@
<xi:include href="gtk-query-immodules-3.0.xml" />
<xi:include href="gtk-update-icon-cache.xml" />
<xi:include href="gtk-encode-symbolic-svg.xml" />
+ <xi:include href="gtk-builder-tool.xml" />
<xi:include href="gtk-launch.xml" />
<xi:include href="broadwayd.xml" />
</part>