[gegl] docs: generate static op doc html



commit f3421e8c2249fe0b8a683780a16b647a7ffb07c4
Author: Øyvind Kolås <pippin gimp org>
Date:   Tue May 2 14:38:37 2017 +0200

    docs: generate static op doc html

 docs/Makefile.am  |    7 ++++---
 docs/index.txt.in |    4 ++--
 2 files changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/docs/Makefile.am b/docs/Makefile.am
index f5d7e88..6b86e9b 100644
--- a/docs/Makefile.am
+++ b/docs/Makefile.am
@@ -92,13 +92,14 @@ exclusion_pattern = "load|buffer-source|pixbuf|nop|clone|convert-format|introspe
 all-local: $(HTML_FILES)
 
 examples:  $(top_builddir)/tools/gegl-tester$(EXEEXT) $(top_srcdir)/operations/*/*.c
-       @if test -d images/examples; then :; else \
+       @if test -d operations/images; then :; else \
                echo "Generating example images" ; \
-               mkdir -p images/examples ; \
+               mkdir -p operations/images; \
                BABL_TOLERANCE=0.0 \
                GEGL_SWAP=RAM GEGL_PATH=$(top_builddir)/operations \
-               $(top_builddir)/tools/gegl-tester$(EXEEXT) --all -o images/examples \
+               $(top_builddir)/tools/gegl-tester$(EXEEXT) --all -o operations/images \
                -d $(srcdir)/images -e $(exclusion_pattern) ; \
+               (cd operations; $(top_builddir)/../tools/operations_html ) \
        fi
 
 operations.json: $(top_builddir)/tools/operation_reference$(EXEEXT) $(top_srcdir)/operations/*/*.c | examples
diff --git a/docs/index.txt.in b/docs/index.txt.in
index 712d08c..667d6cb 100644
--- a/docs/index.txt.in
+++ b/docs/index.txt.in
@@ -10,7 +10,7 @@ image::images/GEGL.png[GEGL]
 
 *GEGL* (Generic Graphics Library) is a graph based image processing framework.
 
-With GEGL you chain together link:operations.html[image processing operations]
+With GEGL you chain together link:operations/index.html[image processing operations]
 represented by nodes into a graph. GEGL provides operations for image loading
 and storing, color adjustments, and other different forms of image
 transformation, filtering and compositing. Some software using GEGL is
@@ -19,7 +19,7 @@ link:http://www.imgflo.org/[imgflo],
 link:https://wiki.gnome.org/Apps/Photos[GNOME Photos] and
 link:https://github.com/the-grid/iconographer[iconographer].
 
-link:operations.html[Operations reference gallery]::
+link:operations/index.html[Operations reference gallery]::
   Documentation and visual test reference for most GEGL image processing
   operations.
 link:features.html[GEGL Feature list]::


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