From 665888986b9a3ca629b8fd54965d621296bd56bb Mon Sep 17 00:00:00 2001 From: Thomas White Date: Wed, 28 Mar 2018 11:06:30 +0200 Subject: Add gtk-doc stuff This is really horrible and doesn't work 100%. Replace with something else ASAP --- doc/reference/libcrystfel/CrystFEL-docs.sgml | 7 +++---- doc/reference/libcrystfel/build-docs | 14 ++++++++++++++ doc/reference/libcrystfel/xml/gtkdocentities.ent.cmake.in | 8 ++++++++ 3 files changed, 25 insertions(+), 4 deletions(-) create mode 100755 doc/reference/libcrystfel/build-docs create mode 100644 doc/reference/libcrystfel/xml/gtkdocentities.ent.cmake.in (limited to 'doc') diff --git a/doc/reference/libcrystfel/CrystFEL-docs.sgml b/doc/reference/libcrystfel/CrystFEL-docs.sgml index 048f4167..c6131ae7 100644 --- a/doc/reference/libcrystfel/CrystFEL-docs.sgml +++ b/doc/reference/libcrystfel/CrystFEL-docs.sgml @@ -33,7 +33,7 @@ Unit cells - + @@ -59,7 +59,7 @@ Image filters - + @@ -79,7 +79,7 @@ Indexing - + @@ -119,7 +119,6 @@ Miscellaneous - diff --git a/doc/reference/libcrystfel/build-docs b/doc/reference/libcrystfel/build-docs new file mode 100755 index 00000000..adb2137a --- /dev/null +++ b/doc/reference/libcrystfel/build-docs @@ -0,0 +1,14 @@ +#!/bin/sh + +set -x +DOC_MODULE=CrystFEL + +mkdir docs +cd docs +gtkdoc-scan --module=${DOC_MODULE} ../../libcrystfel/src/*.h +gtkdoc-mkdb --module=${DOC_MODULE} --output-format=xml --source-dir=../../libcrystfel/src +mkdir html +cd html +gtkdoc-mkhtml ${DOC_MODULE} ../CrystFEL-docs.sgml +cd .. +gtkdoc-fixxref --module=${DOC_MODULE} --module-dir=html diff --git a/doc/reference/libcrystfel/xml/gtkdocentities.ent.cmake.in b/doc/reference/libcrystfel/xml/gtkdocentities.ent.cmake.in new file mode 100644 index 00000000..3fd9b080 --- /dev/null +++ b/doc/reference/libcrystfel/xml/gtkdocentities.ent.cmake.in @@ -0,0 +1,8 @@ + + + + + + + + -- cgit v1.2.3