update scripts
This commit is contained in:
parent
d521200450
commit
749a4eafaa
|
@ -1,10 +1,9 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
sudo apt update
|
sudo apt update
|
||||||
sudo apt install ncftp
|
|
||||||
|
|
||||||
# sudo apt install python-pip for 'pip'
|
# sudo apt install python-pip for 'pip'
|
||||||
sudo apt install python3-pip
|
sudo apt install python3-pip
|
||||||
|
|
||||||
# pip did not work for in my case?
|
# pip did not work for in my case?
|
||||||
pip install mkdocs mkdocs-ezlinks-plugin
|
pip install mkdocs mkdocs-ezlinks-plugin mkdocs-exclude
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
shopt -s extglob
|
|
||||||
cd mkdocs
|
cd mkdocs
|
||||||
mkdir docs
|
ln -s .. docs
|
||||||
cp -r ../!(mkdocs) docs
|
cp style.css ..
|
||||||
mkdocs build
|
mkdocs build --strict
|
||||||
|
cd ..
|
||||||
|
rm style.css
|
||||||
|
|
Loading…
Reference in New Issue