Skip to content

Commit dcbf31d

Browse files
committed
Add mods
1 parent 7291909 commit dcbf31d

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

generate.py

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
import sys
22

33

4-
def page(slug, url):
5-
with open(slug + ".html", "w") as sys.stdout:
6-
print(f"<meta http-equiv='refresh' content='0;url={url}' />")
4+
z = {}
75

6+
z["index"] = "https://github.com/libmath/math/issues/1"
7+
z["wiki"] = "https://github.com/libmath/z/wiki"
8+
z["stack"] = "https://github.com/libmath/math/issues/1"
9+
z["mods"] = (
10+
"https://docs.google.com/spreadsheets/d/1_6HvZEyN8qOcKPjzuB2e7hyQtPOQKUUcr2r0WQdD99k/edit?gid=1740291173"
11+
)
812

9-
page("index", "https://github.com/libmath/math/issues/1")
10-
page("wiki", "https://github.com/libmath/z/wiki")
11-
page("stack", "https://github.com/libmath/math/issues/1")
13+
for slug, url in z.items():
14+
with open(slug + ".html", "w") as sys.stdout:
15+
print(f"<meta http-equiv='refresh' content='0;url={url}' />")

0 commit comments

Comments
 (0)