From 648db26e4234c9ea1afebf09e74f5e0388a0b714 Mon Sep 17 00:00:00 2001 From: Stephan Date: Sat, 28 Aug 2021 16:48:06 +0200 Subject: [PATCH] docs: reduced install efforts with creation of requirements.txt --- requirements.txt | 3 +++ sphinx/README.md | 13 ++++--------- 2 files changed, 7 insertions(+), 9 deletions(-) create mode 100644 requirements.txt diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..f0f7c79 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,3 @@ +sphinxcontrib-plantuml +myst-parser +sphinx_rtd_theme diff --git a/sphinx/README.md b/sphinx/README.md index 5d21db0..d6b5949 100644 --- a/sphinx/README.md +++ b/sphinx/README.md @@ -1,10 +1,5 @@ +# Installation -## Installation ## - -``` -python3 -m venv venv -source venv/bin/activate -pip install sphinxcontrib-plantuml -pip install myst-parser -pip install sphinx_rtd_theme -``` \ No newline at end of file +1. Virtuelle Pythonumgebung erstellen: ```python3 -m venv venv``` +2. Virtuelle Umgebung aktivieren: ```source venv/bin/activate``` +3. Pakete aus ```requirements.txt``` installieren: ```pip install -r requirements.txt```