From 10425d69679a9da68c8ab1a55d629aca9e4fc7f7 Mon Sep 17 00:00:00 2001 From: Ian Barwick Date: Mon, 20 May 2019 15:37:08 +0900 Subject: [PATCH] doc: rename file endings from .sgml to .xml As they are now XML files. In PostgreSQL itself they remain with the .sgml suffix for backwards compatibility, but that's not important for us. --- doc/.gitignore | 5 +- doc/Makefile | 16 ++-- doc/{appendix-faq.sgml => appendix-faq.xml} | 0 ...ix-packages.sgml => appendix-packages.xml} | 0 ...-notes.sgml => appendix-release-notes.xml} | 0 ...ignatures.sgml => appendix-signatures.xml} | 0 ...ndix-support.sgml => appendix-support.xml} | 0 ...ing-standbys.sgml => cloning-standbys.xml} | 0 ...ml => configuration-file-log-settings.xml} | 0 ... configuration-file-required-settings.xml} | 0 ...> configuration-file-service-commands.xml} | 0 ...ation-file.sgml => configuration-file.xml} | 0 doc/{configuration.sgml => configuration.xml} | 0 ...fications.sgml => event-notifications.xml} | 0 doc/filelist.sgml | 90 ------------------- doc/filelist.xml | 90 +++++++++++++++++++ ...ew-primary.sgml => follow-new-primary.xml} | 0 ...all-packages.sgml => install-packages.xml} | 0 ...irements.sgml => install-requirements.xml} | 0 ...install-source.sgml => install-source.xml} | 0 doc/{install.sgml => install.xml} | 0 doc/{legal.sgml => legal.xml} | 2 +- doc/{overview.sgml => overview.xml} | 0 ...ing-standby.sgml => promoting-standby.xml} | 0 doc/{quickstart.sgml => quickstart.xml} | 0 ...leanup.sgml => repmgr-cluster-cleanup.xml} | 0 ...eck.sgml => repmgr-cluster-crosscheck.xml} | 0 ...er-event.sgml => repmgr-cluster-event.xml} | 0 ...-matrix.sgml => repmgr-cluster-matrix.xml} | 0 ...ster-show.sgml => repmgr-cluster-show.xml} | 0 ...mon-pause.sgml => repmgr-daemon-pause.xml} | 0 ...mon-start.sgml => repmgr-daemon-start.xml} | 0 ...n-status.sgml => repmgr-daemon-status.xml} | 0 ...aemon-stop.sgml => repmgr-daemon-stop.xml} | 0 ...unpause.sgml => repmgr-daemon-unpause.xml} | 0 ...-node-check.sgml => repmgr-node-check.xml} | 0 ...ode-rejoin.sgml => repmgr-node-rejoin.xml} | 0 ...e-service.sgml => repmgr-node-service.xml} | 0 ...ode-status.sgml => repmgr-node-status.xml} | 0 ...ister.sgml => repmgr-primary-register.xml} | 0 ...ter.sgml => repmgr-primary-unregister.xml} | 0 ...by-clone.sgml => repmgr-standby-clone.xml} | 0 ...-follow.sgml => repmgr-standby-follow.xml} | 0 ...romote.sgml => repmgr-standby-promote.xml} | 0 ...ister.sgml => repmgr-standby-register.xml} | 0 ...ver.sgml => repmgr-standby-switchover.xml} | 0 ...ter.sgml => repmgr-standby-unregister.xml} | 0 ...ister.sgml => repmgr-witness-register.xml} | 0 ...ter.sgml => repmgr-witness-unregister.xml} | 0 doc/{repmgr.sgml => repmgr.xml} | 6 +- ...er.sgml => repmgrd-automatic-failover.xml} | 0 doc/{repmgrd-bdr.sgml => repmgrd-bdr.xml} | 0 ...uration.sgml => repmgrd-configuration.xml} | 0 ...d-operation.sgml => repmgrd-operation.xml} | 0 ...grd-overview.sgml => repmgrd-overview.xml} | 0 doc/{switchover.sgml => switchover.xml} | 0 ...ading-repmgr.sgml => upgrading-repmgr.xml} | 0 57 files changed, 104 insertions(+), 105 deletions(-) rename doc/{appendix-faq.sgml => appendix-faq.xml} (100%) rename doc/{appendix-packages.sgml => appendix-packages.xml} (100%) rename doc/{appendix-release-notes.sgml => appendix-release-notes.xml} (100%) rename doc/{appendix-signatures.sgml => appendix-signatures.xml} (100%) rename doc/{appendix-support.sgml => appendix-support.xml} (100%) rename doc/{cloning-standbys.sgml => cloning-standbys.xml} (100%) rename doc/{configuration-file-log-settings.sgml => configuration-file-log-settings.xml} (100%) rename doc/{configuration-file-required-settings.sgml => configuration-file-required-settings.xml} (100%) rename doc/{configuration-file-service-commands.sgml => configuration-file-service-commands.xml} (100%) rename doc/{configuration-file.sgml => configuration-file.xml} (100%) rename doc/{configuration.sgml => configuration.xml} (100%) rename doc/{event-notifications.sgml => event-notifications.xml} (100%) delete mode 100644 doc/filelist.sgml create mode 100644 doc/filelist.xml rename doc/{follow-new-primary.sgml => follow-new-primary.xml} (100%) rename doc/{install-packages.sgml => install-packages.xml} (100%) rename doc/{install-requirements.sgml => install-requirements.xml} (100%) rename doc/{install-source.sgml => install-source.xml} (100%) rename doc/{install.sgml => install.xml} (100%) rename doc/{legal.sgml => legal.xml} (97%) rename doc/{overview.sgml => overview.xml} (100%) rename doc/{promoting-standby.sgml => promoting-standby.xml} (100%) rename doc/{quickstart.sgml => quickstart.xml} (100%) rename doc/{repmgr-cluster-cleanup.sgml => repmgr-cluster-cleanup.xml} (100%) rename doc/{repmgr-cluster-crosscheck.sgml => repmgr-cluster-crosscheck.xml} (100%) rename doc/{repmgr-cluster-event.sgml => repmgr-cluster-event.xml} (100%) rename doc/{repmgr-cluster-matrix.sgml => repmgr-cluster-matrix.xml} (100%) rename doc/{repmgr-cluster-show.sgml => repmgr-cluster-show.xml} (100%) rename doc/{repmgr-daemon-pause.sgml => repmgr-daemon-pause.xml} (100%) rename doc/{repmgr-daemon-start.sgml => repmgr-daemon-start.xml} (100%) rename doc/{repmgr-daemon-status.sgml => repmgr-daemon-status.xml} (100%) rename doc/{repmgr-daemon-stop.sgml => repmgr-daemon-stop.xml} (100%) rename doc/{repmgr-daemon-unpause.sgml => repmgr-daemon-unpause.xml} (100%) rename doc/{repmgr-node-check.sgml => repmgr-node-check.xml} (100%) rename doc/{repmgr-node-rejoin.sgml => repmgr-node-rejoin.xml} (100%) rename doc/{repmgr-node-service.sgml => repmgr-node-service.xml} (100%) rename doc/{repmgr-node-status.sgml => repmgr-node-status.xml} (100%) rename doc/{repmgr-primary-register.sgml => repmgr-primary-register.xml} (100%) rename doc/{repmgr-primary-unregister.sgml => repmgr-primary-unregister.xml} (100%) rename doc/{repmgr-standby-clone.sgml => repmgr-standby-clone.xml} (100%) rename doc/{repmgr-standby-follow.sgml => repmgr-standby-follow.xml} (100%) rename doc/{repmgr-standby-promote.sgml => repmgr-standby-promote.xml} (100%) rename doc/{repmgr-standby-register.sgml => repmgr-standby-register.xml} (100%) rename doc/{repmgr-standby-switchover.sgml => repmgr-standby-switchover.xml} (100%) rename doc/{repmgr-standby-unregister.sgml => repmgr-standby-unregister.xml} (100%) rename doc/{repmgr-witness-register.sgml => repmgr-witness-register.xml} (100%) rename doc/{repmgr-witness-unregister.sgml => repmgr-witness-unregister.xml} (100%) rename doc/{repmgr.sgml => repmgr.xml} (96%) rename doc/{repmgrd-automatic-failover.sgml => repmgrd-automatic-failover.xml} (100%) rename doc/{repmgrd-bdr.sgml => repmgrd-bdr.xml} (100%) rename doc/{repmgrd-configuration.sgml => repmgrd-configuration.xml} (100%) rename doc/{repmgrd-operation.sgml => repmgrd-operation.xml} (100%) rename doc/{repmgrd-overview.sgml => repmgrd-overview.xml} (100%) rename doc/{switchover.sgml => switchover.xml} (100%) rename doc/{upgrading-repmgr.sgml => upgrading-repmgr.xml} (100%) 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