Skip to content

Commit 3f23cad

Browse files
committed
Update scripts
1 parent f0a8d1c commit 3f23cad

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

scripts/color.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,19 @@ def g(*args, **kwargs):
2727
raise e
2828
return g
2929

30+
@guard
3031
def error(*args, **kwargs):
3132
print(Colors.FAIL, end = "")
3233
print(*args, **kwargs)
3334
print(Colors.END, end = "")
3435

36+
@guard
3537
def success(*args, **kwargs):
3638
print(Colors.OKGREEN, end = "")
3739
print(*args, **kwargs)
3840
print(Colors.END, end = "")
3941

42+
@guard
4043
def warning(*args, **kwargs):
4144
print(Colors.WARNING, end = "")
4245
print(*args, **kwargs)

scripts/move_documents.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def check_dir(d, hint = ""):
1717
exit()
1818

1919
check_dir(build, "Hint: Are you sure you built the docs as described in BUILDING.md?")
20-
check_dir(target, "Hint: Are you sure you built the docs as described in BUILDING.md?")
20+
check_dir(target, "Hint: Are you sure you built the HTML files as described in BUILDING.md?")
2121
check_dir(docs, "Hint: Did you clone the repository succesfully?")
2222

2323
project = 'Yazbel Python Belgeleri'

0 commit comments

Comments
 (0)