File tree Expand file tree Collapse file tree 3 files changed +33
-0
lines changed Expand file tree Collapse file tree 3 files changed +33
-0
lines changed Original file line number Diff line number Diff line change
1
+ stompjs :
2
+ name : " StompJS"
3
+ avatar : # path of avatar image, e.g. "/assets/images/bio-photo.jpg"
4
+ bio : " STOMP library for JavaScript/TypeScript."
5
+ location :
6
+ email :
7
+ links :
8
+ - label : " stompjs"
9
+ icon : " fab fa-fw fa-github"
10
+ url : " https://github.com/stomp-js/stompjs"
11
+ - label : " rx-stomp"
12
+ icon : " fab fa-fw fa-github"
13
+ url : " https://github.com/stomp-js/rx-stomp"
14
+ - label : " ng2-stompjs"
15
+ icon : " fab fa-fw fa-github"
16
+ url : " https://github.com/stomp-js/ng2-stompjs"
Original file line number Diff line number Diff line change @@ -27,6 +27,9 @@ APP_TITLE=`./app-title.rb`
27
27
# It will be used by Jekyll pages to show current versions
28
28
./pkg-versions.rb > ../_data/versions/$BRANCH .json
29
29
30
+ # Update versions to be shown in the sidebar
31
+ ./update-authors.rb
32
+
30
33
# Adjust the README depending on the branch
31
34
sed -e " 3i$MESSAGE \n" README-src.md > README.md
32
35
Original file line number Diff line number Diff line change
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'yaml'
4
+ require 'json'
5
+
6
+ authors = YAML . load ( File . read ( 'authors-src.yml' ) )
7
+ master = JSON . parse ( File . read ( '../_data/versions/master.json' ) )
8
+
9
+ authors [ 'stompjs' ] [ 'links' ] . each do |link |
10
+ x = link [ 'label' ]
11
+ link [ 'label' ] = "#{ x } @#{ master [ x ] } "
12
+ end
13
+
14
+ File . write ( '../_data/authors.yml' , YAML . dump ( authors ) )
You can’t perform that action at this time.
0 commit comments