From 83db2be6d126aafcd3641cec42cbfb3c76ff76e6 Mon Sep 17 00:00:00 2001 From: Simon Josefsson Date: Sun, 20 Nov 2011 21:40:48 +0100 Subject: Update GTK-DOC infrastructure. --- doc/reference/Makefile.am | 23 ++++++++++++++--------- doc/reference/libtasn1-docs.sgml | 28 +++++++++++++++++++--------- doc/reference/version.xml.in | 1 + 3 files changed, 34 insertions(+), 18 deletions(-) create mode 100644 doc/reference/version.xml.in (limited to 'doc') diff --git a/doc/reference/Makefile.am b/doc/reference/Makefile.am index 2c382f6..c6e3aed 100644 --- a/doc/reference/Makefile.am +++ b/doc/reference/Makefile.am @@ -18,10 +18,10 @@ DOC_MODULE=$(PACKAGE) # The top-level SGML file. You can change this if you want to. DOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.sgml -# Directories containing the source code, relative to $(srcdir). +# Directories containing the source code. # gtk-doc will search all .c and .h files beneath these paths # for inline comments documenting functions and macros. -# e.g. DOC_SOURCE_DIR=../../../gtk ../../../gdk +# e.g. DOC_SOURCE_DIR=$(top_srcdir)/gtk $(top_srcdir)/gdk DOC_SOURCE_DIR=../../lib # Extra options to pass to gtkdoc-scangobj. Not normally needed. @@ -33,8 +33,8 @@ SCAN_OPTIONS=--ignore-decorators=ASN1_API \ --deprecated-guards=ASN1_DISABLE_DEPRECATED # Extra options to supply to gtkdoc-mkdb. -# e.g. MKDB_OPTIONS=--sgml-mode --output-format=xml -MKDB_OPTIONS=--sgml-mode --output-format=xml +# e.g. MKDB_OPTIONS=--xml-mode --output-format=xml +MKDB_OPTIONS=--xml-mode --output-format=xml # Extra options to supply to gtkdoc-mktmpl # e.g. MKTMPL_OPTIONS=--only-section-tmpl @@ -57,9 +57,9 @@ CFILE_GLOB=$(top_srcdir)/lib/*.c # e.g. EXTRA_HFILES=$(top_srcdir}/contrib/extra.h EXTRA_HFILES= -# Header files to ignore when scanning. Use base file name, no paths -# e.g. IGNORE_HFILES=gtkdebug.h gtkintl.h -IGNORE_HFILES=int.h parser_aux.h structure.h element.h gstr.h gllib +# Header files or dirs to ignore when scanning. Use base file/dir names +# e.g. IGNORE_HFILES=gtkdebug.h gtkintl.h private_code +IGNORE_HFILES=element.h gstr.h int.h parser_aux.h structure.h gllib # Images to copy into HTML directory. # e.g. HTML_IMAGES=$(top_srcdir)/gtk/stock-icons/stock_about_24.png @@ -94,8 +94,13 @@ EXTRA_DIST += # for --rebuild-sections in $(SCAN_OPTIONS) e.g. $(DOC_MODULE)-sections.txt #DISTCLEANFILES += -# Comment this out if you want your docs-status tested during 'make check' +# Comment this out if you want 'make check' to test you doc status +# and run some sanity checks if ENABLE_GTK_DOC -#TESTS_ENVIRONMENT = cd $(srcsrc) && +TESTS_ENVIRONMENT = cd $(srcdir) && \ + DOC_MODULE=$(DOC_MODULE) DOC_MAIN_SGML_FILE=$(DOC_MAIN_SGML_FILE) \ + SRCDIR=$(abs_srcdir) BUILDDIR=$(abs_builddir) #TESTS = $(GTKDOC_CHECK) endif + +-include $(top_srcdir)/git.mk diff --git a/doc/reference/libtasn1-docs.sgml b/doc/reference/libtasn1-docs.sgml index ee3b3af..3a7f351 100644 --- a/doc/reference/libtasn1-docs.sgml +++ b/doc/reference/libtasn1-docs.sgml @@ -1,12 +1,21 @@ - - + + +]> + GNU Libtasn1 API Reference Manual + + for GNU Libtasn1 &version;. + The latest version of this documentation can be found on-line at + https://www.gnu.org/software/libtasn1/reference/. + - + GNU Libtasn1 API Reference Manual @@ -17,15 +26,16 @@ More up to date information can be found at - - http://www.gnu.org/software/libtasn1/. + + https://www.gnu.org/software/libtasn1/. - - - Index + + + API Index + Index of deprecated symbols diff --git a/doc/reference/version.xml.in b/doc/reference/version.xml.in new file mode 100644 index 0000000..d78bda9 --- /dev/null +++ b/doc/reference/version.xml.in @@ -0,0 +1 @@ +@VERSION@ -- cgit v1.2.3