Browse Source

docs: add sphinx Makefile & requirements

pull/640/head
Zach Ramsay 7 years ago
parent
commit
818314c5db
2 changed files with 24 additions and 0 deletions
  1. +20
    -0
      docs/Makefile
  2. +4
    -0
      docs/requirements.txt

+ 20
- 0
docs/Makefile View File

@ -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)

+ 4
- 0
docs/requirements.txt View File

@ -0,0 +1,4 @@
sphinx
sphinx-autobuild
recommonmark
sphinx_rtd_theme

Loading…
Cancel
Save