[gnome-builder] doc: add gtk-doc reference API



commit 741d1835db6c6873a70786789a4d4dc83d242cc2
Author: Christian Hergert <chergert redhat com>
Date:   Tue Oct 31 21:43:16 2017 -0700

    doc: add gtk-doc reference API
    
    This starts to bring back the API reference using gtk-doc. There will need
    to be additional work to integrate various documentation, but having this
    generated at least gets us started.

 doc/{ => help}/_static/img/org.gnome.Builder.png   |  Bin 1149 -> 1149 bytes
 doc/{ => help}/_static/theme_overrides.css         |    0
 doc/{ => help}/conf.py                             |    0
 doc/{ => help}/contributing/code.rst               |    0
 doc/{ => help}/contributing/index.rst              |    0
 doc/{ => help}/contributing/planning.rst           |    0
 doc/{ => help}/contributing/writingdocs.rst        |    0
 doc/{ => help}/credits.rst                         |    0
 doc/{ => help}/examples/format_on_save.py          |    0
 .../plugins/sample-plugin/sample-plugin.plugin     |    0
 .../plugins/sample-plugin/sample_plugin.py         |    0
 doc/{ => help}/exploring.rst                       |    0
 doc/{ => help}/favicon.ico                         |  Bin 4286 -> 4286 bytes
 doc/{ => help}/figures/autocompletion.png          |  Bin 185671 -> 185671 bytes
 doc/{ => help}/figures/building.png                |  Bin 75581 -> 75581 bytes
 doc/{ => help}/figures/clone.png                   |  Bin 56748 -> 56748 bytes
 doc/{ => help}/figures/commandbar.png              |  Bin 217854 -> 217854 bytes
 doc/{ => help}/figures/editor.png                  |  Bin 371788 -> 371788 bytes
 doc/{ => help}/figures/export.png                  |  Bin 219391 -> 219391 bytes
 doc/{ => help}/figures/extensions.png              |  Bin 232476 -> 232476 bytes
 doc/{ => help}/figures/file-search.png             |  Bin 78249 -> 78249 bytes
 doc/{ => help}/figures/flatpak-bundle.png          |  Bin 114917 -> 114917 bytes
 doc/{ => help}/figures/gearmenu.png                |  Bin 20961 -> 20961 bytes
 doc/{ => help}/figures/greeter.png                 |  Bin 104496 -> 104496 bytes
 doc/{ => help}/figures/inline-documentation.png    |  Bin 213982 -> 213982 bytes
 doc/{ => help}/figures/minimap.png                 |  Bin 101448 -> 101448 bytes
 doc/{ => help}/figures/newproject.png              |  Bin 113731 -> 113731 bytes
 doc/{ => help}/figures/omnibar.png                 |  Bin 115519 -> 115519 bytes
 doc/{ => help}/figures/open-in-new-frame-1.png     |  Bin 73383 -> 73383 bytes
 doc/{ => help}/figures/open-in-new-frame-2.png     |  Bin 223608 -> 223608 bytes
 doc/{ => help}/figures/panels.png                  |  Bin 1070 -> 1070 bytes
 doc/{ => help}/figures/perspectives.png            |  Bin 30308 -> 30308 bytes
 doc/{ => help}/figures/preferences.png             |  Bin 190625 -> 190625 bytes
 doc/{ => help}/figures/profiler-callgraph.png      |  Bin 278194 -> 278194 bytes
 doc/{ => help}/figures/profiler-running.png        |  Bin 63351 -> 63351 bytes
 doc/{ => help}/figures/run-button.png              |  Bin 39942 -> 39942 bytes
 doc/{ => help}/figures/run-with-debugger.png       |  Bin 251736 -> 251736 bytes
 doc/{ => help}/figures/symbol-search.png           |  Bin 125218 -> 125218 bytes
 doc/{ => help}/figures/transfers.png               |  Bin 96343 -> 96343 bytes
 doc/{ => help}/figures/workbench.png               |  Bin 18407 -> 18407 bytes
 doc/{ => help}/howto/indentation.rst               |    0
 doc/{ => help}/howto/index.rst                     |    0
 doc/{ => help}/howto/jump_to_definition.rst        |    0
 doc/{ => help}/howto/rust_integration.rst          |    0
 doc/{ => help}/howto/search_and_replace.rst        |    0
 doc/{ => help}/howto/search_for_symbol.rst         |    0
 doc/{ => help}/index.rst                           |    0
 doc/{ => help}/installation.rst                    |    0
 doc/help/meson.build                               |   15 +
 doc/{ => help}/plugins/building/buildsystem.rst    |    0
 doc/{ => help}/plugins/building/index.rst          |    0
 doc/{ => help}/plugins/building/pipeline.rst       |    0
 doc/{ => help}/plugins/creating.rst                |    0
 doc/{ => help}/plugins/devices.rst                 |    0
 doc/{ => help}/plugins/editor/autocompletion.rst   |    0
 doc/{ => help}/plugins/editor/buffers.rst          |    0
 doc/{ => help}/plugins/editor/diagnostics.rst      |    0
 doc/{ => help}/plugins/editor/filesettings.rst     |    0
 doc/{ => help}/plugins/editor/highlighting.rst     |    0
 doc/{ => help}/plugins/editor/index.rst            |    0
 doc/{ => help}/plugins/editor/snippets.rst         |    0
 doc/{ => help}/plugins/editor/view.rst             |    0
 doc/{ => help}/plugins/enabling.rst                |    0
 doc/{ => help}/plugins/greeter.rst                 |    0
 doc/{ => help}/plugins/index.rst                   |    0
 doc/{ => help}/plugins/keybindings.rst             |    0
 doc/{ => help}/plugins/langserv.rst                |    0
 doc/{ => help}/plugins/menus.rst                   |    0
 doc/{ => help}/plugins/preferences.rst             |    0
 doc/{ => help}/plugins/processes/index.rst         |    0
 doc/{ => help}/plugins/processes/runtimes.rst      |    0
 doc/{ => help}/plugins/processes/subprocesses.rst  |    0
 doc/{ => help}/plugins/running.rst                 |    0
 doc/{ => help}/plugins/search.rst                  |    0
 doc/{ => help}/plugins/symbols/gotodef.rst         |    0
 doc/{ => help}/plugins/symbols/index.rst           |    0
 doc/{ => help}/plugins/symbols/rename.rst          |    0
 doc/{ => help}/plugins/symbols/symbols.rst         |    0
 doc/{ => help}/plugins/transfers.rst               |    0
 doc/{ => help}/plugins/vcs.rst                     |    0
 doc/{ => help}/plugins/workbench/actions.rst       |    0
 doc/{ => help}/plugins/workbench/basics.rst        |    0
 doc/{ => help}/plugins/workbench/headerbar.rst     |    0
 doc/{ => help}/plugins/workbench/index.rst         |    0
 doc/{ => help}/plugins/workbench/panels.rst        |    0
 doc/{ => help}/plugins/workbench/perspectives.rst  |    0
 doc/{ => help}/plugins/workers.rst                 |    0
 doc/{ => help}/projects/building.rst               |    0
 doc/{ => help}/projects/creating.rst               |    0
 doc/{ => help}/projects/debugging.rst              |    0
 doc/{ => help}/projects/index.rst                  |    0
 doc/{ => help}/projects/profiling.rst              |    0
 doc/{ => help}/projects/sharing.rst                |    0
 doc/{ => help}/troubleshooting.rst                 |    0
 doc/meson.build                                    |   17 +-
 doc/sdk/libide-docs.sgml                           |  531 ++++++++++++++++++++
 doc/sdk/meson.build                                |   53 ++
 doc/sdk/xml/gtkdocentities.ent.in                  |    8 +
 doc/sdk/xml/meson.build                            |   11 +
 meson.build                                        |    2 +
 src/libide/meson.build                             |    2 -
 101 files changed, 624 insertions(+), 15 deletions(-)
---
diff --git a/doc/_static/theme_overrides.css b/doc/help/_static/theme_overrides.css
similarity index 100%
rename from doc/_static/theme_overrides.css
rename to doc/help/_static/theme_overrides.css
diff --git a/doc/conf.py b/doc/help/conf.py
similarity index 100%
rename from doc/conf.py
rename to doc/help/conf.py
diff --git a/doc/contributing/code.rst b/doc/help/contributing/code.rst
similarity index 100%
rename from doc/contributing/code.rst
rename to doc/help/contributing/code.rst
diff --git a/doc/contributing/index.rst b/doc/help/contributing/index.rst
similarity index 100%
rename from doc/contributing/index.rst
rename to doc/help/contributing/index.rst
diff --git a/doc/contributing/planning.rst b/doc/help/contributing/planning.rst
similarity index 100%
rename from doc/contributing/planning.rst
rename to doc/help/contributing/planning.rst
diff --git a/doc/contributing/writingdocs.rst b/doc/help/contributing/writingdocs.rst
similarity index 100%
rename from doc/contributing/writingdocs.rst
rename to doc/help/contributing/writingdocs.rst
diff --git a/doc/credits.rst b/doc/help/credits.rst
similarity index 100%
rename from doc/credits.rst
rename to doc/help/credits.rst
diff --git a/doc/examples/format_on_save.py b/doc/help/examples/format_on_save.py
similarity index 100%
rename from doc/examples/format_on_save.py
rename to doc/help/examples/format_on_save.py
diff --git a/doc/examples/plugins/sample-plugin/sample-plugin.plugin 
b/doc/help/examples/plugins/sample-plugin/sample-plugin.plugin
similarity index 100%
rename from doc/examples/plugins/sample-plugin/sample-plugin.plugin
rename to doc/help/examples/plugins/sample-plugin/sample-plugin.plugin
diff --git a/doc/examples/plugins/sample-plugin/sample_plugin.py 
b/doc/help/examples/plugins/sample-plugin/sample_plugin.py
similarity index 100%
rename from doc/examples/plugins/sample-plugin/sample_plugin.py
rename to doc/help/examples/plugins/sample-plugin/sample_plugin.py
diff --git a/doc/exploring.rst b/doc/help/exploring.rst
similarity index 100%
rename from doc/exploring.rst
rename to doc/help/exploring.rst
diff --git a/doc/howto/indentation.rst b/doc/help/howto/indentation.rst
similarity index 100%
rename from doc/howto/indentation.rst
rename to doc/help/howto/indentation.rst
diff --git a/doc/howto/index.rst b/doc/help/howto/index.rst
similarity index 100%
rename from doc/howto/index.rst
rename to doc/help/howto/index.rst
diff --git a/doc/howto/jump_to_definition.rst b/doc/help/howto/jump_to_definition.rst
similarity index 100%
rename from doc/howto/jump_to_definition.rst
rename to doc/help/howto/jump_to_definition.rst
diff --git a/doc/howto/rust_integration.rst b/doc/help/howto/rust_integration.rst
similarity index 100%
rename from doc/howto/rust_integration.rst
rename to doc/help/howto/rust_integration.rst
diff --git a/doc/howto/search_and_replace.rst b/doc/help/howto/search_and_replace.rst
similarity index 100%
rename from doc/howto/search_and_replace.rst
rename to doc/help/howto/search_and_replace.rst
diff --git a/doc/howto/search_for_symbol.rst b/doc/help/howto/search_for_symbol.rst
similarity index 100%
rename from doc/howto/search_for_symbol.rst
rename to doc/help/howto/search_for_symbol.rst
diff --git a/doc/index.rst b/doc/help/index.rst
similarity index 100%
rename from doc/index.rst
rename to doc/help/index.rst
diff --git a/doc/installation.rst b/doc/help/installation.rst
similarity index 100%
rename from doc/installation.rst
rename to doc/help/installation.rst
diff --git a/doc/help/meson.build b/doc/help/meson.build
new file mode 100644
index 0000000..1336e6a
--- /dev/null
+++ b/doc/help/meson.build
@@ -0,0 +1,15 @@
+if get_option('with_docs')
+
+sphinx = find_program(['sphinx-build-3', 'sphinx-build'], required: false)
+
+if sphinx.found()
+    custom_target('en user documentation',
+                  command: [sphinx, '-b', 'html', '-c', meson.current_source_dir(), 
meson.current_source_dir(), '@OUTPUT@'],
+                   output: 'en',
+         build_by_default: true)
+
+
+    install_subdir(meson.current_build_dir() + '/en', install_dir: pkgdocdir_abs)
+endif
+
+endif
diff --git a/doc/plugins/building/buildsystem.rst b/doc/help/plugins/building/buildsystem.rst
similarity index 100%
rename from doc/plugins/building/buildsystem.rst
rename to doc/help/plugins/building/buildsystem.rst
diff --git a/doc/plugins/building/index.rst b/doc/help/plugins/building/index.rst
similarity index 100%
rename from doc/plugins/building/index.rst
rename to doc/help/plugins/building/index.rst
diff --git a/doc/plugins/building/pipeline.rst b/doc/help/plugins/building/pipeline.rst
similarity index 100%
rename from doc/plugins/building/pipeline.rst
rename to doc/help/plugins/building/pipeline.rst
diff --git a/doc/plugins/creating.rst b/doc/help/plugins/creating.rst
similarity index 100%
rename from doc/plugins/creating.rst
rename to doc/help/plugins/creating.rst
diff --git a/doc/plugins/devices.rst b/doc/help/plugins/devices.rst
similarity index 100%
rename from doc/plugins/devices.rst
rename to doc/help/plugins/devices.rst
diff --git a/doc/plugins/editor/autocompletion.rst b/doc/help/plugins/editor/autocompletion.rst
similarity index 100%
rename from doc/plugins/editor/autocompletion.rst
rename to doc/help/plugins/editor/autocompletion.rst
diff --git a/doc/plugins/editor/buffers.rst b/doc/help/plugins/editor/buffers.rst
similarity index 100%
rename from doc/plugins/editor/buffers.rst
rename to doc/help/plugins/editor/buffers.rst
diff --git a/doc/plugins/editor/diagnostics.rst b/doc/help/plugins/editor/diagnostics.rst
similarity index 100%
rename from doc/plugins/editor/diagnostics.rst
rename to doc/help/plugins/editor/diagnostics.rst
diff --git a/doc/plugins/editor/filesettings.rst b/doc/help/plugins/editor/filesettings.rst
similarity index 100%
rename from doc/plugins/editor/filesettings.rst
rename to doc/help/plugins/editor/filesettings.rst
diff --git a/doc/plugins/editor/highlighting.rst b/doc/help/plugins/editor/highlighting.rst
similarity index 100%
rename from doc/plugins/editor/highlighting.rst
rename to doc/help/plugins/editor/highlighting.rst
diff --git a/doc/plugins/editor/index.rst b/doc/help/plugins/editor/index.rst
similarity index 100%
rename from doc/plugins/editor/index.rst
rename to doc/help/plugins/editor/index.rst
diff --git a/doc/plugins/editor/snippets.rst b/doc/help/plugins/editor/snippets.rst
similarity index 100%
rename from doc/plugins/editor/snippets.rst
rename to doc/help/plugins/editor/snippets.rst
diff --git a/doc/plugins/editor/view.rst b/doc/help/plugins/editor/view.rst
similarity index 100%
rename from doc/plugins/editor/view.rst
rename to doc/help/plugins/editor/view.rst
diff --git a/doc/plugins/enabling.rst b/doc/help/plugins/enabling.rst
similarity index 100%
rename from doc/plugins/enabling.rst
rename to doc/help/plugins/enabling.rst
diff --git a/doc/plugins/greeter.rst b/doc/help/plugins/greeter.rst
similarity index 100%
rename from doc/plugins/greeter.rst
rename to doc/help/plugins/greeter.rst
diff --git a/doc/plugins/index.rst b/doc/help/plugins/index.rst
similarity index 100%
rename from doc/plugins/index.rst
rename to doc/help/plugins/index.rst
diff --git a/doc/plugins/keybindings.rst b/doc/help/plugins/keybindings.rst
similarity index 100%
rename from doc/plugins/keybindings.rst
rename to doc/help/plugins/keybindings.rst
diff --git a/doc/plugins/langserv.rst b/doc/help/plugins/langserv.rst
similarity index 100%
rename from doc/plugins/langserv.rst
rename to doc/help/plugins/langserv.rst
diff --git a/doc/plugins/menus.rst b/doc/help/plugins/menus.rst
similarity index 100%
rename from doc/plugins/menus.rst
rename to doc/help/plugins/menus.rst
diff --git a/doc/plugins/preferences.rst b/doc/help/plugins/preferences.rst
similarity index 100%
rename from doc/plugins/preferences.rst
rename to doc/help/plugins/preferences.rst
diff --git a/doc/plugins/processes/index.rst b/doc/help/plugins/processes/index.rst
similarity index 100%
rename from doc/plugins/processes/index.rst
rename to doc/help/plugins/processes/index.rst
diff --git a/doc/plugins/processes/runtimes.rst b/doc/help/plugins/processes/runtimes.rst
similarity index 100%
rename from doc/plugins/processes/runtimes.rst
rename to doc/help/plugins/processes/runtimes.rst
diff --git a/doc/plugins/processes/subprocesses.rst b/doc/help/plugins/processes/subprocesses.rst
similarity index 100%
rename from doc/plugins/processes/subprocesses.rst
rename to doc/help/plugins/processes/subprocesses.rst
diff --git a/doc/plugins/running.rst b/doc/help/plugins/running.rst
similarity index 100%
rename from doc/plugins/running.rst
rename to doc/help/plugins/running.rst
diff --git a/doc/plugins/search.rst b/doc/help/plugins/search.rst
similarity index 100%
rename from doc/plugins/search.rst
rename to doc/help/plugins/search.rst
diff --git a/doc/plugins/symbols/gotodef.rst b/doc/help/plugins/symbols/gotodef.rst
similarity index 100%
rename from doc/plugins/symbols/gotodef.rst
rename to doc/help/plugins/symbols/gotodef.rst
diff --git a/doc/plugins/symbols/index.rst b/doc/help/plugins/symbols/index.rst
similarity index 100%
rename from doc/plugins/symbols/index.rst
rename to doc/help/plugins/symbols/index.rst
diff --git a/doc/plugins/symbols/rename.rst b/doc/help/plugins/symbols/rename.rst
similarity index 100%
rename from doc/plugins/symbols/rename.rst
rename to doc/help/plugins/symbols/rename.rst
diff --git a/doc/plugins/symbols/symbols.rst b/doc/help/plugins/symbols/symbols.rst
similarity index 100%
rename from doc/plugins/symbols/symbols.rst
rename to doc/help/plugins/symbols/symbols.rst
diff --git a/doc/plugins/transfers.rst b/doc/help/plugins/transfers.rst
similarity index 100%
rename from doc/plugins/transfers.rst
rename to doc/help/plugins/transfers.rst
diff --git a/doc/plugins/vcs.rst b/doc/help/plugins/vcs.rst
similarity index 100%
rename from doc/plugins/vcs.rst
rename to doc/help/plugins/vcs.rst
diff --git a/doc/plugins/workbench/actions.rst b/doc/help/plugins/workbench/actions.rst
similarity index 100%
rename from doc/plugins/workbench/actions.rst
rename to doc/help/plugins/workbench/actions.rst
diff --git a/doc/plugins/workbench/basics.rst b/doc/help/plugins/workbench/basics.rst
similarity index 100%
rename from doc/plugins/workbench/basics.rst
rename to doc/help/plugins/workbench/basics.rst
diff --git a/doc/plugins/workbench/headerbar.rst b/doc/help/plugins/workbench/headerbar.rst
similarity index 100%
rename from doc/plugins/workbench/headerbar.rst
rename to doc/help/plugins/workbench/headerbar.rst
diff --git a/doc/plugins/workbench/index.rst b/doc/help/plugins/workbench/index.rst
similarity index 100%
rename from doc/plugins/workbench/index.rst
rename to doc/help/plugins/workbench/index.rst
diff --git a/doc/plugins/workbench/panels.rst b/doc/help/plugins/workbench/panels.rst
similarity index 100%
rename from doc/plugins/workbench/panels.rst
rename to doc/help/plugins/workbench/panels.rst
diff --git a/doc/plugins/workbench/perspectives.rst b/doc/help/plugins/workbench/perspectives.rst
similarity index 100%
rename from doc/plugins/workbench/perspectives.rst
rename to doc/help/plugins/workbench/perspectives.rst
diff --git a/doc/plugins/workers.rst b/doc/help/plugins/workers.rst
similarity index 100%
rename from doc/plugins/workers.rst
rename to doc/help/plugins/workers.rst
diff --git a/doc/projects/building.rst b/doc/help/projects/building.rst
similarity index 100%
rename from doc/projects/building.rst
rename to doc/help/projects/building.rst
diff --git a/doc/projects/creating.rst b/doc/help/projects/creating.rst
similarity index 100%
rename from doc/projects/creating.rst
rename to doc/help/projects/creating.rst
diff --git a/doc/projects/debugging.rst b/doc/help/projects/debugging.rst
similarity index 100%
rename from doc/projects/debugging.rst
rename to doc/help/projects/debugging.rst
diff --git a/doc/projects/index.rst b/doc/help/projects/index.rst
similarity index 100%
rename from doc/projects/index.rst
rename to doc/help/projects/index.rst
diff --git a/doc/projects/profiling.rst b/doc/help/projects/profiling.rst
similarity index 100%
rename from doc/projects/profiling.rst
rename to doc/help/projects/profiling.rst
diff --git a/doc/projects/sharing.rst b/doc/help/projects/sharing.rst
similarity index 100%
rename from doc/projects/sharing.rst
rename to doc/help/projects/sharing.rst
diff --git a/doc/troubleshooting.rst b/doc/help/troubleshooting.rst
similarity index 100%
rename from doc/troubleshooting.rst
rename to doc/help/troubleshooting.rst
diff --git a/doc/meson.build b/doc/meson.build
index 1336e6a..9e18f7e 100644
--- a/doc/meson.build
+++ b/doc/meson.build
@@ -1,15 +1,6 @@
-if get_option('with_docs')
-
-sphinx = find_program(['sphinx-build-3', 'sphinx-build'], required: false)
-
-if sphinx.found()
-    custom_target('en user documentation',
-                  command: [sphinx, '-b', 'html', '-c', meson.current_source_dir(), 
meson.current_source_dir(), '@OUTPUT@'],
-                   output: 'en',
-         build_by_default: true)
-
-
-    install_subdir(meson.current_build_dir() + '/en', install_dir: pkgdocdir_abs)
+if get_option('with_help')
+  subdir('help')
 endif
-
+if get_option('with_docs')
+  subdir('sdk')
 endif
diff --git a/doc/sdk/libide-docs.sgml b/doc/sdk/libide-docs.sgml
new file mode 100644
index 0000000..0af3772
--- /dev/null
+++ b/doc/sdk/libide-docs.sgml
@@ -0,0 +1,531 @@
+<?xml version="1.0"?>
+<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+               "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd";
+[
+  <!ENTITY % local.common.attrib "xmlns:xi  CDATA  #FIXED 'http://www.w3.org/2003/XInclude'">
+  <!ENTITY % gtkdocentities SYSTEM "xml/gtkdocentities.ent">
+  %gtkdocentities;
+]>
+<book id="index">
+
+  <bookinfo>
+    <title>&package_name; SDK Reference</title>
+    <releaseinfo>
+      <para>
+        The following is a description of API that plugin developers can use to
+        extend or add new features to Builder.
+      </para>
+    </releaseinfo>
+    <copyright>
+      <year>2014-2017</year>
+      <holder>Christian Hergert, et al.</holder>
+    </copyright>
+  </bookinfo>
+
+  <part id="libide-api">
+    <title>Builder Core API</title>
+    <chapter>
+      <title>Overview</title>
+      <para>
+        Access to Builder's SDK is centered around a project context named
+        <link linkend="IdeContext">IdeContext</link>. You access various
+        subsystems such as the debugger or build manager via accessor methods
+        on the <link linkend="IdeContext">IdeContext</link>.
+      </para>
+      <para>
+        To simplify access to the project context, many internal objects share
+        a common base class named <link linkend="IdeObject">IdeObject</link>.
+        It provides direct access to the
+        <link linkend="IdeContext">IdeContext</link> via
+        <link linkend="ide-object-get-context">ide_object_get_context()</link>
+        as well as convenience API for lifecycle management.
+      </para>
+    </chapter>
+    <chapter>
+      <title>Core Objects</title>
+      <xi:include href="xml/ide-context.xml"/>
+      <xi:include href="xml/ide-object.xml"/>
+      <xi:include href="xml/ide-application.xml"/>
+    </chapter>
+    <chapter>
+      <title>Application Extensions</title>
+      <xi:include href="xml/ide-application-addin.xml"/>
+      <xi:include href="xml/ide-application-tool.xml"/>
+      <xi:include href="xml/ide-service.xml"/>
+    </chapter>
+    <chapter>
+      <title>Logging and Tracing</title>
+      <xi:include href="xml/ide-debug.xml"/>
+      <xi:include href="xml/ide-log.xml"/>
+    </chapter>
+    <chapter>
+      <title>Builder Versioning</title>
+      <xi:include href="xml/ide-version.xml"/>
+      <xi:include href="xml/ide-build-ident.xml"/>
+    </chapter>
+  </part>
+
+  <part id="libide-buffers">
+    <title>The Buffer Subsystem</title>
+    <chapter>
+      <title>API Reference</title>
+      <xi:include href="xml/ide-buffer-manager.xml"/>
+      <xi:include href="xml/ide-buffer.xml"/>
+      <xi:include href="xml/ide-buffer-addin.xml"/>
+      <xi:include href="xml/ide-buffer-change-monitor.xml"/>
+      <xi:include href="xml/ide-file.xml"/>
+      <xi:include href="xml/ide-uri.xml"/>
+      <xi:include href="xml/ide-unsaved-files.xml"/>
+      <xi:include href="xml/ide-unsaved-file.xml"/>
+    </chapter>
+    <chapter>
+      <title>File Settings</title>
+      <xi:include href="xml/ide-file-settings.xml"/>
+      <xi:include href="xml/ide-gsettings-file-settings.xml"/>
+      <xi:include href="xml/ide-editorconfig-file-settings.xml"/>
+      <xi:include href="xml/ide-modelines-file-settings.xml"/>
+    </chapter>
+  </part>
+
+  <part id="libide-editor">
+    <title>Source Code Editing</title>
+    <chapter>
+      <title>The Editor Perspective</title>
+      <xi:include href="xml/ide-editor-perspective.xml"/>
+      <xi:include href="xml/ide-editor-properties.xml"/>
+      <xi:include href="xml/ide-editor-sidebar.xml"/>
+      <xi:include href="xml/ide-editor-utilities.xml"/>
+    </chapter>
+    <chapter>
+      <title>The Editor View</title>
+      <xi:include href="xml/ide-editor-view.xml"/>
+      <xi:include href="xml/ide-editor-view-addin.xml"/>
+      <xi:include href="xml/ide-source-view.xml"/>
+      <xi:include href="xml/ide-source-view-mode.xml"/>
+      <xi:include href="xml/ide-source-view-capture.xml"/>
+      <xi:include href="xml/ide-source-map.xml"/>
+      <xi:include href="xml/ide-line-change-gutter-renderer.xml"/>
+      <xi:include href="xml/ide-omni-gutter-renderer.xml"/>
+    </chapter>
+    <chapter>
+      <title>Search and Replace</title>
+      <xi:include href="xml/ide-editor-search.xml"/>
+      <xi:include href="xml/ide-editor-search-bar.xml"/>
+    </chapter>
+    <chapter>
+      <title>Auto-completion</title>
+      <xi:include href="xml/ide-completion-item.xml"/>
+      <xi:include href="xml/ide-completion-provider.xml"/>
+      <xi:include href="xml/ide-completion-results.xml"/>
+      <xi:include href="xml/ide-completion-words.xml"/>
+      <xi:include href="xml/ide-word-completion-item.xml"/>
+      <xi:include href="xml/ide-word-completion-provider.xml"/>
+      <xi:include href="xml/ide-word-completion-results.xml"/>
+    </chapter>
+    <chapter>
+      <title>Semantic Highlighting</title>
+      <xi:include href="xml/ide-highlight-engine.xml"/>
+      <xi:include href="xml/ide-highlighter.xml"/>
+      <xi:include href="xml/ide-highlight-index.xml"/>
+    </chapter>
+    <chapter>
+      <title>Auto-Indentation</title>
+      <xi:include href="xml/ide-indenter.xml"/>
+      <xi:include href="xml/ide-indent-style.xml"/>
+    </chapter>
+    <chapter>
+      <title>Reformatting Code</title>
+      <xi:include href="xml/ide-formatter.xml"/>
+      <xi:include href="xml/ide-formatter-options.xml"/>
+    </chapter>
+    <chapter>
+      <title>Snippets</title>
+      <xi:include href="xml/ide-source-snippets-manager.xml"/>
+      <xi:include href="xml/ide-source-snippet.xml"/>
+      <xi:include href="xml/ide-source-snippet-chunk.xml"/>
+      <xi:include href="xml/ide-source-snippet-context.xml"/>
+      <xi:include href="xml/ide-source-snippets.xml"/>
+      <xi:include href="xml/ide-source-snippet-completion-item.xml"/>
+      <xi:include href="xml/ide-source-snippet-completion-provider.xml"/>
+      <xi:include href="xml/ide-source-snippet-parser.xml"/>
+    </chapter>
+    <chapter>
+      <title>Printing</title>
+      <xi:include href="xml/ide-editor-print-operation.xml"/>
+    </chapter>
+  </part>
+
+  <part id="libide-building">
+    <title>The Build Subsystem</title>
+    <chapter>
+      <title>Core Build API</title>
+      <xi:include href="xml/ide-build-manager.xml"/>
+      <xi:include href="xml/ide-build-system.xml"/>
+      <xi:include href="xml/ide-build-target.xml"/>
+      <xi:include href="xml/ide-configuration-manager.xml"/>
+      <xi:include href="xml/ide-configuration-provider.xml"/>
+      <xi:include href="xml/ide-configuration.xml"/>
+      <xi:include href="xml/ide-environment.xml"/>
+      <xi:include href="xml/ide-environment-variable.xml"/>
+    </chapter>
+    <chapter>
+      <title>The Build Pipeline</title>
+      <xi:include href="xml/ide-build-pipeline.xml"/>
+      <xi:include href="xml/ide-build-pipeline-addin.xml"/>
+      <xi:include href="xml/ide-build-stage.xml"/>
+    </chapter>
+    <chapter>
+      <title>Reusable Build Stages</title>
+      <xi:include href="xml/ide-build-stage-launcher.xml"/>
+      <xi:include href="xml/ide-build-stage-mkdirs.xml"/>
+      <xi:include href="xml/ide-build-stage-transfer.xml"/>
+    </chapter>
+    <chapter>
+      <title>Build UI</title>
+      <xi:include href="xml/ide-build-configuration-row.xml"/>
+      <xi:include href="xml/ide-build-configuration-view.xml"/>
+      <xi:include href="xml/ide-environment-editor.xml"/>
+    </chapter>
+    <chapter>
+      <title>Utility and Fallback API</title>
+      <xi:include href="xml/ide-compile-commands.xml"/>
+      <xi:include href="xml/ide-build-system-discovery.xml"/>
+      <xi:include href="xml/ide-directory-build-system.xml"/>
+    </chapter>
+  </part>
+
+  <part id="libide-diagnostics">
+    <title>The Diagnostics Subsystem</title>
+    <chapter>
+      <title>API Reference</title>
+      <xi:include href="xml/ide-source-location.xml"/>
+      <xi:include href="xml/ide-source-range.xml"/>
+      <xi:include href="xml/ide-diagnostic-provider.xml"/>
+      <xi:include href="xml/ide-diagnostics-manager.xml"/>
+      <xi:include href="xml/ide-diagnostics.xml"/>
+      <xi:include href="xml/ide-diagnostic.xml"/>
+      <xi:include href="xml/ide-fixit.xml"/>
+    </chapter>
+  </part>
+
+  <part id="libide-devices">
+    <title>The Device Subsystem</title>
+    <chapter>
+      <title>API Reference</title>
+      <xi:include href="xml/ide-device-manager.xml"/>
+      <xi:include href="xml/ide-device-provider.xml"/>
+      <xi:include href="xml/ide-device.xml"/>
+      <xi:include href="xml/ide-local-device.xml"/>
+    </chapter>
+  </part>
+
+  <part id="libide-search">
+    <title>Project Search</title>
+    <chapter>
+      <title>Search Engine</title>
+      <xi:include href="xml/ide-search-engine.xml"/>
+      <xi:include href="xml/ide-search-provider.xml"/>
+      <xi:include href="xml/ide-search-result.xml"/>
+    </chapter>
+    <chapter>
+      <title>Performance Considerations</title>
+      <xi:include href="xml/ide-search-reducer.xml"/>
+    </chapter>
+    <chapter>
+      <title>Source Code Indexing</title>
+      <xi:include href="xml/ide-code-index-entries.xml"/>
+      <xi:include href="xml/ide-code-index-entry.xml"/>
+      <xi:include href="xml/ide-code-indexer.xml"/>
+    </chapter>
+  </part>
+
+  <part id="libide-documentation">
+    <title>The Documentation Subsystem</title>
+    <chapter>
+      <title>API Reference</title>
+      <xi:include href="xml/ide-documentation-info.xml"/>
+      <xi:include href="xml/ide-documentation-proposal.xml"/>
+      <xi:include href="xml/ide-documentation-provider.xml"/>
+      <xi:include href="xml/ide-documentation.xml"/>
+    </chapter>
+  </part>
+
+  <part id="libide-refactoring">
+    <title>Refactoring</title>
+    <xi:include href="xml/ide-rename-provider.xml"/>
+    <xi:include href="xml/ide-project-edit.xml"/>
+  </part>
+
+  <part id="libide-workbench">
+    <title>Workbench and View Layout</title>
+    <chapter>
+      <title>API Reference</title>
+      <xi:include href="xml/ide-workbench.xml"/>
+      <xi:include href="xml/ide-workbench-header-bar.xml"/>
+      <xi:include href="xml/ide-perspective.xml"/>
+      <xi:include href="xml/ide-omni-bar.xml"/>
+    </chapter>
+    <chapter>
+      <title>Extending the Workbench</title>
+      <xi:include href="xml/ide-workbench-addin.xml"/>
+      <xi:include href="xml/ide-workbench-message.xml"/>
+    </chapter>
+    <chapter>
+      <title>Layout Management</title>
+      <xi:include href="xml/ide-layout-view.xml"/>
+      <xi:include href="xml/ide-layout-grid-column.xml"/>
+      <xi:include href="xml/ide-layout-grid.xml"/>
+      <xi:include href="xml/ide-layout-stack-addin.xml"/>
+      <xi:include href="xml/ide-layout-stack-header.xml"/>
+      <xi:include href="xml/ide-layout-stack.xml"/>
+      <xi:include href="xml/ide-layout.xml"/>
+      <xi:include href="xml/ide-layout-pane.xml"/>
+      <xi:include href="xml/ide-layout-transient-sidebar.xml"/>
+    </chapter>
+    <chapter>
+      <title>Keyboard Shortcuts</title>
+      <xi:include href="xml/ide-keybindings.xml"/>
+    </chapter>
+  </part>
+
+  <part id="libide-vcs">
+    <title>The Version Control Subsystem</title>
+    <xi:include href="xml/ide-vcs.xml"/>
+    <xi:include href="xml/ide-vcs-uri.xml"/>
+    <xi:include href="xml/ide-vcs-config.xml"/>
+    <xi:include href="xml/ide-vcs-initializer.xml"/>
+    <xi:include href="xml/ide-directory-vcs.xml"/>
+  </part>
+
+  <part id="libide-runtimes">
+    <title>SDKs and Runtimes</title>
+    <xi:include href="xml/ide-runtime-manager.xml"/>
+    <xi:include href="xml/ide-runtime-provider.xml"/>
+    <xi:include href="xml/ide-runtime.xml"/>
+  </part>
+
+  <part id="libide-runner">
+    <title>Running Project Programs</title>
+    <xi:include href="xml/ide-run-manager.xml"/>
+    <xi:include href="xml/ide-runner.xml"/>
+    <chapter>
+      <title>Extending Runners</title>
+      <xi:include href="xml/ide-runner-addin.xml"/>
+    </chapter>
+  </part>
+
+  <part id="libide-debugger">
+    <title>The Debugger Subsystem</title>
+    <chapter>
+      <title>API Reference</title>
+      <xi:include href="xml/ide-debugger-address-map.xml"/>
+      <xi:include href="xml/ide-debugger-breakpoints.xml"/>
+      <xi:include href="xml/ide-debugger-breakpoint.xml"/>
+      <xi:include href="xml/ide-debugger-controls.xml"/>
+      <xi:include href="xml/ide-debugger-frame.xml"/>
+      <xi:include href="xml/ide-debugger-gutter-renderer.xml"/>
+      <xi:include href="xml/ide-debugger-instruction.xml"/>
+      <xi:include href="xml/ide-debugger-library.xml"/>
+      <xi:include href="xml/ide-debugger-register.xml"/>
+      <xi:include href="xml/ide-debugger-thread-group.xml"/>
+      <xi:include href="xml/ide-debugger-thread.xml"/>
+      <xi:include href="xml/ide-debugger-types.xml"/>
+      <xi:include href="xml/ide-debugger-variable.xml"/>
+      <xi:include href="xml/ide-debugger.xml"/>
+      <xi:include href="xml/ide-debug-manager.xml"/>
+    </chapter>
+  </part>
+
+  <part id="libide-symbols">
+    <title>Symbol Extraction and Resolution</title>
+    <xi:include href="xml/ide-symbol-node.xml"/>
+    <xi:include href="xml/ide-symbol-resolver.xml"/>
+    <xi:include href="xml/ide-symbol-tree.xml"/>
+    <xi:include href="xml/ide-symbol.xml"/>
+    <xi:include href="xml/ide-tags-builder.xml"/>
+  </part>
+
+  <part id="libide-testing">
+    <title>Unit Testing</title>
+    <chapter>
+      <title>API Reference</title>
+      <xi:include href="xml/ide-test-manager.xml"/>
+      <xi:include href="xml/ide-test-provider.xml"/>
+      <xi:include href="xml/ide-test.xml"/>
+    </chapter>
+    <chapter>
+      <title>Widgets</title>
+      <xi:include href="xml/ide-test-panel.xml"/>
+    </chapter>
+  </part>
+
+  <part id="libide-projects">
+    <title>Project Management and Templates</title>
+    <chapter>
+      <title>API Reference</title>
+      <xi:include href="xml/ide-project-files.xml"/>
+      <xi:include href="xml/ide-project-file.xml"/>
+      <xi:include href="xml/ide-project-info.xml"/>
+      <xi:include href="xml/ide-project-item.xml"/>
+      <xi:include href="xml/ide-project.xml"/>
+    </chapter>
+    <chapter>
+      <title>Extending Project Creation Workflow</title>
+      <xi:include href="xml/ide-genesis-addin.xml"/>
+      <xi:include href="xml/ide-project-miner.xml"/>
+      <xi:include href="xml/ide-recent-projects.xml"/>
+    </chapter>
+    <chapter>
+      <title>Templates</title>
+      <xi:include href="xml/ide-project-template.xml"/>
+      <xi:include href="xml/ide-template-provider.xml"/>
+      <xi:include href="xml/ide-template-base.xml"/>
+    </chapter>
+  </part>
+
+  <part id="libide-preferences">
+    <title>Application and Plugin Preferences</title>
+    <chapter>
+      <title>API Reference</title>
+      <xi:include href="xml/ide-preferences-addin.xml"/>
+    </chapter>
+  </part>
+
+  <part id="libide-threading">
+    <title>Processes, Threading, and Tasks</title>
+    <chapter>
+      <title>Threading</title>
+      <xi:include href="xml/ide-thread-pool.xml"/>
+    </chapter>
+    <chapter>
+      <title>Worker Processes</title>
+      <xi:include href="xml/ide-worker-manager.xml"/>
+      <xi:include href="xml/ide-worker-process.xml"/>
+      <xi:include href="xml/ide-worker.xml"/>
+    </chapter>
+    <chapter>
+      <title>Subprocesses</title>
+      <xi:include href="xml/ide-subprocess-launcher.xml"/>
+      <xi:include href="xml/ide-subprocess.xml"/>
+      <xi:include href="xml/ide-subprocess-supervisor.xml"/>
+    </chapter>
+    <chapter>
+      <title>Pausable Tasks</title>
+      <xi:include href="xml/ide-pausable.xml"/>
+    </chapter>
+  </part>
+
+  <part id="libide-langserv">
+    <title>Language Server Protocol</title>
+    <chapter>
+      <title>API Reference</title>
+      <xi:include href="xml/ide-langserv-client.xml"/>
+      <xi:include href="xml/ide-langserv-completion-provider.xml"/>
+      <xi:include href="xml/ide-langserv-diagnostic-provider.xml"/>
+      <xi:include href="xml/ide-langserv-formatter.xml"/>
+      <xi:include href="xml/ide-langserv-highlighter.xml"/>
+      <xi:include href="xml/ide-langserv-rename-provider.xml"/>
+      <xi:include href="xml/ide-langserv-symbol-node.xml"/>
+      <xi:include href="xml/ide-langserv-symbol-resolver.xml"/>
+      <xi:include href="xml/ide-langserv-symbol-tree.xml"/>
+    </chapter>
+  </part>
+
+  <part id="libide-transfers">
+    <title>Downloads and Transfers</title>
+    <chapter>
+      <title>API Reference</title>
+      <xi:include href="xml/ide-transfer.xml"/>
+      <xi:include href="xml/ide-transfer-manager.xml"/>
+      <xi:include href="xml/ide-pkcon-transfer.xml"/>
+    </chapter>
+    <chapter>
+      <title>Widgets</title>
+      <xi:include href="xml/ide-transfer-button.xml"/>
+      <xi:include href="xml/ide-transfers-button.xml"/>
+    </chapter>
+  </part>
+
+  <part id="libide-misc">
+    <title>Miscellaneous and Utility API</title>
+    <chapter>
+      <title>API Reference</title>
+      <xi:include href="xml/ide-doap-person.xml"/>
+      <xi:include href="xml/ide-doap.xml"/>
+      <xi:include href="xml/ide-dnd.xml"/>
+      <xi:include href="xml/ide-flatpak.xml"/>
+      <xi:include href="xml/ide-glib.xml"/>
+      <xi:include href="xml/ide-gtk.xml"/>
+      <xi:include href="xml/ide-line-reader.xml"/>
+      <xi:include href="xml/ide-macros.xml"/>
+      <xi:include href="xml/ide-posix.xml"/>
+      <xi:include href="xml/ide-ref-ptr.xml"/>
+      <xi:include href="xml/ide-enums.xml"/>
+      <xi:include href="xml/ide-progress.xml"/>
+      <xi:include href="xml/ide-settings.xml"/>
+    </chapter>
+    <chapter>
+      <title>Internal Extension Management</title>
+      <xi:include href="xml/ide-extension-adapter.xml"/>
+      <xi:include href="xml/ide-extension-set-adapter.xml"/>
+      <xi:include href="xml/ide-extension-util.xml"/>
+    </chapter>
+    <chapter>
+      <title>Widgets</title>
+      <xi:include href="xml/ide-cell-renderer-fancy.xml"/>
+      <xi:include href="xml/ide-fancy-tree-view.xml"/>
+    </chapter>
+  </part>
+
+  <chapter id="object-tree">
+    <title>Object Hierarchy</title>
+    <xi:include href="xml/tree_index.sgml"/>
+  </chapter>
+
+  <index id="api-index-full">
+    <title>API Index</title>
+    <xi:include href="xml/api-index-full.xml"><xi:fallback /></xi:include>
+  </index>
+
+  <index id="deprecated-api-index" role="deprecated">
+    <title>Index of deprecated API</title>
+    <xi:include href="xml/api-index-deprecated.xml"><xi:fallback /></xi:include>
+  </index>
+
+  <xi:include href="xml/annotation-glossary.xml"><xi:fallback /></xi:include>
+
+  <chapter id="legal">
+    <title>Copyright and Legal Information</title>
+
+    <para>
+      This document is the API reference for for &package_name; &package_version;.
+      The latest version of this API reference is also available
+      <ulink role="online-location" url="https://developer.gnome.org/libide/";>online</ulink>.
+    </para>
+    <para>
+      If you find any issues in this API reference, please report it
+      using <ulink type="http" url="&package_bugreport;">the online
+      bug reporting tool</ulink> at bugzilla.gnome.org.
+    </para>
+
+    <para>Copyright © 2014-2017 Christian Hergert, et al.</para>
+
+    <para>
+      Permission is granted to copy, distribute and/or modify this document
+      under the terms of the <citetitle>GNU Free Documentation
+        License</citetitle>, Version 1.1 or any later version published by the
+      Free Software Foundation with no Invariant Sections, no Front-Cover
+      Texts, and no Back-Cover Texts. You may obtain a copy of the
+      <citetitle>GNU Free Documentation License</citetitle> from the Free
+      Software Foundation by visiting <ulink type="http"
+        url="http://www.fsf.org";>their Web site</ulink> or by writing to:
+
+      <address>
+        The Free Software Foundation, Inc.,
+        <street>59 Temple Place</street> - Suite 330,
+        <city>Boston</city>, <state>MA</state> <postcode>02111-1307</postcode>,
+        <country>USA</country>
+      </address>
+    </para>
+  </chapter>
+</book>
diff --git a/doc/sdk/meson.build b/doc/sdk/meson.build
new file mode 100644
index 0000000..24f97d2
--- /dev/null
+++ b/doc/sdk/meson.build
@@ -0,0 +1,53 @@
+subdir('xml')
+
+private_headers = [
+  'config.h',
+  'editorconfig-glib.h',
+  'modeline-parser.h',
+  '*-private.h',
+]
+
+glib_prefix = dependency('glib-2.0').get_pkgconfig_variable('prefix')
+glib_docpath = join_paths(glib_prefix, 'share', 'gtk-doc', 'html')
+json_prefix = dependency('json-glib-1.0').get_pkgconfig_variable('prefix')
+json_docpath = join_paths(json_prefix, 'share', 'gtk-doc', 'html')
+cairo_prefix = dependency('cairo').get_pkgconfig_variable('prefix')
+cairo_docpath = join_paths(cairo_prefix, 'share', 'gtk-doc', 'html')
+gi_prefix = dependency('gobject-introspection-1.0').get_pkgconfig_variable('prefix')
+gi_docpath = join_paths(gi_prefix, 'share', 'gtk-doc', 'html')
+gtk_prefix = dependency('gtk+-3.0').get_pkgconfig_variable('prefix')
+gtk_docpath = join_paths(gtk_prefix, 'share', 'gtk-doc', 'html')
+vte_prefix = dependency('vte-2.91').get_pkgconfig_variable('prefix')
+vte_docpath = join_paths(vte_prefix, 'share', 'vte-doc', 'html')
+
+docpath = join_paths(get_option('datadir'), 'gtk-doc', 'html')
+
+gnome.gtkdoc('libide',
+           main_xml: 'libide-docs.sgml',
+            src_dir: [
+              join_paths(meson.source_root(), 'src', 'libide'),
+              join_paths(meson.build_root(), 'src', 'libide'),
+            ],
+
+       dependencies: libide_dep,
+  gobject_typesfile: 'libide.types',
+          scan_args: [
+            '--rebuild-types',
+            '--ignore-decorators=_IDE_EXTERN',
+            '--ignore-headers=' + ' '.join(private_headers),
+          ],
+
+       fixxref_args: [
+         '--html-dir=@0@'.format(docpath),
+         '--extra-dir=@0@'.format(join_paths(cairo_docpath, 'cairo')),
+         '--extra-dir=@0@'.format(join_paths(gi_docpath, 'gi')),
+         '--extra-dir=@0@'.format(join_paths(glib_docpath, 'gio')),
+         '--extra-dir=@0@'.format(join_paths(glib_docpath, 'glib')),
+         '--extra-dir=@0@'.format(join_paths(glib_docpath, 'gobject')),
+         '--extra-dir=@0@'.format(join_paths(gtk_docpath, 'gtk3')),
+         '--extra-dir=@0@'.format(join_paths(json_docpath, 'json-glib')),
+         '--extra-dir=@0@'.format(join_paths(vte_docpath, 'vte-2.91')),
+         '--extra-dir=@0@'.format(json_docpath),
+       ],
+            install: true)
+
diff --git a/doc/sdk/xml/gtkdocentities.ent.in b/doc/sdk/xml/gtkdocentities.ent.in
new file mode 100644
index 0000000..f12c9ff
--- /dev/null
+++ b/doc/sdk/xml/gtkdocentities.ent.in
@@ -0,0 +1,8 @@
+<!ENTITY package "@PACKAGE@">
+<!ENTITY package_bugreport "@PACKAGE_BUGREPORT@">
+<!ENTITY package_name "@PACKAGE_NAME@">
+<!ENTITY package_string "@PACKAGE_STRING@">
+<!ENTITY package_tarname "@PACKAGE_TARNAME@">
+<!ENTITY package_url "@PACKAGE_URL@">
+<!ENTITY package_version "@PACKAGE_VERSION@">
+<!ENTITY package_api_version "@PACKAGE_API_VERSION@">
diff --git a/doc/sdk/xml/meson.build b/doc/sdk/xml/meson.build
new file mode 100644
index 0000000..640cca5
--- /dev/null
+++ b/doc/sdk/xml/meson.build
@@ -0,0 +1,11 @@
+ent_conf = configuration_data()
+ent_conf.set('PACKAGE', 'gnome-builder')
+ent_conf.set('PACKAGE_BUGREPORT', 'https://bugzilla.gnome.org/enter_bug.cgi?product=gnome-builder')
+ent_conf.set('PACKAGE_NAME', 'Builder')
+ent_conf.set('PACKAGE_STRING', 'Builder')
+ent_conf.set('PACKAGE_TARNAME', 'gnome-builder-' + meson.project_version())
+ent_conf.set('PACKAGE_URL', 'http://wiki.gnome.org/Apps/Builder')
+ent_conf.set('PACKAGE_VERSION', meson.project_version())
+ent_conf.set('PACKAGE_API_VERSION', libide_api_version)
+configure_file(input: 'gtkdocentities.ent.in', output: 'gtkdocentities.ent', configuration: ent_conf)
+
diff --git a/meson.build b/meson.build
index 9bddb7a..c09d04b 100644
--- a/meson.build
+++ b/meson.build
@@ -15,6 +15,8 @@ MAJOR_VERSION = version_split[0]
 MINOR_VERSION = version_split[1]
 MICRO_VERSION = version_split[2]
 
+libide_api_version = '1.0'
+
 pkgdocdir_abs = join_paths(get_option('prefix'), get_option('datadir'), 'doc', 'gnome-builder')
 pkglibdir_abs = join_paths(get_option('prefix'), get_option('libdir'), 'gnome-builder')
 pkglibdir = join_paths(get_option('libdir'), 'gnome-builder')
diff --git a/src/libide/meson.build b/src/libide/meson.build
index 7b69422..7f3ad79 100644
--- a/src/libide/meson.build
+++ b/src/libide/meson.build
@@ -1,8 +1,6 @@
 libide_header_dir = join_paths(get_option('includedir'), 'gnome-builder', 'libide')
 libide_header_subdir = join_paths('gnome-builder', 'libide')
 
-libide_api_version = '1.0'
-
 libide_enum_headers = []
 libide_generated_headers = []
 libide_public_headers = []



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