mirror of
https://gitlab.com/fabinfra/fabaccess/docs.git
synced 2024-11-16 12:17:57 +01:00
Added: Translation
This commit is contained in:
parent
f90018a31d
commit
62798c809b
24
.gitlab-ci.yml
Normal file
24
.gitlab-ci.yml
Normal 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
|
@ -17,4 +17,4 @@ mkdocs:
|
||||
# Optionally declare the Python requirements required to build your docs
|
||||
python:
|
||||
install:
|
||||
- requirements: docs/requirements.txt
|
||||
- requirements: requirements.txt
|
||||
|
@ -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
|
||||
|
@ -1,2 +1 @@
|
||||
# API Reference
|
||||
|
||||
# API Reference
|
1
docs/index.de.md
Normal file
1
docs/index.de.md
Normal file
@ -0,0 +1 @@
|
||||
# Wilkommen DE
|
1
docs/index.en.md
Normal file
1
docs/index.en.md
Normal file
@ -0,0 +1 @@
|
||||
# Welcome EN
|
@ -1,4 +0,0 @@
|
||||
{!README.md!}
|
||||
|
||||
# Welcome to Lumache's documentation!
|
||||
|
@ -1,3 +0,0 @@
|
||||
mkdocs
|
||||
mkdocstrings[python]
|
||||
markdown-include
|
17
mkdocs.yml
17
mkdocs.yml
@ -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: .
|
||||
|
@ -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
|
Loading…
Reference in New Issue
Block a user