Make patroni documentation available on patroni.readthedocs.io. (#373)

Run sphnix-quickstart and some workarounds.
Sphinx is a logical choice because our docs is already in .rst.
This commit is contained in:
Oleksii Kliukin
2016-12-20 18:22:57 +01:00
committed by GitHub
parent c293d3d7ec
commit fb89e75ce4
14 changed files with 679 additions and 22 deletions
+20
View File
@@ -0,0 +1,20 @@
# Minimal makefile for Sphinx documentation
#
# You can set these variables from the command line.
SPHINXOPTS =
SPHINXBUILD = sphinx-build
SPHINXPROJ = Patroni
SOURCEDIR = .
BUILDDIR = build
# Put it first so that "make" without argument is like "make help".
help:
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
.PHONY: help Makefile
# Catch-all target: route all unknown targets to Sphinx using the new
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
%: Makefile
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)