We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7291909 commit dcbf31dCopy full SHA for dcbf31d
1 file changed
generate.py
@@ -1,11 +1,15 @@
1
import sys
2
3
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}' />")
+z = {}
7
+z["index"] = "https://github.com/libmath/math/issues/1"
+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
+)
12
-page("index", "https://github.com/libmath/math/issues/1")
-page("wiki", "https://github.com/libmath/z/wiki")
-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