Fhotdoc
authorThibault Saunier <thibault.saunier@osg.samsung.com>
Wed, 8 Mar 2017 21:26:42 +0000 (18:26 -0300)
committerThibault Saunier <thibault.saunier@osg.samsung.com>
Thu, 9 Mar 2017 16:10:46 +0000 (13:10 -0300)
docs/hotdoc/index.md
docs/hotdoc/meson.build
ges/meson.build
meson.build

index cbfb174..9464d2d 100644 (file)
@@ -36,7 +36,7 @@ editing-related applications.
 ### Timeline and TimelinePipeline
 
 The most top-level object encapsulating every other object is the
-#GESTimeline. It is the central object for any editing project.
+[GESTimeline](GESTimeline). It is the central object for any editing project.
 
 The `GESTimeline` is a `GstElement`. It can therefore be used in any
 GStreamer pipeline like any other object.
@@ -61,4 +61,4 @@ The GESTimeline can contain two types of objects (seen in
 
 In order to reduce even more the amount of GStreamer interaction the
 application developer has to deal with, a convenience GstPipeline has
-been made available specifically for Timelines : #GESPipeline.
+been made available specifically for Timelines : [GESPipeline](GESPipeline).
index 2022769..e0a4403 100644 (file)
@@ -1,13 +1,17 @@
 ges_excludes = []
-foreach f: ['gesmarshal.h', 'ges-internal.h', 'ges-auto-transition.[ch]',
-            'ges-structured-interface.[ch]', 'ges-structure-parser.[ch]',
-            'ges-smart-video-mixer.[ch]', 'gstframepositioner.[ch]',
-            'ges/lex.priv_ges_parse_yy.c']
+foreach f: ['gesmarshal.*',
+            'ges-internal.*',
+            'ges-auto-transition.*',
+            'ges-structured-interface.*',
+            'ges-structure-parser.*',
+            'ges-smart-*.',
+            'gstframepositioner.*',
+            'lex.priv_ges_parse_yy.c']
     ges_excludes += [join_paths(meson.current_source_dir(), '..', '..', 'ges', f)]
 endforeach
 
 hotdoc = import('hotdoc')
-gst_editin_services_doc = hotdoc.generate_doc('gst-editing-services',
+gst_editing_services_doc = hotdoc.generate_doc('gst-editing-services',
     project_version: apiversion,
     extra_assets: [join_paths(meson.current_source_dir(), 'images')],
     c_sources: ['../../ges/ges.h', '../../ges/*.[hc]'],
index 37a19c5..a6971dd 100644 (file)
@@ -175,7 +175,7 @@ if build_gir
       '-I' + meson.current_build_dir() + '/..',
       '--cflags-end']
     endif
-    ges_gen_sources += [gnome.generate_gir(libges,
+    ges_gir = gnome.generate_gir(libges,
         sources : ges_sources + ges_headers,
         namespace : 'GES',
         nsversion : apiversion,
@@ -186,7 +186,9 @@ if build_gir
         install : true,
         dependencies : libges_deps,
         extra_args : ges_gir_extra_args
-    )]
+    )
+
+    ges_gen_sources += [ges_gir]
 endif
 
 ges_dep = declare_dependency(link_with : libges,
index 9e35fac..d80c693 100644 (file)
@@ -138,15 +138,17 @@ subdir('pkgconfig')
 subdir('tests')
 subdir('examples')
 
+build_hotdoc = false
 if build_machine.system() == 'windows'
   message('Disabling gtk-doc while building on Windows')
 elif get_option('disable_gtkdoc')
   message('gtk-doc is disabled via options')
 else
-  if find_program('gtkdoc-scan', required : false).found()
+  hotdoc_p = find_program('hotdoc', required : false)
+  if hotdoc_p.found()
     subdir('docs')
   else
-    message('Not building documentation as gtk-doc was not found')
+    message('Not building documentation as hotdoc was not found')
   endif
 endif