File tree 1 file changed +2
-1
lines changed
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 4
4
5
5
html_tmpl = """<html><!-- Online page at {url} -->
6
6
<head>
7
+ <meta charset="UTF-8">
7
8
<link rel="stylesheet" type="text/css" href="../style.css"/>
8
9
</head>
9
10
<body>
72
73
73
74
# Generate tldr pages index.html
74
75
with open (os .path .join (doc_path , "index.html" ), "w+" ) as html :
75
- html .write ('<html><!-- Online page at ' + online_url + ' --><head></head><body><h1>TLDR pages Docset</h1><br/>powered by <a href="http://tldr-pages.github.io">tldr-pages.github.io/</a>' )
76
+ html .write ('<html><!-- Online page at ' + online_url + ' --><head><meta charset="UTF-8">< /head><body><h1>TLDR pages Docset</h1><br/>powered by <a href="http://tldr-pages.github.io">tldr-pages.github.io/</a>' )
76
77
for dir in sorted (os .listdir (doc_path )):
77
78
if os .path .isdir (os .path .join (doc_path , dir )):
78
79
html .write ("<h2>%s</h2><ul>" % dir )
You can’t perform that action at this time.
0 commit comments