From d76b23898e749118a8547f283d9a69aa4fd3f037 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Tue, 7 Jan 2020 21:35:24 +0200 Subject: [PATCH 1/2] requirements.txt: bring it up to date --- requirements.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/requirements.txt b/requirements.txt index f82143c..193feab 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,15 +1,17 @@ -backports-abc==0.5 Click==7.0 +htmlmin==0.1.12 Jinja2==2.10.3 +jsmin==2.2.2 livereload==2.6.1 Markdown==3.1.1 markdown-include==0.5.1 MarkupSafe==1.1.1 mkdocs==1.0.4 mkdocs-material==4.6.0 +mkdocs-minify-plugin==0.2.1 +pep562==1.0 Pygments==2.5.2 pymdown-extensions==6.2.1 PyYAML==5.3 -singledispatch==3.4.0.3 six==1.14.0 tornado==6.0.3 From 4d1044491be97f1266a2170a9294f00a3894e551 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Tue, 21 Jan 2020 15:57:56 +0200 Subject: [PATCH 2/2] Update README.md to use the requirements.txt file --- README.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 636c332..0cf4652 100644 --- a/README.md +++ b/README.md @@ -34,8 +34,7 @@ Please make sure you fork the repo and change the clone URL in the example below ```bash git clone https://github.com/YOUR-USERNAME/docs cd docs - sudo pip install mkdocs - sudo pip install mkdocs-material markdown-include + sudo pip install -r requirements.txt ``` - Running the docs server: @@ -50,8 +49,7 @@ Please make sure you fork the repo and change the clone URL in the example below ```bash git clone https://github.com/YOUR-USERNAME/docs cd docs - pip install mkdocs --user - pip install mkdocs-material markdown-include --user + pip install --user -r requirements.txt ``` - Running the docs server: @@ -65,7 +63,7 @@ Please make sure you fork the repo and change the clone URL in the example below ```bash docker run -v `pwd`:/opt/app/ -w /opt/app/ -p 8000:8000 -it python:2-alpine \ - sh -c "pip install --user mkdocs mkdocs-material markdown-include && \ + sh -c "pip install --user -r requirements.txt && \ /root/.local/bin/mkdocs serve --dev-addr 0.0.0.0:8000" ```