diff options
author | Matthias Baumgartner <dev@igsor.net> | 2023-03-04 14:27:15 +0100 |
---|---|---|
committer | Matthias Baumgartner <dev@igsor.net> | 2023-03-04 14:27:15 +0100 |
commit | 1cb068b4c26b8262247886ee3e5e8935bc95f09d (patch) | |
tree | fe096a59c61186eabc84f977252ed72de62d4a29 | |
parent | 662842453a00d446c420b04ae5fa5e8735fa09c2 (diff) | |
download | tagit-1cb068b4c26b8262247886ee3e5e8935bc95f09d.tar.gz tagit-1cb068b4c26b8262247886ee3e5e8935bc95f09d.tar.bz2 tagit-1cb068b4c26b8262247886ee3e5e8935bc95f09d.zip |
documentation skeleton
-rw-r--r-- | doc/Makefile | 20 | ||||
-rw-r--r-- | doc/make.bat | 35 | ||||
-rw-r--r-- | doc/source/_static/mainview.jpg | bin | 0 -> 148770 bytes | |||
-rw-r--r-- | doc/source/_static/usage.webm | bin | 0 -> 4599471 bytes | |||
-rw-r--r-- | doc/source/conf.py | 37 |
5 files changed, 92 insertions, 0 deletions
diff --git a/doc/Makefile b/doc/Makefile new file mode 100644 index 0000000..d0c3cbf --- /dev/null +++ b/doc/Makefile @@ -0,0 +1,20 @@ +# 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/doc/make.bat b/doc/make.bat new file mode 100644 index 0000000..747ffb7 --- /dev/null +++ b/doc/make.bat @@ -0,0 +1,35 @@ +@ECHO OFF
+
+pushd %~dp0
+
+REM Command file for Sphinx documentation
+
+if "%SPHINXBUILD%" == "" (
+ set SPHINXBUILD=sphinx-build
+)
+set SOURCEDIR=source
+set BUILDDIR=build
+
+%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.https://www.sphinx-doc.org/
+ exit /b 1
+)
+
+if "%1" == "" goto help
+
+%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
+goto end
+
+:help
+%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
+
+:end
+popd
diff --git a/doc/source/_static/mainview.jpg b/doc/source/_static/mainview.jpg Binary files differnew file mode 100644 index 0000000..7543b6f --- /dev/null +++ b/doc/source/_static/mainview.jpg diff --git a/doc/source/_static/usage.webm b/doc/source/_static/usage.webm Binary files differnew file mode 100644 index 0000000..5de921f --- /dev/null +++ b/doc/source/_static/usage.webm diff --git a/doc/source/conf.py b/doc/source/conf.py new file mode 100644 index 0000000..96ab2d5 --- /dev/null +++ b/doc/source/conf.py @@ -0,0 +1,37 @@ +# Configuration file for the Sphinx documentation builder. +# +# For the full list of built-in configuration values, see the documentation: +# https://www.sphinx-doc.org/en/master/usage/configuration.html + +# -- Project information ----------------------------------------------------- +# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information + +project = 'tagit' +copyright = '2023, Matthias Baumgartner' +author = 'Matthias Baumgartner' +release = '0.5' + +# -- General configuration --------------------------------------------------- +# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration + +extensions = [ + 'sphinxcontrib.video', + 'sphinx_copybutton', + ] + +templates_path = ['_templates'] +exclude_patterns = [] + + + +# -- Options for HTML output ------------------------------------------------- +# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output + +html_theme = 'furo' +html_static_path = ['_static'] + +html_title = 'tagit' +html_theme_options = { + 'announcement': '<em>This project is under heavy development and subject to rapid changes. Use at your own discretion.</em>', + } + |