[nautilus-python] build: Detect docs changes



commit 4eeea6479f3787f5c0749617b347271fdce06387
Author: Jan Tojnar <jtojnar gmail com>
Date:   Mon Aug 15 23:28:19 2022 +0200

    build: Detect docs changes
    
    And rebuild them when that happens.

 docs/reference/meson.build | 30 +++++++++++++++++++++++++++++-
 1 file changed, 29 insertions(+), 1 deletion(-)
---
diff --git a/docs/reference/meson.build b/docs/reference/meson.build
index cd0fddb..4e90e00 100644
--- a/docs/reference/meson.build
+++ b/docs/reference/meson.build
@@ -1,4 +1,4 @@
-configure_file(
+entities = configure_file(
   input: 'entities.docbook.in',
   output: 'entities.docbook',
   configuration: {
@@ -10,5 +10,33 @@ gnome.gtkdoc(
   'nautilus-python',
   main_xml: 'nautilus-python-ref.xml',
   src_dir: 'src',
+  content_files: [
+    entities,
+    'nautilus-python-class-reference.xml',
+    'nautilus-python-column-provider.xml',
+    'nautilus-python-column.xml',
+    'nautilus-python-enum-reference.xml',
+    'nautilus-python-file-info.xml',
+    'nautilus-python-info-provider.xml',
+    'nautilus-python-menu-item.xml',
+    'nautilus-python-menu-provider.xml',
+    'nautilus-python-menu.xml',
+    'nautilus-python-migrating-to-4.xml',
+    'nautilus-python-operation-result.xml',
+    'nautilus-python-overview-example.xml',
+    'nautilus-python-overview-methods.xml',
+    'nautilus-python-overview.xml',
+    'nautilus-python-properties-item.xml',
+    'nautilus-python-properties-model-provider.xml',
+    'nautilus-python-properties-model.xml',
+    'nautilus-python-provider-reference.xml',
+    '../../examples/TestExtension.py',
+    '../../examples/background-image.py',
+    '../../examples/block-size-column.py',
+    '../../examples/md5sum-properties-model.py',
+    '../../examples/open-terminal.py',
+    '../../examples/submenu.py',
+    '../../examples/update-file-info-async.py',
+  ],
   install: true,
 )


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