[tepl] amtk: add Amtk to the docs



commit 328daf9f1e249e74aad516045058106991ec3525
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Thu Jul 13 14:22:46 2017 +0200

    amtk: add Amtk to the docs

 docs/reference/Makefile.am           |    8 ++-
 docs/reference/tepl-3.0-sections.txt |   92 ++++++++++++++++++++++++++++++++++
 docs/reference/tepl-docs.xml.in      |   18 ++++++-
 3 files changed, 113 insertions(+), 5 deletions(-)
---
diff --git a/docs/reference/Makefile.am b/docs/reference/Makefile.am
index a2d878d..660aecf 100644
--- a/docs/reference/Makefile.am
+++ b/docs/reference/Makefile.am
@@ -15,15 +15,17 @@ DOC_MAIN_SGML_FILE = tepl-docs.xml
 SCAN_OPTIONS = --rebuild-types
 
 # The directory containing the source code. Relative to $(srcdir)
-DOC_SOURCE_DIR = $(top_srcdir)/tepl
+DOC_SOURCE_DIR = $(top_srcdir)/tepl $(top_srcdir)/amtk
 
 # Used for dependencies
-HFILE_GLOB = $(top_srcdir)/tepl/*.h
-CFILE_GLOB = $(top_srcdir)/tepl/*.c
+HFILE_GLOB = $(top_srcdir)/tepl/*.h $(top_srcdir)/amtk/*.h
+CFILE_GLOB = $(top_srcdir)/tepl/*.c $(top_srcdir)/amtk/*.c
 
 # Header files or dirs to ignore when scanning. Use base file/dir names
 # e.g. IGNORE_HFILES=gtkdebug.h gtkintl.h private_code
 IGNORE_HFILES =                                        \
+       amtk.h                                  \
+       amtk-utils.h                            \
        tepl.h                                  \
        tepl-application-window-actions.h       \
        tepl-buffer-input-stream.h              \
diff --git a/docs/reference/tepl-3.0-sections.txt b/docs/reference/tepl-3.0-sections.txt
index 2619540..0fd38b3 100644
--- a/docs/reference/tepl-3.0-sections.txt
+++ b/docs/reference/tepl-3.0-sections.txt
@@ -1,6 +1,98 @@
 <INCLUDE>tepl/tepl.h</INCLUDE>
 
 <SECTION>
+<FILE>amtk-action-info</FILE>
+AmtkActionInfo
+AmtkActionInfoEntry
+amtk_action_info_new
+amtk_action_info_new_from_entry
+amtk_action_info_ref
+amtk_action_info_unref
+amtk_action_info_copy
+amtk_action_info_get_action_name
+amtk_action_info_set_action_name
+amtk_action_info_get_icon_name
+amtk_action_info_set_icon_name
+amtk_action_info_get_label
+amtk_action_info_set_label
+amtk_action_info_get_tooltip
+amtk_action_info_set_tooltip
+amtk_action_info_get_accels
+amtk_action_info_set_accels
+<SUBSECTION Standard>
+amtk_action_info_get_type
+AMTK_TYPE_ACTION_INFO
+</SECTION>
+
+<SECTION>
+<FILE>amtk-action-info-store</FILE>
+AmtkActionInfoStore
+amtk_action_info_store_new
+amtk_action_info_store_get_application
+amtk_action_info_store_add
+amtk_action_info_store_add_entries
+amtk_action_info_store_lookup
+amtk_action_info_store_create_menu_item
+amtk_action_info_store_check_all_used
+<SUBSECTION Standard>
+AMTK_ACTION_INFO_STORE
+AMTK_ACTION_INFO_STORE_CLASS
+AMTK_ACTION_INFO_STORE_GET_CLASS
+AMTK_IS_ACTION_INFO_STORE
+AMTK_IS_ACTION_INFO_STORE_CLASS
+AMTK_TYPE_ACTION_INFO_STORE
+AmtkActionInfoStoreClass
+AmtkActionInfoStorePrivate
+amtk_action_info_store_get_type
+</SECTION>
+
+<SECTION>
+<FILE>amtk-action-info-central-store</FILE>
+AmtkActionInfoCentralStore
+amtk_action_info_central_store_get_instance
+amtk_action_info_central_store_lookup
+<SUBSECTION Standard>
+AMTK_ACTION_INFO_CENTRAL_STORE
+AMTK_ACTION_INFO_CENTRAL_STORE_CLASS
+AMTK_ACTION_INFO_CENTRAL_STORE_GET_CLASS
+AMTK_IS_ACTION_INFO_CENTRAL_STORE
+AMTK_IS_ACTION_INFO_CENTRAL_STORE_CLASS
+AMTK_TYPE_ACTION_INFO_CENTRAL_STORE
+AmtkActionInfoCentralStoreClass
+AmtkActionInfoCentralStorePrivate
+amtk_action_info_central_store_get_type
+</SECTION>
+
+<SECTION>
+<FILE>amtk-action-map</FILE>
+amtk_action_map_add_action_entries_check_dups
+</SECTION>
+
+<SECTION>
+<FILE>amtk-menu-item</FILE>
+amtk_menu_item_get_long_description
+amtk_menu_item_set_long_description
+amtk_menu_item_set_icon_name
+</SECTION>
+
+<SECTION>
+<FILE>amtk-menu-shell</FILE>
+AmtkMenuShell
+amtk_menu_shell_get_from_gtk_menu_shell
+amtk_menu_shell_get_menu_shell
+<SUBSECTION Standard>
+AMTK_IS_MENU_SHELL
+AMTK_IS_MENU_SHELL_CLASS
+AMTK_MENU_SHELL
+AMTK_MENU_SHELL_CLASS
+AMTK_MENU_SHELL_GET_CLASS
+AMTK_TYPE_MENU_SHELL
+AmtkMenuShellClass
+AmtkMenuShellPrivate
+amtk_menu_shell_get_type
+</SECTION>
+
+<SECTION>
 <FILE>action-info</FILE>
 TeplActionInfo
 TeplActionInfoEntry
diff --git a/docs/reference/tepl-docs.xml.in b/docs/reference/tepl-docs.xml.in
index 9eee22f..bc9782f 100644
--- a/docs/reference/tepl-docs.xml.in
+++ b/docs/reference/tepl-docs.xml.in
@@ -14,8 +14,22 @@
 
   <xi:include href="intro.xml"/>
 
-  <part id="api-reference">
-    <title>API Reference</title>
+  <part id="amtk-api-reference">
+    <title>Amtk API Reference</title>
+
+    <chapter id="amtk">
+      <title>Actions, Menus and Toolbars Kit</title>
+      <xi:include href="xml/amtk-action-info.xml"/>
+      <xi:include href="xml/amtk-action-info-store.xml"/>
+      <xi:include href="xml/amtk-action-info-central-store.xml"/>
+      <xi:include href="xml/amtk-action-map.xml"/>
+      <xi:include href="xml/amtk-menu-item.xml"/>
+      <xi:include href="xml/amtk-menu-shell.xml"/>
+    </chapter>
+  </part>
+
+  <part id="tepl-api-reference">
+    <title>Tepl API Reference</title>
 
     <chapter id="framework">
       <title>Framework</title>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]