diff options
author | Simon Josefsson <simon@josefsson.org> | 2011-11-20 21:40:48 +0100 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2011-11-20 22:01:36 +0100 |
commit | 83db2be6d126aafcd3641cec42cbfb3c76ff76e6 (patch) | |
tree | b383069e49bab15bfca9e7851c6b3fb0b7f469f9 /doc | |
parent | f1744a0b833fa8f4792c01a11d82b6525b237d3c (diff) | |
download | libtasn1-83db2be6d126aafcd3641cec42cbfb3c76ff76e6.tar.gz libtasn1-83db2be6d126aafcd3641cec42cbfb3c76ff76e6.tar.bz2 libtasn1-83db2be6d126aafcd3641cec42cbfb3c76ff76e6.zip |
Update GTK-DOC infrastructure.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/reference/Makefile.am | 23 | ||||
-rw-r--r-- | doc/reference/libtasn1-docs.sgml | 28 | ||||
-rw-r--r-- | doc/reference/version.xml.in | 1 |
3 files changed, 34 insertions, 18 deletions
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 @@ <?xml version="1.0"?> -<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" - "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"> -<book id="index" xmlns:xi="http://www.w3.org/2003/XInclude"> +<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" + "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" +[ + <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'"> + <!ENTITY version SYSTEM "version.xml"> +]> +<book id="index"> <bookinfo> <title>GNU Libtasn1 API Reference Manual</title> + <releaseinfo> + for GNU Libtasn1 &version;. + The latest version of this documentation can be found on-line at + <ulink role="online-location" url="https://www.gnu.org/software/libtasn1/reference/">https://www.gnu.org/software/libtasn1/reference/</ulink>. + </releaseinfo> </bookinfo> - <chapter> + <chapter id="intro"> <title>GNU Libtasn1 API Reference Manual</title> <para> @@ -17,15 +26,16 @@ <para> More up to date information can be found at - <ulink url="http://www.gnu.org/software/libtasn1/"> - http://www.gnu.org/software/libtasn1/</ulink>. + <ulink url="https://www.gnu.org/software/libtasn1/"> + https://www.gnu.org/software/libtasn1/</ulink>. </para> <xi:include href="xml/libtasn1.xml"/> - </chapter> - <index> - <title>Index</title> + </chapter> + <index id="api-index-full"> + <title>API Index</title> + <xi:include href="xml/api-index-full.xml"><xi:fallback /></xi:include> </index> <index role="deprecated"> <title>Index of deprecated symbols</title> 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@ |