diff --git a/doc/Makefile b/doc/Makefile index 05574afa..352d0111 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -36,6 +36,11 @@ html-stamp: stylesheet.xsl repmgr.sgml $(ALLSGML) $(GENERATED_SGML) cp $(srcdir)/stylesheet.css html/ touch $@ +# single-page HTML +repmgr.html: stylesheet-html-nochunk.xsl repmgr.sgml $(ALLSGML) $(GENERATED_SGML) + $(XMLLINT) $(XMLINCLUDE) --noout --valid $(word 2,$^) + $(XSLTPROC) $(XMLINCLUDE) $(XSLTPROCFLAGS) $(XSLTPROC_HTML_FLAGS) -o $@ $(wordlist 1,2,$^) + version.sgml: $(repmgr_top_builddir)/repmgr_version.h { \ echo ""; \ diff --git a/doc/stylesheet-html-nochunk.xsl b/doc/stylesheet-html-nochunk.xsl new file mode 100644 index 00000000..78add26a --- /dev/null +++ b/doc/stylesheet-html-nochunk.xsl @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + + + + +