Skip to content

Commit 4ee1eb7

Browse files
committed
build-docs.py: remove hard coded root path
Signed-off-by: ravindu644 <droidcasts@protonmail.com>
1 parent ccdaa42 commit 4ee1eb7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/scripts/build-docs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1056,7 +1056,7 @@ def generate_sitemap(root):
10561056
print("OK: sitemap.xml")
10571057

10581058
if __name__ == '__main__':
1059-
root = '/home/tharukrj/Projects/droidspaces.github.io'
1059+
root = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
10601060
docs_dir = os.path.join(root, 'docs/content')
10611061
out_dir = os.path.join(root, 'docs')
10621062

0 commit comments

Comments
 (0)