From 9ac82d5d17fcb28132c9edf9865becb087b99b31 Mon Sep 17 00:00:00 2001
From: Sergey Yakubov <sergey.yakubov@desy.de>
Date: Fri, 7 Feb 2020 16:52:21 +0100
Subject: [PATCH] add sphinx Makefile

---
 .gitignore           |  4 +++-
 docs/sphinx/Makefile | 20 ++++++++++++++++++++
 2 files changed, 23 insertions(+), 1 deletion(-)
 create mode 100644 docs/sphinx/Makefile

diff --git a/.gitignore b/.gitignore
index 2bdb05e64..0b81b3f01 100644
--- a/.gitignore
+++ b/.gitignore
@@ -136,6 +136,8 @@ common/cpp/include/common/version.h
 common/go/src/asapo_common/version/version_lib.go
 
 
-!sphinx/*
+!docs/sphinx/*
+
+
 .terraform
 terraform.tfstate*
diff --git a/docs/sphinx/Makefile b/docs/sphinx/Makefile
new file mode 100644
index 000000000..b359b1da2
--- /dev/null
+++ b/docs/sphinx/Makefile
@@ -0,0 +1,20 @@
+# Minimal makefile for Sphinx documentation
+#
+
+# You can set these variables from the command line.
+SPHINXOPTS    =
+SPHINXBUILD   = python3 -msphinx
+SPHINXPROJ    = ASAPO
+SOURCEDIR     = source
+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)
\ No newline at end of file
-- 
GitLab