diff --git a/doc/Makefile.in b/doc/Makefile.in
index 03e193ab..0a824f37 100644
--- a/doc/Makefile.in
+++ b/doc/Makefile.in
@@ -24,7 +24,7 @@ all: html
html: html-stamp
-html-stamp: bdr.sgml $(ALLSGML) $(GENERATED_SGML) stylesheet.dsl website-docs.css
+html-stamp: repmgr.sgml $(ALLSGML) $(GENERATED_SGML) stylesheet.dsl website-docs.css
$(MKDIR_P) html
$(JADE.html.call) -i include-index $<
cp $(srcdir)/stylesheet.css $(srcdir)/website-docs.css html/
@@ -32,10 +32,10 @@ html-stamp: bdr.sgml $(ALLSGML) $(GENERATED_SGML) stylesheet.dsl website-docs.cs
version.sgml: ${repmgr_top_builddir}/repmgr_version.h
{ \
- echo ""; \
+ echo ""; \
} > $@
-HTML.index: bdr.sgml $(ALMOSTALLSGML) stylesheet.dsl
+HTML.index: repmgr.sgml $(ALMOSTALLSGML) stylesheet.dsl
@$(MKDIR_P) html
$(JADE.html.call) -V html-index $<
@@ -59,13 +59,13 @@ maintainer-clean:
rm -rf Makefile
zip: html
- cp -r html bdr-docs-$(REPMGR_VERSION)
- zip -r bdr-docs-$(REPMGR_VERSION).zip bdr-docs-$(REPMGR_VERSION)
- rm -rf bdr-docs-$(REPMGR_VERSION)
+ cp -r html repmgr-docs-$(REPMGR_VERSION)
+ zip -r repmgr-docs-$(REPMGR_VERSION).zip repmgr-docs-$(REPMGR_VERSION)
+ rm -rf repmgr-docs-$(REPMGR_VERSION)
install: html
- @$(MKDIR_P) $(DESTDIR)$(docdir)/$(docmoduledir)/bdr
- @$(INSTALL_DATA) $(wildcard html/*.html) $(wildcard html/*.css) $(DESTDIR)$(docdir)/$(docmoduledir)/bdr
- @echo Installed docs to $(DESTDIR)$(docdir)/$(docmoduledir)/bdr
+ @$(MKDIR_P) $(DESTDIR)$(docdir)/$(docmoduledir)/repmgr
+ @$(INSTALL_DATA) $(wildcard html/*.html) $(wildcard html/*.css) $(DESTDIR)$(docdir)/$(docmoduledir)/repmgr
+ @echo Installed docs to $(DESTDIR)$(docdir)/$(docmoduledir)/repmgr
.PHONY: html all
diff --git a/doc/filelist.sgml b/doc/filelist.sgml
new file mode 100644
index 00000000..c7dd189e
--- /dev/null
+++ b/doc/filelist.sgml
@@ -0,0 +1,31 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/doc/overview.sgml b/doc/overview.sgml
new file mode 100644
index 00000000..a6a7cc6f
--- /dev/null
+++ b/doc/overview.sgml
@@ -0,0 +1,7 @@
+
+ repmgr overview
+
+
+ repmgr is repmgr.
+
+
diff --git a/doc/repmgr.sgml b/doc/repmgr.sgml
new file mode 100644
index 00000000..569ec764
--- /dev/null
+++ b/doc/repmgr.sgml
@@ -0,0 +1,74 @@
+
+
+
+ %version;
+
+
+ %filelist;
+
+ repmgr">
+ PostgreSQL">
+]>
+
+
+ repmgr &repmgrversion; Documentation
+
+
+ 2ndQuadrant Ltd
+ repmgr
+ &repmgrversion;
+ &legal;
+
+
+
+ This book is the official documentation of repmgr &repmgrversion; for
+ use with PostgreSQL 9.6 or with a modified version of PostgreSQL 9.4.
+ It has been written by the &postgres; and repmgr developers and other
+ volunteers in parallel to the development of the repmgr software. It
+ describes all the functionality that the current version of repmgr officially
+ supports.
+
+
+
+ repmgr was developed by
+ 2ndQuadrant
+ along with contributions from other individuals and companies.
+ Contributions from the community are appreciated and welcome - get
+ in touch via github>
+ or the mailing list/forum>.
+ Multiple 2ndQuadrant customers contribute funding
+ to make repmgr development possible.
+
+
+
+ 2ndQuadrant, a Platinum sponsor of the PostgreSQL project,
+ continues to develop repmgr to meet internal needs and those of customers.
+ Other companies as well as individual developers
+ are welcome to participate in the efforts.
+
+
+
+
+ repmgr
+
+
+
+
+
+ Getting started
+ &overview;
+
+
+
+
+ repmgr administration manual
+
+
+
+
+
+
+ ]]>
+
diff --git a/doc/version.sgml b/doc/version.sgml
new file mode 100644
index 00000000..b3efd425
--- /dev/null
+++ b/doc/version.sgml
@@ -0,0 +1 @@
+