From f02e9ac676868e673e791a8d5955dad52de732ed Mon Sep 17 00:00:00 2001
From: lkugler <lukas.kugler@gmail.com>
Date: Fri, 17 Feb 2023 16:56:35 +0100
Subject: [PATCH] docs

---
 docs/Makefile       | 21 +++++++++++++++++++++
 docs/make.bat       | 36 ++++++++++++++++++++++++++++++++++++
 docs/source/api.rst |  5 +++++
 pyproject.toml      |  9 +++++++++
 4 files changed, 71 insertions(+)
 create mode 100644 docs/Makefile
 create mode 100644 docs/make.bat
 create mode 100644 docs/source/api.rst
 create mode 100644 pyproject.toml

diff --git a/docs/Makefile b/docs/Makefile
new file mode 100644
index 0000000..b9fa825
--- /dev/null
+++ b/docs/Makefile
@@ -0,0 +1,21 @@
+# Minimal makefile for Sphinx documentation
+#
+
+# You can set these variables from the command line, and also
+# from the environment for the first two.
+SPHINXOPTS    ?=
+SPHINXBUILD   ?= sphinx-build
+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)
+
diff --git a/docs/make.bat b/docs/make.bat
new file mode 100644
index 0000000..648587d
--- /dev/null
+++ b/docs/make.bat
@@ -0,0 +1,36 @@
+@ECHO OFF
+
+pushd %~dp0
+
+REM Command file for Sphinx documentation
+
+if "%SPHINXBUILD%" == "" (
+	set SPHINXBUILD=sphinx-build
+)
+set SOURCEDIR=source
+set BUILDDIR=build
+
+if "%1" == "" goto help
+
+%SPHINXBUILD% >NUL 2>NUL
+if errorlevel 9009 (
+	echo.
+	echo.The 'sphinx-build' command was not found. Make sure you have Sphinx
+	echo.installed, then set the SPHINXBUILD environment variable to point
+	echo.to the full path of the 'sphinx-build' executable. Alternatively you
+	echo.may add the Sphinx directory to PATH.
+	echo.
+	echo.If you don't have Sphinx installed, grab it from
+	echo.http://sphinx-doc.org/
+	exit /b 1
+)
+
+%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
+goto end
+
+:help
+%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
+
+:end
+popd
+
diff --git a/docs/source/api.rst b/docs/source/api.rst
new file mode 100644
index 0000000..b37b1e9
--- /dev/null
+++ b/docs/source/api.rst
@@ -0,0 +1,5 @@
+.. autosummary::
+   :toctree: generated
+
+   dartwrf
+
diff --git a/pyproject.toml b/pyproject.toml
new file mode 100644
index 0000000..fbc33db
--- /dev/null
+++ b/pyproject.toml
@@ -0,0 +1,9 @@
+[build-system]
+requires = ["flit_core >=3.2,<4"]
+build-backend = "flit_core.buildapi"
+
+[project]
+name = "dartwrf"
+authors = [{name = "Lukas Kugler", email = "lukas.kugler@univie.ac.at"}]
+dynamic = ["version", "description"]
+
-- 
GitLab