From 749a4eafaad2cfdb443a1080fc300d04d0afbf7e Mon Sep 17 00:00:00 2001 From: David Holdeman Date: Sun, 1 Jan 2023 09:36:21 -0600 Subject: [PATCH] update scripts --- bin/mkdocs-install.sh | 3 +-- bin/mkdocs-run.sh | 9 +++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/bin/mkdocs-install.sh b/bin/mkdocs-install.sh index 6242f94f..3aba954c 100755 --- a/bin/mkdocs-install.sh +++ b/bin/mkdocs-install.sh @@ -1,10 +1,9 @@ #!/bin/bash sudo apt update -sudo apt install ncftp # sudo apt install python-pip for 'pip' sudo apt install python3-pip # pip did not work for in my case? -pip install mkdocs mkdocs-ezlinks-plugin \ No newline at end of file +pip install mkdocs mkdocs-ezlinks-plugin mkdocs-exclude diff --git a/bin/mkdocs-run.sh b/bin/mkdocs-run.sh index a0618946..fc804c5d 100755 --- a/bin/mkdocs-run.sh +++ b/bin/mkdocs-run.sh @@ -1,7 +1,8 @@ #!/bin/bash -shopt -s extglob cd mkdocs -mkdir docs -cp -r ../!(mkdocs) docs -mkdocs build \ No newline at end of file +ln -s .. docs +cp style.css .. +mkdocs build --strict +cd .. +rm style.css