-
Notifications
You must be signed in to change notification settings - Fork 31
Expand file tree
/
Copy pathbuild_doc.bat
More file actions
25 lines (25 loc) · 876 Bytes
/
build_doc.bat
File metadata and controls
25 lines (25 loc) · 876 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
@echo off
if defined WINPYDIRBASE (
call %WINPYDIRBASE%\scripts\env.bat
@echo ==============================================================================
@echo:
@echo Using WinPython from %WINPYDIRBASE%
@echo:
@echo ==============================================================================
@echo:
)
set PATH=C:\Program Files\7-Zip;C:\Program Files (x86)\7-Zip;C:\Program Files\HTML Help Workshop;C:\Program Files (x86)\HTML Help Workshop;%PATH%
set PYTHONPATH=%cd%
sphinx-build -b htmlhelp doc build\doc
hhc build\doc\PythonQwt.hhp
copy build\doc\PythonQwt.chm doc
7z a doc\PythonQwt.chm.zip doc\PythonQwt.chm
move doc\PythonQwt.chm .
sphinx-build -b html doc build\doc
@echo:
@echo ==============================================================================
@echo:
if not defined UNATTENDED (
@echo End of script
pause
)