Debian Codegraph @

scripts/preview_ghpages.bat

raw
1 @echo off
2 REM This script was copied from PythonQwt project
3 REM ======================================================
4 REM Preview GitHub Pages documentation
5 REM ======================================================
6 REM Licensed under the terms of the MIT License
7 REM Copyright (c) 2020 Pierre Raybaut
8 REM (see PythonQwt LICENSE file for more details)
9 REM ======================================================
10
11 call %~dp0utils GetScriptPath SCRIPTPATH
12 call %FUNC% SetPythonPath
13 call %FUNC% UsePython
14
15 start http://localhost:8000
16
17 cd %DATALAB_GHPAGES%
18 %PYTHON% -m http.server
19
20 call %FUNC% EndOfScript