Added: Translation

This commit is contained in:
TheJoKlLa 2024-05-13 13:54:41 +02:00
parent f90018a31d
commit 62798c809b
10 changed files with 45 additions and 15 deletions

24
.gitlab-ci.yml Normal file
View File

@ -0,0 +1,24 @@
image: python:3.8-buster
before_script:
- pip install -r requirements.txt
test:
stage: test
script:
- mkdocs build --strict --verbose --site-dir test
artifacts:
paths:
- test
rules:
- if: $CI_COMMIT_REF_NAME != $CI_DEFAULT_BRANCH
pages:
stage: deploy
script:
- mkdocs build --strict --verbose
artifacts:
paths:
- public
rules:
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH

View File

@ -17,4 +17,4 @@ mkdocs:
# Optionally declare the Python requirements required to build your docs
python:
install:
- requirements: docs/requirements.txt
- requirements: requirements.txt

View File

@ -1,5 +1,4 @@
# fabaccess-docs
Documentation for the fabaccess project.
You can find the rendered docs at: https://fab-access.readthedocs.io/
You can find the rendered docs at: https://fab-access.readthedocs.io/ or https://docs.fab-access.org

View File

@ -1,2 +1 @@
# API Reference
# API Reference

1
docs/index.de.md Normal file
View File

@ -0,0 +1 @@
# Wilkommen DE

1
docs/index.en.md Normal file
View File

@ -0,0 +1 @@
# Welcome EN

View File

@ -1,4 +0,0 @@
{!README.md!}
# Welcome to Lumache's documentation!

View File

@ -1,3 +0,0 @@
mkdocs
mkdocstrings[python]
markdown-include

View File

@ -1,7 +1,12 @@
site_name: Basic MkDocs Example Project
site_name: FabAccess Documentation
# site_url: https://pages.gitlab.io/mkdocs
site_dir: public
theme:
name: readthedocs
highlightjs: true
name: material
palette:
primary: blue
plugins:
- search
- mkdocstrings:
@ -10,6 +15,12 @@ plugins:
python:
options:
docstring_style: sphinx
- i18n:
default_language: en
languages:
en: English
de: Deutsch
markdown_extensions:
- markdown_include.include:
base_path: .

View File

@ -44,6 +44,8 @@ mkdocstrings[python]==0.19.0
# mkdocstrings-python
mkdocstrings-python==0.7.1
# via mkdocstrings
mkdocs-material == 7.1.11
mkdocs-static-i18n == 0.18
packaging==21.3
# via mkdocs
pymdown-extensions==9.5