Skip to content

Commit 8c1f25a

Browse files
committed
make_chm: hack width of index page
1 parent 8dcd778 commit 8c1f25a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

make_chm.sh

+3
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@ cd chmhelp
4949
find -iname '*.html' | xargs -P "${CPUS}" sed -i 's/<head>/<head><meta http-equiv="x-ua-compatible" content="ie=edge">/ig'
5050
cd ..
5151

52+
# width hack
53+
sed -i -e 's/&nbsp;&minus;&nbsp;<a href="cpp-thread-condition_variable.html">/<br><a href="cpp-thread-condition_variable.html">/' -e 's/&nbsp;&minus;&nbsp;<a href="cpp-memory-shared_ptr.html">/<br><a href="cpp-memory-shared_ptr.html">/' chmhelp/index.html
54+
5255
mkdir -p chm_temp
5356
for i in cppreference.{hhc,hhk,hhp}; do
5457
sed -i '/chmhelp\\首页.html/d' "${i}"

0 commit comments

Comments
 (0)