Skip to content

Commit b34221c

Browse files
committed
generate-pages.py: fix bug in wheel name
1 parent 98ef2de commit b34221c

File tree

5 files changed

+7
-6
lines changed

5 files changed

+7
-6
lines changed

docs/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
<a href="lxml">lxml</a>
2020

21-
<a href="mitmproxy_wireguard">mitmproxy_wireguard</a>
21+
<a href="mitmproxy-wireguard">mitmproxy-wireguard</a>
2222

2323
<a href="ninja">ninja</a>
2424

@@ -36,9 +36,9 @@
3636

3737
<a href="pycryptodomex">pycryptodomex</a>
3838

39-
<a href="pydantic_core">pydantic_core</a>
39+
<a href="pydantic-core">pydantic-core</a>
4040

41-
<a href="scikit_learn">scikit_learn</a>
41+
<a href="scikit-learn">scikit-learn</a>
4242

4343
<a href="scipy">scipy</a>
4444

docs/mitmproxy_wireguard/index.html renamed to docs/mitmproxy-wireguard/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
body{margin:40px auto;max-width:650px;line-height:1.6;font-size:18px;color:#444;padding:0 10px}
66
h1,h2,h3{line-height:1.2}
77
</style>
8-
<title>mitmproxy_wireguard</title>
8+
<title>mitmproxy-wireguard</title>
99
</head>
1010
<body>
1111

docs/pydantic_core/index.html renamed to docs/pydantic-core/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
body{margin:40px auto;max-width:650px;line-height:1.6;font-size:18px;color:#444;padding:0 10px}
66
h1,h2,h3{line-height:1.2}
77
</style>
8-
<title>pydantic_core</title>
8+
<title>pydantic-core</title>
99
</head>
1010
<body>
1111

docs/scikit_learn/index.html renamed to docs/scikit-learn/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
body{margin:40px auto;max-width:650px;line-height:1.6;font-size:18px;color:#444;padding:0 10px}
66
h1,h2,h3{line-height:1.2}
77
</style>
8-
<title>scikit_learn</title>
8+
<title>scikit-learn</title>
99
</head>
1010
<body>
1111

generate-pages.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ def get_packages_dict(wheel_infos):
2626
res = defaultdict(list)
2727
for wheel_info in wheel_infos:
2828
package_name = wheel_info[0].split("-")[0]
29+
package_name = package_name.replace("_", "-")
2930
res[package_name].append(wheel_info)
3031
return res
3132

0 commit comments

Comments
 (0)