Skip to content

Commit f02b95e

Browse files
committed
Moved build.py to root dir
1 parent f52f45b commit f02b95e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tools/build.py renamed to build.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ def is_static(self, filename):
2121
return not filename.endswith(".html") and not filename.endswith(".css")
2222

2323
if __name__ == "__main__":
24-
searchpath="../templates"
24+
searchpath="templates"
2525

26-
with open('../data/categories.json') as json_file:
26+
with open('data/categories.json') as json_file:
2727
categories = json.load(json_file)
2828

2929
env_globals={
@@ -40,7 +40,7 @@ def is_static(self, filename):
4040
)
4141
environment.globals.update(env_globals)
4242

43-
site = MySite(environment=environment, outpath="../public", searchpath=searchpath, encoding='utf8')#, logger=logger)
43+
site = MySite(environment=environment, outpath="public", searchpath=searchpath, encoding='utf8')#, logger=logger)
4444

4545
# enable automatic reloading
4646
site.render(use_reloader=False) #True)

0 commit comments

Comments
 (0)