Skip to content

Commit 6dd6b4c

Browse files
committed
style: apply Prettier
1 parent 647edd7 commit 6dd6b4c

File tree

3 files changed

+68
-127
lines changed

3 files changed

+68
-127
lines changed

.editorconfig

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ insert_final_newline = true
1010
max_line_length = 120
1111
trim_trailing_whitespace = true
1212

13-
[*.{yaml,yml}]
13+
[*.{md,yaml,yml}]
1414
indent_size = 2

.github/workflows/sync.yml

+40-33
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
push:
55
branches: [main]
66
schedule:
7-
- cron: '0 0 * * *'
7+
- cron: "0 0 * * *"
88
workflow_dispatch:
99

1010
concurrency:
@@ -17,35 +17,42 @@ jobs:
1717
runs-on: ubuntu-22.04
1818

1919
steps:
20-
- name: Checkout Repository
21-
uses: actions/checkout@v3
22-
23-
- name: Clone Dash Repositories
24-
run: |
25-
git clone https://github.com/Kapeli/feeds.git build/feeds
26-
git clone https://github.com/Kapeli/Dash-X-Platform-Resources.git build/resources
27-
28-
- name: Execute
29-
run: |
30-
sudo apt-get -y -qq --no-install-recommends install python3-png
31-
./process_dash_feeds.py \
32-
--manifest=docsets.json \
33-
--blacklist=blacklist.json \
34-
--resource-dir=build/resources \
35-
build/feeds \
36-
public/docsets.json
37-
38-
- name: Deploy to Netlify
39-
uses: nwtgck/actions-netlify@v2
40-
with:
41-
publish-dir: public
42-
production-branch: main
43-
netlify-config-path: netlify.toml
44-
alias: ${{ github.head_ref }}
45-
deploy-message: "Deployed with GitHub Actions"
46-
enable-pull-request-comment: false
47-
enable-commit-comment: false
48-
env:
49-
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
50-
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
51-
timeout-minutes: 1
20+
- name: Checkout Repository
21+
uses: actions/checkout@v3
22+
23+
- name: Clone Dash Repositories
24+
run: |
25+
git clone https://github.com/Kapeli/feeds.git build/feeds
26+
git clone https://github.com/Kapeli/Dash-X-Platform-Resources.git build/resources
27+
28+
- name: Execute
29+
run: |
30+
sudo apt-get -y -qq --no-install-recommends install python3-png
31+
./process_dash_feeds.py \
32+
--manifest=docsets.json \
33+
--blacklist=blacklist.json \
34+
--resource-dir=build/resources \
35+
build/feeds \
36+
public/docsets.json
37+
38+
- name: Deploy to Netlify
39+
uses: nwtgck/actions-netlify@v2
40+
with:
41+
publish-dir: public
42+
production-branch: main
43+
netlify-config-path: netlify.toml
44+
alias: ${{ github.head_ref }}
45+
deploy-message: "Deployed with GitHub Actions"
46+
enable-pull-request-comment: false
47+
enable-commit-comment: false
48+
env:
49+
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
50+
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
51+
timeout-minutes: 1
52+
53+
- name: Deploy to Vercel
54+
run: |
55+
npm install --global vercel@latest
56+
vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }}
57+
vercel vercel build --prod --token=${{ secrets.VERCEL_TOKEN }}
58+
vercel vercel deploy --prebuilt --prod --token=${{ secrets.VERCEL_TOKEN }}

docsets.json

+27-93
Original file line numberDiff line numberDiff line change
@@ -176,9 +176,7 @@
176176
"title": "Cocos3D",
177177
"iconName": "cocos2d",
178178
"extra": {
179-
"keywords": [
180-
"cocos3d"
181-
]
179+
"keywords": ["cocos3d"]
182180
}
183181
},
184182
"CodeIgniter": {
@@ -466,139 +464,111 @@
466464
"title": "Java SE6",
467465
"iconName": "java",
468466
"extra": {
469-
"keywords": [
470-
"java6"
471-
],
467+
"keywords": ["java6"],
472468
"isJavaScriptEnabled": true
473469
}
474470
},
475471
"Java_SE7": {
476472
"title": "Java SE7",
477473
"iconName": "java",
478474
"extra": {
479-
"keywords": [
480-
"java7"
481-
],
475+
"keywords": ["java7"],
482476
"isJavaScriptEnabled": true
483477
}
484478
},
485479
"Java_SE8": {
486480
"title": "Java SE8",
487481
"iconName": "java",
488482
"extra": {
489-
"keywords": [
490-
"java8"
491-
],
483+
"keywords": ["java8"],
492484
"isJavaScriptEnabled": true
493485
}
494486
},
495487
"Java_SE9": {
496488
"title": "Java SE9",
497489
"iconName": "java",
498490
"extra": {
499-
"keywords": [
500-
"java9"
501-
],
491+
"keywords": ["java9"],
502492
"isJavaScriptEnabled": true
503493
}
504494
},
505495
"Java_SE10": {
506496
"title": "Java SE10",
507497
"iconName": "java",
508498
"extra": {
509-
"keywords": [
510-
"java10"
511-
],
499+
"keywords": ["java10"],
512500
"isJavaScriptEnabled": true
513501
}
514502
},
515503
"Java_SE11": {
516504
"title": "Java SE11",
517505
"iconName": "java",
518506
"extra": {
519-
"keywords": [
520-
"java11"
521-
],
507+
"keywords": ["java11"],
522508
"isJavaScriptEnabled": true
523509
}
524510
},
525511
"Java_SE12": {
526512
"title": "Java SE12",
527513
"iconName": "java",
528514
"extra": {
529-
"keywords": [
530-
"java12"
531-
],
515+
"keywords": ["java12"],
532516
"isJavaScriptEnabled": true
533517
}
534518
},
535519
"Java_SE13": {
536520
"title": "Java SE13",
537521
"iconName": "java",
538522
"extra": {
539-
"keywords": [
540-
"java13"
541-
],
523+
"keywords": ["java13"],
542524
"isJavaScriptEnabled": true
543525
}
544526
},
545527
"Java_SE14": {
546528
"title": "Java SE14",
547529
"iconName": "java",
548530
"extra": {
549-
"keywords": [
550-
"java14"
551-
],
531+
"keywords": ["java14"],
552532
"isJavaScriptEnabled": true
553533
}
554534
},
555535
"Java_SE15": {
556536
"title": "Java SE15",
557537
"iconName": "java",
558538
"extra": {
559-
"keywords": [
560-
"java15"
561-
],
539+
"keywords": ["java15"],
562540
"isJavaScriptEnabled": true
563541
}
564542
},
565543
"Java_SE16": {
566544
"title": "Java SE16",
567545
"iconName": "java",
568546
"extra": {
569-
"keywords": [
570-
"java16"
571-
],
547+
"keywords": ["java16"],
572548
"isJavaScriptEnabled": true
573549
}
574550
},
575551
"Java_SE17": {
576552
"title": "Java SE17",
577553
"iconName": "java",
578554
"extra": {
579-
"keywords": [
580-
"java17"
581-
],
555+
"keywords": ["java17"],
582556
"isJavaScriptEnabled": true
583557
}
584558
},
585559
"Java_SE18": {
586560
"title": "Java SE18",
587561
"iconName": "java",
588562
"extra": {
589-
"keywords": [
590-
"java18"
591-
],
563+
"keywords": ["java18"],
592564
"isJavaScriptEnabled": true
593565
}
594566
},
595567
"Java_SE19": {
596568
"title": "Java SE19",
597569
"iconName": "java",
598570
"extra": {
599-
"keywords": [
600-
"java19"
601-
],
571+
"keywords": ["java19"],
602572
"isJavaScriptEnabled": true
603573
}
604574
},
@@ -856,51 +826,36 @@
856826
"title": "Python 2",
857827
"iconName": "python",
858828
"extra": {
859-
"keywords": [
860-
"python2",
861-
"python"
862-
]
829+
"keywords": ["python2", "python"]
863830
}
864831
},
865832
"Python_3": {
866833
"title": "Python 3",
867834
"iconName": "python",
868835
"extra": {
869-
"keywords": [
870-
"python3",
871-
"python"
872-
]
836+
"keywords": ["python3", "python"]
873837
}
874838
},
875839
"Qt_4": {
876840
"title": "Qt 4",
877841
"iconName": "qt",
878842
"extra": {
879843
"indexFilePath": "html/index.html",
880-
"keywords": [
881-
"qt4",
882-
"qt"
883-
]
844+
"keywords": ["qt4", "qt"]
884845
}
885846
},
886847
"Qt_5": {
887848
"title": "Qt 5",
888849
"iconName": "qt",
889850
"extra": {
890-
"keywords": [
891-
"qt5",
892-
"qt"
893-
]
851+
"keywords": ["qt5", "qt"]
894852
}
895853
},
896854
"Qt_6": {
897855
"title": "Qt 6",
898856
"iconName": "qt",
899857
"extra": {
900-
"keywords": [
901-
"qt6",
902-
"qt"
903-
]
858+
"keywords": ["qt6", "qt"]
904859
}
905860
},
906861
"R": {
@@ -937,76 +892,55 @@
937892
"title": "Ruby 2",
938893
"iconName": "ruby",
939894
"extra": {
940-
"keywords": [
941-
"ruby2",
942-
"ruby"
943-
],
895+
"keywords": ["ruby2", "ruby"],
944896
"isJavaScriptEnabled": true
945897
}
946898
},
947899
"Ruby_3": {
948900
"title": "Ruby 3",
949901
"iconName": "ruby",
950902
"extra": {
951-
"keywords": [
952-
"ruby3",
953-
"ruby"
954-
],
903+
"keywords": ["ruby3", "ruby"],
955904
"isJavaScriptEnabled": true
956905
}
957906
},
958907
"Ruby_on_Rails_3": {
959908
"title": "Ruby on Rails 3",
960909
"iconName": "rails",
961910
"extra": {
962-
"keywords": [
963-
"ror3",
964-
"ror"
965-
],
911+
"keywords": ["ror3", "ror"],
966912
"isJavaScriptEnabled": true
967913
}
968914
},
969915
"Ruby_on_Rails_4": {
970916
"title": "Ruby on Rails 4",
971917
"iconName": "rails",
972918
"extra": {
973-
"keywords": [
974-
"ror4",
975-
"ror"
976-
],
919+
"keywords": ["ror4", "ror"],
977920
"isJavaScriptEnabled": true
978921
}
979922
},
980923
"Ruby_on_Rails_5": {
981924
"title": "Ruby on Rails 5",
982925
"iconName": "rails",
983926
"extra": {
984-
"keywords": [
985-
"ror5",
986-
"ror"
987-
],
927+
"keywords": ["ror5", "ror"],
988928
"isJavaScriptEnabled": true
989929
}
990930
},
991931
"Ruby_on_Rails_6": {
992932
"title": "Ruby on Rails 6",
993933
"iconName": "rails",
994934
"extra": {
995-
"keywords": [
996-
"ror6",
997-
"ror"
998-
],
935+
"keywords": ["ror6", "ror"],
999936
"isJavaScriptEnabled": true
1000937
}
1001938
},
1002939
"Ruby_on_Rails_7": {
1003940
"title": "Ruby on Rails 7",
1004941
"iconName": "rails",
1005942
"extra": {
1006-
"keywords": [
1007-
"ror7",
1008-
"ror"
1009-
],
943+
"keywords": ["ror7", "ror"],
1010944
"isJavaScriptEnabled": true
1011945
}
1012946
},

0 commit comments

Comments
 (0)