docs: build automations

parent 0f82ffee
...@@ -9,6 +9,14 @@ gtkdochtmldir = $(datadir)/gtk-doc/html/gegl ...@@ -9,6 +9,14 @@ gtkdochtmldir = $(datadir)/gtk-doc/html/gegl
gtkdocimgdir = $(datadir)/gtk-doc/html/gegl/images gtkdocimgdir = $(datadir)/gtk-doc/html/gegl/images
gtkdocexampledir = $(datadir)/gtk-doc/html/gegl/images/examples gtkdocexampledir = $(datadir)/gtk-doc/html/gegl/images/examples
# run the sync-txt target after adding a text file
sync-txt:
txts=ASC_DOC=`for a in *.txt;do echo -n ' '$$a|sed s/txt/html/;done;echo ''`;\
txts=$$txts" #ASC_DOC_HOTPATCH";\
cat Makefile.am | sed "s/ASC\_DOC.*ASC_DOC_HOTPATCH/$$txts/" > /tmp/mktmp; cp /tmp/mktmp Makefile.am;
ASC_DOC= abyss_policy.html development.html editor.html index.html journal.html todo.html #ASC_DOC_HOTPATCH
HTML_FILES = \ HTML_FILES = \
operations.html \ operations.html \
class-hierarchy.html class-hierarchy.html
...@@ -50,8 +58,10 @@ HTML_FILES += $(ENSCRIPT_FILES) ...@@ -50,8 +58,10 @@ HTML_FILES += $(ENSCRIPT_FILES)
GTKDOC_FILES += $(ENSCRIPT_FILES) GTKDOC_FILES += $(ENSCRIPT_FILES)
endif endif
BUILT_EXTRA_DIST = class-hierarchy.html operations.html $(ASC_DOC)
if HAVE_ASCIIDOC if HAVE_ASCIIDOC
HTML_FILES += index.html development.html HTML_FILES += $(ASC_DOC)
endif endif
EXTRA_DIST = \ EXTRA_DIST = \
...@@ -77,7 +87,6 @@ dist_gtkdocimg_DATA = \ ...@@ -77,7 +87,6 @@ dist_gtkdocimg_DATA = \
images/standard-aux.png images/standard-aux.png
dist_gtkdocexample_DATA = $(EXAMPLE_FILES) dist_gtkdocexample_DATA = $(EXAMPLE_FILES)
BUILT_EXTRA_DIST = index.html class-hierarchy.html operations.html development.html
CLEANFILES = README $(HTML_FILES) index.txt CLEANFILES = README $(HTML_FILES) index.txt
DISTCLEANFILES = index.txt DISTCLEANFILES = index.txt
...@@ -167,28 +176,21 @@ if HAVE_ENSCRIPT ...@@ -167,28 +176,21 @@ if HAVE_ENSCRIPT
$(ENSCRIPT) -E --color --language=html -p$@ $< $(ENSCRIPT) -E --color --language=html -p$@ $<
endif endif
api.html: $(top_srcdir)/gegl/gegl.h\ API_DOC_FILES = \
$(top_builddir)/gegl/gegl-version.h\ $(top_srcdir)/gegl/gegl.h \
$(top_srcdir)/gegl/buffer/gegl-buffer.h\ $(top_builddir)/gegl/gegl-version.h \
$(top_srcdir)/gegl/buffer/gegl-buffer-iterator.h\ $(top_srcdir)/gegl/buffer/gegl-buffer.h \
$(top_srcdir)/gegl/gegl-utils.h\ $(top_srcdir)/gegl/buffer/gegl-buffer-iterator.h\
$(top_srcdir)/gegl/property-types/gegl-color.h\ $(top_srcdir)/gegl/gegl-utils.h \
$(top_srcdir)/gegl/gegl-matrix.h\ $(top_srcdir)/gegl/property-types/gegl-color.h\
$(top_srcdir)/gegl/property-types/gegl-path.h\ $(top_srcdir)/gegl/gegl-matrix.h \
$(top_srcdir)/gegl/property-types/gegl-curve.h\ $(top_srcdir)/gegl/property-types/gegl-path.h\
$(top_srcdir)/gegl/property-types/gegl-curve.h
api.html: $(API_DOC_FILES) \
$(top_srcdir)/tools/create-reference.rb $(top_srcdir)/tools/create-reference.rb
if HAVE_RUBY if HAVE_RUBY
$(top_srcdir)/tools/create-reference.rb \ $(top_srcdir)/tools/create-reference.rb $(API_DOC_FILES) $@
$(top_srcdir)/gegl/gegl.h \
$(top_builddir)/gegl/gegl-version.h \
$(top_srcdir)/gegl/buffer/gegl-buffer.h \
$(top_srcdir)/gegl/buffer/gegl-buffer-iterator.h\
$(top_srcdir)/gegl/gegl-utils.h \
$(top_srcdir)/gegl/property-types/gegl-color.h\
$(top_srcdir)/gegl/gegl-matrix.h \
$(top_srcdir)/gegl/property-types/gegl-path.h\
$(top_srcdir)/gegl/property-types/gegl-curve.h\
$@
endif endif
images/inheritance.png: Makefile images/inheritance.png: Makefile
......
...@@ -4,7 +4,7 @@ Isaac Wagner ...@@ -4,7 +4,7 @@ Isaac Wagner
isaacbw@src.gnome.org isaacbw@src.gnome.org
DESIRED FEATURES DESIRED FEATURES
================ ----------------
*Resizable image preview thumbnails on nodes *Resizable image preview thumbnails on nodes
*Text annotations *Text annotations
...@@ -22,13 +22,13 @@ DESIRED FEATURES ...@@ -22,13 +22,13 @@ DESIRED FEATURES
*Can "shade" nodes which reduces their size to just displaying the node title *Can "shade" nodes which reduces their size to just displaying the node title
LIBRARIES LIBRARIES
========= ---------
GTK+ GTK+
Cairo Cairo
DESIGN NOTES DESIGN NOTES
============ ------------
Node editing and rendering code will be modular and reusable within other node manipulation applications Node editing and rendering code will be modular and reusable within other node manipulation applications
......
...@@ -200,7 +200,7 @@ ...@@ -200,7 +200,7 @@
position: fixed; position: fixed;
width: 12em; width: 12em;
top: 0; top: 0;
left: 0; right: 0;
z-index: 2; z-index: 2;
height: 100%; height: 100%;
overflow: auto; overflow: auto;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment