Skip to content

Commit 38599c8

Browse files
committed
Added CHM doc (included in doc package) download link to HTML index page
1 parent 469a54f commit 38599c8

File tree

5 files changed

+15
-6
lines changed

5 files changed

+15
-6
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.spyderproject
22
qwt-6.1.2
33
qwt/tests/demo.png
4-
python-qwtdoc.chm
4+
python-qwt.chm
55
doc.zip
66

77
# Created by https://www.gitignore.io/api/python

build_chm.bat

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
sphinx-build -b htmlhelp doc doctmp
2-
"C:\Program Files\HTML Help Workshop\hhc.exe" doctmp\python-qwtdoc.hhp
3-
"C:\Program Files (x86)\HTML Help Workshop\hhc.exe" doctmp\python-qwtdoc.hhp
4-
copy doctmp\python-qwtdoc.chm .
2+
"C:\Program Files\HTML Help Workshop\hhc.exe" doctmp\python-qwt.hhp
3+
"C:\Program Files (x86)\HTML Help Workshop\hhc.exe" doctmp\python-qwt.hhp
4+
copy doctmp\python-qwt.chm .
5+
7z a python-qwt.chm.zip python-qwt.chm
6+
del doctmp\python-qwt.chm
7+
del doc.zip
8+
sphinx-build -b html doc doctmp
9+
cd doctmp
10+
7z a -r ..\doc.zip *.*
11+
cd ..
512
rmdir /S /Q doctmp
6-
pause
13+
del python-qwt.chm.zip

build_doc_zip.bat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
del doc.zip
12
sphinx-build -b html doc doctmp
23
cd doctmp
34
7z a -r ..\doc.zip *.*

doc/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@
168168
#html_file_suffix = ''
169169

170170
# Output file base name for HTML help builder.
171-
htmlhelp_basename = 'python-qwtdoc'
171+
htmlhelp_basename = 'python-qwt'
172172

173173

174174
# -- Options for LaTeX output --------------------------------------------------

doc/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
.. automodule:: qwt
22

3+
Download :download:`CHM Documentation (unzip and open) <../python-qwt.chm.zip>`.
34

45
Contents:
56

0 commit comments

Comments
 (0)