We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 29a59cb commit b423b0cCopy full SHA for b423b0c
2 files changed
build.py
@@ -24,6 +24,9 @@ def is_static(self, filename):
24
return not filename.endswith(".html") and not filename.endswith(".css")
25
26
if __name__ == "__main__":
27
+ # Change working directory to the root of the project
28
+ os.chdir(os.path.dirname(os.path.abspath(__file__)))
29
+
30
searchpath="templates"
31
32
with open('data/categories.json') as json_file:
tools/build.sh
@@ -0,0 +1,3 @@
1
+#!/bin/bash
2
3
+python3 ../build.py
0 commit comments