From 818314c5db06818a871f87630734876801f1ae14 Mon Sep 17 00:00:00 2001 From: Zach Ramsay Date: Wed, 30 Aug 2017 16:33:28 -0400 Subject: [PATCH] docs: add sphinx Makefile & requirements --- docs/Makefile | 20 ++++++++++++++++++++ docs/requirements.txt | 4 ++++ 2 files changed, 24 insertions(+) create mode 100644 docs/Makefile create mode 100644 docs/requirements.txt diff --git a/docs/Makefile b/docs/Makefile new file mode 100644 index 000000000..18039771e --- /dev/null +++ b/docs/Makefile @@ -0,0 +1,20 @@ +Minimal makefile for Sphinx documentation +# + +# You can set these variables from the command line. +SPHINXOPTS = +SPHINXBUILD = python -msphinx +SPHINXPROJ = Ethermint +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) diff --git a/docs/requirements.txt b/docs/requirements.txt new file mode 100644 index 000000000..85e42ba83 --- /dev/null +++ b/docs/requirements.txt @@ -0,0 +1,4 @@ +sphinx +sphinx-autobuild +recommonmark +sphinx_rtd_theme