Skip to content

Commit 2b6f613

Browse files
committed
change doc format from htmlhelp chm -> singlehtml
1 parent 86d1ac3 commit 2b6f613

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

appveyor.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,7 @@ after_build:
4545
- if "%configuration%"=="Release" cd "%APPVEYOR_BUILD_FOLDER%"\docs
4646
- if "%configuration%"=="Release" python -m pip install --upgrade pip
4747
- if "%configuration%"=="Release" pip install -U sphinx
48-
- if "%configuration%"=="Release" make.bat htmlhelp
49-
# hhc fails with exit code 1 also chm file is created and ok, unclear why, so workaround with forcing exit 0
50-
- if "%configuration%"=="Release" hhc.exe build\htmlhelp\PythonScript.hhp & exit 0
48+
- if "%configuration%"=="Release" make.bat singlehtml
5149

5250
- cd "%APPVEYOR_BUILD_FOLDER%"\installer
5351
- set WIX_PATH="C:\Program Files (x86)\WiX Toolset v3.11\bin"

installer/PythonScript.wxs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
<Directory Id="D_DocPythonScript" Name="PythonScript">
4444
<Component Id="C_PythonScript.chm" Guid="*">
4545
<RemoveFile Id="Remove_F_PythonScript.chm" Name="PythonScript.chm" On="install"/>
46-
<File Id="F_PythonScript.chm" KeyPath="yes" Name="PythonScript.chm" Source="$(var.baseDir)\docs\build\htmlhelp\PythonScript.chm" />
46+
<File Id="F_PythonScript.chm" KeyPath="yes" Name="PythonScript.chm" Source="$(var.baseDir)\docs\build\singlehtml\index.html" />
4747
</Component>
4848
</Directory>
4949
</Directory>
@@ -68,7 +68,7 @@
6868
<ComponentRef Id="C_python27.dll" />
6969
<ComponentGroupRef Id="CG_PythonLib" />
7070
</Feature>
71-
<Feature Id="FT_Help" Title="Help" AllowAdvertise="no" Description="CHM file with documentation for all the classes, methods and enums in PythonScript">
71+
<Feature Id="FT_Help" Title="Help" AllowAdvertise="no" Description="HTML files with documentation for all the classes, methods and enums in PythonScript">
7272
<ComponentRef Id="C_PythonScript.chm" />
7373
</Feature>
7474
<Feature Id="FT_SampleScripts" Title="Sample Scripts" AllowAdvertise="no" Description="Sample scripts to show basic usage">

installer/buildReleaseZips.bat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ copy ..\%PYTHONSCRIPTDLLDIR%\release\PythonScript.dll %INST_TEMP_DIR%\release\Fu
8383
copy ..\%PYTHONSCRIPTDLLDIR%\release\PythonScript.dll %INST_TEMP_DIR%\release\min\plugins
8484

8585
echo Copying Help
86-
copy ..\docs\build\htmlhelp\PythonScript.chm %INST_TEMP_DIR%\release\full\plugins\doc\PythonScript
87-
copy ..\docs\build\htmlhelp\PythonScript.chm %INST_TEMP_DIR%\release\min\plugins\doc\PythonScript
86+
xcopy /s /q ..\docs\build\singlehtml\*.* %INST_TEMP_DIR%\release\full\plugins\doc\PythonScript
87+
xcopy /s /q ..\docs\build\singlehtml\*.* %INST_TEMP_DIR%\release\min\plugins\doc\PythonScript
8888

8989
echo Copying Scripts
9090
xcopy /s /q ..\scripts\*.* %INST_TEMP_DIR%\release\full\plugins\PythonScript\scripts

0 commit comments

Comments
 (0)