File tree 4 files changed +8
-4
lines changed
4 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 20
20
os .makedirs (dst_filepath )
21
21
print (dst_filepath )
22
22
print (dst_filepath + '/index.md' )
23
- with open (source + chapter , 'r' ) as source_file :
24
- with open (dst_filepath + '/index.md' , 'w' ) as output_file :
23
+ with open (source + chapter , 'r' , encoding = 'utf-8' ) as source_file :
24
+ with open (dst_filepath + '/index.md' , 'w' , encoding = 'utf-8' ) as output_file :
25
25
for line in source_file :
26
26
if any (keyword in line for keyword in ignores ):
27
27
continue
Original file line number Diff line number Diff line change 25
25
26
26
<div id =" footer" >
27
27
<p >
28
- <a href =" https://changkun.de" >欧长坤</a >版权所有 © ; 2016-<% - new Date ().getFullYear () %> ,
28
+ <a href =" https://changkun.de" >欧长坤</a > © ; 2016-<% - new Date ().getFullYear () %> 版权所有 ,
29
29
采用<a rel =" license" href =" http://creativecommons.org/licenses/by-nc-nd/4.0/" >知识共享署名-非商业性使用-禁止演绎 4.0 国际许可协议许可</a >,代码使用 <a href =" https://opensource.org/licenses/MIT" target =" _blank" >MIT</a > 协议开源。</a >
30
30
</p >
31
31
</div >
Original file line number Diff line number Diff line change 19
19
</div >
20
20
<div class =" footer" >
21
21
<p >
22
- <a href =" https://changkun.de" >欧长坤</a >版权所有 © ; 2016-<% - new Date ().getFullYear () %> ,
22
+ <a href =" https://changkun.de" >欧长坤</a > © ; 2016-<% - new Date ().getFullYear () %> 版权所有 ,
23
23
采用<a rel =" license" href =" http://creativecommons.org/licenses/by-nc-nd/4.0/" >知识共享署名-非商业性使用-禁止演绎 4.0 国际许可协议许可</a >,代码使用 <a href =" https://opensource.org/licenses/MIT" target =" _blank" >MIT</a > 协议开源。</a >
24
24
</p >
25
25
</div >
Original file line number Diff line number Diff line change 20
20
</ul >
21
21
</li >
22
22
23
+ <li class =" nav-dropdown-container about" >
24
+ <a class =" nav-link" href =" https://github.com/changkun/modern-cpp-tutorial" >GitHub</a >
25
+ </li >
26
+
23
27
<li class =" nav-dropdown-container language" >
24
28
<a class =" nav-link" >
25
29
<span style =" content : url (/modern-cpp/images/lang/cn.svg ); width : 15px ; height : 15px ; margin-right : 5px ; vertical-align : middle ; margin-bottom : 2px ;" ></span >
You can’t perform that action at this time.
0 commit comments