Skip to content

Commit 85ea3c2

Browse files
committed
Remove references to twitter
1 parent 36c738e commit 85ea3c2

24 files changed

+1
-95
lines changed

crawl/opencollective.js

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@
1313
* Name.
1414
* @property {string} slug
1515
* Slug.
16-
* @property {string | undefined} twitterHandle
17-
* Twitter username.
1816
* @property {string | undefined} website
1917
* Website.
2018
*
@@ -59,8 +57,6 @@
5957
* Whether it’s spam.
6058
* @property {number} total
6159
* Total donations.
62-
* @property {string | undefined} [twitter]
63-
* Twitter username.
6460
* @property {string | undefined} [url]
6561
* URL.
6662
*/
@@ -82,7 +78,6 @@ const endpoint = 'https://api.opencollective.com/graphql/v2'
8278
const variables = {slug: 'unified'}
8379

8480
const ghBase = 'https://github.com/'
85-
const twBase = 'https://twitter.com/'
8681

8782
// To do: paginate.
8883
const query = `query($slug: String) {
@@ -96,7 +91,6 @@ const query = `query($slug: String) {
9691
imageUrl
9792
name
9893
slug
99-
twitterHandle
10094
website
10195
}
10296
totalDonations { value }
@@ -137,13 +131,12 @@ const members = []
137131
for (const d of collectiveBody.data.collective.members.nodes) {
138132
const oc = d.account.slug
139133
const github = d.account.githubHandle || undefined
140-
const twitter = d.account.twitterHandle || undefined
141134
let url = d.account.website || undefined
142135
const info = control.find(function (d) {
143136
return d.oc === oc
144137
})
145138

146-
if (url === ghBase + github || url === twBase + twitter) {
139+
if (url === ghBase + github) {
147140
url = undefined
148141
}
149142

@@ -163,7 +156,6 @@ for (const d of collectiveBody.data.collective.members.nodes) {
163156
oc,
164157
spam: !info || info.spam,
165158
total: d.totalDonations.value,
166-
twitter,
167159
url
168160
}
169161

doc/learn/create-a-plugin.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
---
22
archive: true
33
authorGithub: wooorm
4-
authorTwitter: wooorm
54
author: Titus Wormer
65
description: Guide that shows how to create a plugin
76
group: guide

doc/learn/create-a-rehype-plugin.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
---
22
authorGithub: wooorm
3-
authorTwitter: wooorm
43
author: Titus Wormer
54
description: Guide that shows how to create a rehype plugin
65
group: guide

doc/learn/create-a-remark-plugin.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
---
22
authorGithub: wooorm
3-
authorTwitter: wooorm
43
author: Titus Wormer
54
description: Guide that shows how to create a remark plugin
65
group: guide

doc/learn/create-a-retext-plugin.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
---
22
authorGithub: wooorm
3-
authorTwitter: wooorm
43
author: Titus Wormer
54
description: Guide that shows how to create a retext plugin
65
group: guide

doc/learn/create-an-editor.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
---
22
authorGithub: wooorm
3-
authorTwitter: wooorm
43
author: Titus Wormer
54
description: Guide that shows how to create a fancy app ✨
65
group: guide

doc/learn/find-node.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
---
22
authorGithub: Murderlon
3-
authorTwitter: Murderlon
43
author: Merlijn Vos
54
description: How to find a node in any unist syntax tree
65
group: recipe

doc/learn/introduction-to-syntax-trees.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
---
22
authorGithub: wooorm
3-
authorTwitter: wooorm
43
author: Titus Wormer
54
description: Guide that shows the basics of syntax trees (ASTs)
65
group: guide

doc/learn/introduction-to-unified.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
---
22
authorGithub: Murderlon
3-
authorTwitter: Murderlon
43
author: Merlijn Vos
54
description: Guide that summarizes the what and why of unified
65
group: guide

doc/learn/publish-plugin.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
---
22
authorGithub: wooorm
3-
authorTwitter: wooorm
43
author: Titus Wormer
54
description: Guide that shows how to share a plugin with the world.
65
group: guide

0 commit comments

Comments
 (0)