diff --git a/doc/.gitignore b/doc/.gitignore index 41a38f87..0f27c4db 100644 --- a/doc/.gitignore +++ b/doc/.gitignore @@ -1,10 +1,9 @@ HTML.index -bookindex.sgml +bookindex.xml html-stamp html/ -nochunks.dsl repmgr.html -version.sgml +version.xml *.fo *.pdf diff --git a/doc/Makefile b/doc/Makefile index b8d07e22..99540245 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -24,11 +24,11 @@ endif override XSLTPROCFLAGS += --stringparam repmgr.version '$(REPMGR_VERSION)' -GENERATED_SGML = version.sgml -ALLSGML := $(wildcard $(srcdir)/*.sgml) $(GENERATED_SGML) +GENERATED_XML = version.xml +ALLXML := $(wildcard $(srcdir)/*.xml) $(GENERATED_XML) -version.sgml: $(repmgr_top_builddir)/repmgr_version.h +version.xml: $(repmgr_top_builddir)/repmgr_version.h { \ echo ""; \ } > $@ @@ -40,14 +40,14 @@ version.sgml: $(repmgr_top_builddir)/repmgr_version.h html: html-stamp -html-stamp: stylesheet.xsl repmgr.sgml $(ALLSGML) +html-stamp: stylesheet.xsl repmgr.xml $(ALLXML) $(XMLLINT) $(XMLINCLUDE) --noout --valid $(word 2,$^) $(XSLTPROC) $(XMLINCLUDE) $(XSLTPROCFLAGS) $(XSLTPROC_HTML_FLAGS) $(wordlist 1,2,$^) cp $(srcdir)/stylesheet.css $(srcdir)/website-docs.css html/ touch $@ # single-page HTML -repmgr.html: stylesheet-html-nochunk.xsl repmgr.sgml $(ALLSGML) +repmgr.html: stylesheet-html-nochunk.xsl repmgr.xml $(ALLXML) $(XMLLINT) $(XMLINCLUDE) --noout --valid $(word 2,$^) $(XSLTPROC) $(XMLINCLUDE) $(XSLTPROCFLAGS) $(XSLTPROC_HTML_FLAGS) -o $@ $(wordlist 1,2,$^) @@ -66,7 +66,7 @@ repmgr.pdf: # Standard paper size -repmgr-A4.fo: stylesheet-fo.xsl repmgr.sgml $(ALLSGML) +repmgr-A4.fo: stylesheet-fo.xsl repmgr.xml $(ALLXML) $(XMLLINT) $(XMLINCLUDE) --noout --valid $(word 2,$^) $(XSLTPROC) $(XMLINCLUDE) $(XSLTPROCFLAGS) --stringparam paper.type A4 -o $@ $(wordlist 1,2,$^) @@ -75,7 +75,7 @@ repmgr-A4.pdf: repmgr-A4.fo # North American paper size -repmgr-US.fo: stylesheet-fo.xsl repmgr.sgml $(ALLSGML) +repmgr-US.fo: stylesheet-fo.xsl repmgr.xml $(ALLXML) $(XMLLINT) $(XMLINCLUDE) --noout --valid $(word 2,$^) $(XSLTPROC) $(XMLINCLUDE) $(XSLTPROCFLAGS) --stringparam paper.type USletter -o $@ $(wordlist 1,2,$^) @@ -90,7 +90,7 @@ install: html clean: rm -f html-stamp - rm -f HTML.index $(GENERATED_SGML) + rm -f HTML.index $(GENERATED_XML) maintainer-clean: rm -rf html diff --git a/doc/appendix-faq.sgml b/doc/appendix-faq.xml similarity index 100% rename from doc/appendix-faq.sgml rename to doc/appendix-faq.xml diff --git a/doc/appendix-packages.sgml b/doc/appendix-packages.xml similarity index 100% rename from doc/appendix-packages.sgml rename to doc/appendix-packages.xml diff --git a/doc/appendix-release-notes.sgml b/doc/appendix-release-notes.xml similarity index 100% rename from doc/appendix-release-notes.sgml rename to doc/appendix-release-notes.xml diff --git a/doc/appendix-signatures.sgml b/doc/appendix-signatures.xml similarity index 100% rename from doc/appendix-signatures.sgml rename to doc/appendix-signatures.xml diff --git a/doc/appendix-support.sgml b/doc/appendix-support.xml similarity index 100% rename from doc/appendix-support.sgml rename to doc/appendix-support.xml diff --git a/doc/cloning-standbys.sgml b/doc/cloning-standbys.xml similarity index 100% rename from doc/cloning-standbys.sgml rename to doc/cloning-standbys.xml diff --git a/doc/configuration-file-log-settings.sgml b/doc/configuration-file-log-settings.xml similarity index 100% rename from doc/configuration-file-log-settings.sgml rename to doc/configuration-file-log-settings.xml diff --git a/doc/configuration-file-required-settings.sgml b/doc/configuration-file-required-settings.xml similarity index 100% rename from doc/configuration-file-required-settings.sgml rename to doc/configuration-file-required-settings.xml diff --git a/doc/configuration-file-service-commands.sgml b/doc/configuration-file-service-commands.xml similarity index 100% rename from doc/configuration-file-service-commands.sgml rename to doc/configuration-file-service-commands.xml diff --git a/doc/configuration-file.sgml b/doc/configuration-file.xml similarity index 100% rename from doc/configuration-file.sgml rename to doc/configuration-file.xml diff --git a/doc/configuration.sgml b/doc/configuration.xml similarity index 100% rename from doc/configuration.sgml rename to doc/configuration.xml diff --git a/doc/event-notifications.sgml b/doc/event-notifications.xml similarity index 100% rename from doc/event-notifications.sgml rename to doc/event-notifications.xml diff --git a/doc/filelist.sgml b/doc/filelist.sgml deleted file mode 100644 index 792ef61f..00000000 --- a/doc/filelist.sgml +++ /dev/null @@ -1,90 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/doc/filelist.xml b/doc/filelist.xml new file mode 100644 index 00000000..4cee5dc9 --- /dev/null +++ b/doc/filelist.xml @@ -0,0 +1,90 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/follow-new-primary.sgml b/doc/follow-new-primary.xml similarity index 100% rename from doc/follow-new-primary.sgml rename to doc/follow-new-primary.xml diff --git a/doc/install-packages.sgml b/doc/install-packages.xml similarity index 100% rename from doc/install-packages.sgml rename to doc/install-packages.xml diff --git a/doc/install-requirements.sgml b/doc/install-requirements.xml similarity index 100% rename from doc/install-requirements.sgml rename to doc/install-requirements.xml diff --git a/doc/install-source.sgml b/doc/install-source.xml similarity index 100% rename from doc/install-source.sgml rename to doc/install-source.xml diff --git a/doc/install.sgml b/doc/install.xml similarity index 100% rename from doc/install.sgml rename to doc/install.xml diff --git a/doc/legal.sgml b/doc/legal.xml similarity index 97% rename from doc/legal.sgml rename to doc/legal.xml index 8c299132..fc04feec 100644 --- a/doc/legal.sgml +++ b/doc/legal.xml @@ -1,4 +1,4 @@ - + 2017 diff --git a/doc/overview.sgml b/doc/overview.xml similarity index 100% rename from doc/overview.sgml rename to doc/overview.xml diff --git a/doc/promoting-standby.sgml b/doc/promoting-standby.xml similarity index 100% rename from doc/promoting-standby.sgml rename to doc/promoting-standby.xml diff --git a/doc/quickstart.sgml b/doc/quickstart.xml similarity index 100% rename from doc/quickstart.sgml rename to doc/quickstart.xml diff --git a/doc/repmgr-cluster-cleanup.sgml b/doc/repmgr-cluster-cleanup.xml similarity index 100% rename from doc/repmgr-cluster-cleanup.sgml rename to doc/repmgr-cluster-cleanup.xml diff --git a/doc/repmgr-cluster-crosscheck.sgml b/doc/repmgr-cluster-crosscheck.xml similarity index 100% rename from doc/repmgr-cluster-crosscheck.sgml rename to doc/repmgr-cluster-crosscheck.xml diff --git a/doc/repmgr-cluster-event.sgml b/doc/repmgr-cluster-event.xml similarity index 100% rename from doc/repmgr-cluster-event.sgml rename to doc/repmgr-cluster-event.xml diff --git a/doc/repmgr-cluster-matrix.sgml b/doc/repmgr-cluster-matrix.xml similarity index 100% rename from doc/repmgr-cluster-matrix.sgml rename to doc/repmgr-cluster-matrix.xml diff --git a/doc/repmgr-cluster-show.sgml b/doc/repmgr-cluster-show.xml similarity index 100% rename from doc/repmgr-cluster-show.sgml rename to doc/repmgr-cluster-show.xml diff --git a/doc/repmgr-daemon-pause.sgml b/doc/repmgr-daemon-pause.xml similarity index 100% rename from doc/repmgr-daemon-pause.sgml rename to doc/repmgr-daemon-pause.xml diff --git a/doc/repmgr-daemon-start.sgml b/doc/repmgr-daemon-start.xml similarity index 100% rename from doc/repmgr-daemon-start.sgml rename to doc/repmgr-daemon-start.xml diff --git a/doc/repmgr-daemon-status.sgml b/doc/repmgr-daemon-status.xml similarity index 100% rename from doc/repmgr-daemon-status.sgml rename to doc/repmgr-daemon-status.xml diff --git a/doc/repmgr-daemon-stop.sgml b/doc/repmgr-daemon-stop.xml similarity index 100% rename from doc/repmgr-daemon-stop.sgml rename to doc/repmgr-daemon-stop.xml diff --git a/doc/repmgr-daemon-unpause.sgml b/doc/repmgr-daemon-unpause.xml similarity index 100% rename from doc/repmgr-daemon-unpause.sgml rename to doc/repmgr-daemon-unpause.xml diff --git a/doc/repmgr-node-check.sgml b/doc/repmgr-node-check.xml similarity index 100% rename from doc/repmgr-node-check.sgml rename to doc/repmgr-node-check.xml diff --git a/doc/repmgr-node-rejoin.sgml b/doc/repmgr-node-rejoin.xml similarity index 100% rename from doc/repmgr-node-rejoin.sgml rename to doc/repmgr-node-rejoin.xml diff --git a/doc/repmgr-node-service.sgml b/doc/repmgr-node-service.xml similarity index 100% rename from doc/repmgr-node-service.sgml rename to doc/repmgr-node-service.xml diff --git a/doc/repmgr-node-status.sgml b/doc/repmgr-node-status.xml similarity index 100% rename from doc/repmgr-node-status.sgml rename to doc/repmgr-node-status.xml diff --git a/doc/repmgr-primary-register.sgml b/doc/repmgr-primary-register.xml similarity index 100% rename from doc/repmgr-primary-register.sgml rename to doc/repmgr-primary-register.xml diff --git a/doc/repmgr-primary-unregister.sgml b/doc/repmgr-primary-unregister.xml similarity index 100% rename from doc/repmgr-primary-unregister.sgml rename to doc/repmgr-primary-unregister.xml diff --git a/doc/repmgr-standby-clone.sgml b/doc/repmgr-standby-clone.xml similarity index 100% rename from doc/repmgr-standby-clone.sgml rename to doc/repmgr-standby-clone.xml diff --git a/doc/repmgr-standby-follow.sgml b/doc/repmgr-standby-follow.xml similarity index 100% rename from doc/repmgr-standby-follow.sgml rename to doc/repmgr-standby-follow.xml diff --git a/doc/repmgr-standby-promote.sgml b/doc/repmgr-standby-promote.xml similarity index 100% rename from doc/repmgr-standby-promote.sgml rename to doc/repmgr-standby-promote.xml diff --git a/doc/repmgr-standby-register.sgml b/doc/repmgr-standby-register.xml similarity index 100% rename from doc/repmgr-standby-register.sgml rename to doc/repmgr-standby-register.xml diff --git a/doc/repmgr-standby-switchover.sgml b/doc/repmgr-standby-switchover.xml similarity index 100% rename from doc/repmgr-standby-switchover.sgml rename to doc/repmgr-standby-switchover.xml diff --git a/doc/repmgr-standby-unregister.sgml b/doc/repmgr-standby-unregister.xml similarity index 100% rename from doc/repmgr-standby-unregister.sgml rename to doc/repmgr-standby-unregister.xml diff --git a/doc/repmgr-witness-register.sgml b/doc/repmgr-witness-register.xml similarity index 100% rename from doc/repmgr-witness-register.sgml rename to doc/repmgr-witness-register.xml diff --git a/doc/repmgr-witness-unregister.sgml b/doc/repmgr-witness-unregister.xml similarity index 100% rename from doc/repmgr-witness-unregister.sgml rename to doc/repmgr-witness-unregister.xml diff --git a/doc/repmgr.sgml b/doc/repmgr.xml similarity index 96% rename from doc/repmgr.sgml rename to doc/repmgr.xml index 43763016..aa660557 100644 --- a/doc/repmgr.sgml +++ b/doc/repmgr.xml @@ -1,12 +1,12 @@ - + + %version; - + %filelist; repmgr"> diff --git a/doc/repmgrd-automatic-failover.sgml b/doc/repmgrd-automatic-failover.xml similarity index 100% rename from doc/repmgrd-automatic-failover.sgml rename to doc/repmgrd-automatic-failover.xml diff --git a/doc/repmgrd-bdr.sgml b/doc/repmgrd-bdr.xml similarity index 100% rename from doc/repmgrd-bdr.sgml rename to doc/repmgrd-bdr.xml diff --git a/doc/repmgrd-configuration.sgml b/doc/repmgrd-configuration.xml similarity index 100% rename from doc/repmgrd-configuration.sgml rename to doc/repmgrd-configuration.xml diff --git a/doc/repmgrd-operation.sgml b/doc/repmgrd-operation.xml similarity index 100% rename from doc/repmgrd-operation.sgml rename to doc/repmgrd-operation.xml diff --git a/doc/repmgrd-overview.sgml b/doc/repmgrd-overview.xml similarity index 100% rename from doc/repmgrd-overview.sgml rename to doc/repmgrd-overview.xml diff --git a/doc/switchover.sgml b/doc/switchover.xml similarity index 100% rename from doc/switchover.sgml rename to doc/switchover.xml diff --git a/doc/upgrading-repmgr.sgml b/doc/upgrading-repmgr.xml similarity index 100% rename from doc/upgrading-repmgr.sgml rename to doc/upgrading-repmgr.xml