Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
BaseMax committed Dec 7, 2024
1 parent 327ba12 commit 35bddd4
Show file tree
Hide file tree
Showing 10 changed files with 21 additions and 11 deletions.
23 changes: 12 additions & 11 deletions config/sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -582,17 +582,18 @@ def get_a_attr(attrs, attr_id):

if __name__ == "__main__":
print("Start...")

if len(FILES) == 0:
print("No files to sync")

for file in FILES:
print(file)
sync_file(file)
convert_to_json(file)

docs = generate_document()
f = open("docs.md", "w", encoding="utf-8")
f.write(docs)
f.close()
else:
for file in FILES:
print(file)
sync_file(file)
convert_to_json(file)
docs = generate_document()
f = open("docs.md", "w", encoding="utf-8")
f.write(docs)
f.close()

print("Done.")
print("Done.")
1 change: 1 addition & 0 deletions src/generated-config/ast_block_type.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ ADD_BLOCK_TYPE(AST_BLOCK_TYPE_ERROR, "ERROR", "error")
// ----------- END AUTO GENERATED ----------- //



1 change: 1 addition & 0 deletions src/generated-config/ast_layout_attribute_style_global.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ ADD_LAYOUT_ATTRIBUTE_STYLE_GLOBAL_VALUE(unset, "['حذف شده']")
// ----------- END AUTO GENERATED ----------- //



Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,4 @@ ADD_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE_EMPT
// ----------- END AUTO GENERATED ----------- //



1 change: 1 addition & 0 deletions src/generated-config/ast_layout_attribute_style_type.h
Original file line number Diff line number Diff line change
Expand Up @@ -261,3 +261,4 @@ ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_HIDE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_ERROR, "ERR
// ----------- END AUTO GENERATED ----------- //



1 change: 1 addition & 0 deletions src/generated-config/ast_layout_attribute_style_value.h
Original file line number Diff line number Diff line change
Expand Up @@ -727,3 +727,4 @@ const ast_layout_attribute_style_pair_t ast_layout_allowed_style_list_zoom[] = {
#endif



1 change: 1 addition & 0 deletions src/generated-config/ast_layout_attribute_type.h
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,4 @@ ADD_LAYOUT_ATTRIBUTE_TYPE(AST_LAYOUT_ATTRIBUTE_TYPE_RESPONSIVE_MIN_HEIGHT, "RESP
// ----------- END AUTO GENERATED ----------- //



1 change: 1 addition & 0 deletions src/generated-config/ast_layout_type.h
Original file line number Diff line number Diff line change
Expand Up @@ -131,3 +131,4 @@ ADD_LAYOUT_TYPE_REPEAT(AST_LAYOUT_TYPE_MEDIA, "MEDIA", "media", "@media", "وا
// ----------- END AUTO GENERATED ----------- //



1 change: 1 addition & 0 deletions src/generated-config/ast_layout_type_attrs.h
Original file line number Diff line number Diff line change
Expand Up @@ -169,3 +169,4 @@ else if (attribute->parent_node_type == AST_LAYOUT_TYPE_MEDIA) {
// ----------- END AUTO GENERATED ----------- //



1 change: 1 addition & 0 deletions src/generated-config/ast_type.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@ ADD_TYPE(AST_TYPE_ERROR, "ERROR", "error")
// ----------- END AUTO GENERATED ----------- //



0 comments on commit 35bddd4

Please sign in to comment.