diff --git a/.gitignore b/.gitignore index 9ea367f..2c1e109 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ -_build/ -.venv/ \ No newline at end of file +build/ +.venv/ +.vscode/ \ No newline at end of file diff --git a/Makefile b/Makefile index d4bb2cb..d0c3cbf 100644 --- a/Makefile +++ b/Makefile @@ -5,8 +5,8 @@ # from the environment for the first two. SPHINXOPTS ?= SPHINXBUILD ?= sphinx-build -SOURCEDIR = . -BUILDDIR = _build +SOURCEDIR = source +BUILDDIR = build # Put it first so that "make" without argument is like "make help". help: diff --git a/make.bat b/make.bat index 32bb245..747ffb7 100644 --- a/make.bat +++ b/make.bat @@ -7,8 +7,8 @@ REM Command file for Sphinx documentation if "%SPHINXBUILD%" == "" ( set SPHINXBUILD=sphinx-build ) -set SOURCEDIR=. -set BUILDDIR=_build +set SOURCEDIR=source +set BUILDDIR=build %SPHINXBUILD% >NUL 2>NUL if errorlevel 9009 ( diff --git a/requirements.txt b/requirements.txt index 8270273..20e3036 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1,2 @@ -furo==2023.5.20 \ No newline at end of file +furo==2023.5.20 +sphinx-intl==2.1.0 \ No newline at end of file diff --git a/conf.py b/source/conf.py similarity index 88% rename from conf.py rename to source/conf.py index ef1e6ab..a0b6a85 100644 --- a/conf.py +++ b/source/conf.py @@ -25,3 +25,7 @@ language = 'de' html_theme = 'furo' html_static_path = ['_static'] + +# Translation stuff +locale_dirs = ['locale/'] # path is example but recommended. +gettext_compact = False # optional. \ No newline at end of file diff --git a/index.rst b/source/index.rst similarity index 100% rename from index.rst rename to source/index.rst