2022-10-19 20:44:13 +00:00
|
|
|
@ECHO off
|
|
|
|
|
2022-11-23 21:01:41 +00:00
|
|
|
pushd "%~dp0"
|
|
|
|
|
2022-11-03 03:09:07 +00:00
|
|
|
IF NOT EXIST "venv\" (
|
2022-10-19 20:44:13 +00:00
|
|
|
|
2022-11-03 03:09:07 +00:00
|
|
|
SET /P gumpf=You need to set up a venv! Check the running from source help for more info!
|
2022-11-23 21:01:41 +00:00
|
|
|
|
|
|
|
popd
|
|
|
|
|
2022-11-03 03:09:07 +00:00
|
|
|
EXIT /B 1
|
|
|
|
|
|
|
|
)
|
2022-10-19 20:44:13 +00:00
|
|
|
|
|
|
|
:delete
|
|
|
|
|
2022-11-03 03:09:07 +00:00
|
|
|
IF EXIST "help\" (
|
2022-10-19 20:44:13 +00:00
|
|
|
|
2022-11-03 03:09:07 +00:00
|
|
|
echo Deleting old help...
|
|
|
|
|
|
|
|
rmdir /s /q help
|
|
|
|
|
|
|
|
)
|
2022-10-19 20:44:13 +00:00
|
|
|
|
|
|
|
:create
|
|
|
|
|
|
|
|
echo Creating new help...
|
|
|
|
|
|
|
|
CALL venv\Scripts\activate.bat
|
|
|
|
|
|
|
|
pip install mkdocs-material
|
|
|
|
|
|
|
|
mkdocs build -d help
|
|
|
|
|
|
|
|
CALL venv\Scripts\deactivate.bat
|
|
|
|
|
|
|
|
SET /P done=Done!
|
2022-11-23 21:01:41 +00:00
|
|
|
|
|
|
|
popd
|