Skip to content

Commit 95e2d46

Browse files
authored
chore: Rename Twitter links/labels to X (facebook#10509)
1 parent a435fbd commit 95e2d46

File tree

95 files changed

+217
-218
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

95 files changed

+217
-218
lines changed

.eslintrc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -396,6 +396,7 @@ module.exports = {
396396
'@',
397397
'WebContainers',
398398
'Twitter',
399+
'X',
399400
'GitHub',
400401
'Dev.to',
401402
'1.x',

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ There are many ways to contribute to Docusaurus, and many of them do not involve
2121
- Read through the [Docusaurus docs](https://docusaurus.io/docs/installation). If you find anything that is confusing or can be improved, you can click "Edit this page" at the bottom of most docs, which takes you to the GitHub interface to make and propose changes.
2222
- Take a look at the [features requested](https://github.com/facebook/docusaurus/labels/feature) by others in the community and consider opening a pull request if you see something you want to work on.
2323

24-
Contributions are very welcome. If you think you need help planning your contribution, please ping us on Twitter at [@docusaurus](https://twitter.com/docusaurus) and let us know you are looking for a bit of help.
24+
Contributions are very welcome. If you think you need help planning your contribution, please ping us on X at [@docusaurus](https://x.com/docusaurus) and let us know you are looking for a bit of help.
2525

2626
### Join our Discord Channel
2727

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ We have a few channels for contact:
8080
- [Discord](https://discord.gg/docusaurus):
8181
- `#general` for those using Docusaurus.
8282
- `#contributors` for those wanting to contribute to the Docusaurus core.
83-
- [@docusaurus](https://x.com/docusaurus) X (Twitter)
83+
- [@docusaurus](https://x.com/docusaurus) X
8484
- [GitHub Issues](https://github.com/facebook/docusaurus/issues)
8585

8686
## Contributors

admin/publish.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ Create a separate branch/PR and run `yarn examples:generate`
218218

219219
### 9. Notify people about new release (optional but desirable)
220220

221-
After new release, it is cool to notify our users about this in the Discord chat (`#announcements` channel) and write summaries on Twitter using the following templates.
221+
After new release, it is cool to notify our users about this in the Discord chat (`#announcements` channel) and write summaries on X using the following templates.
222222

223223
For Discord:
224224

@@ -227,7 +227,7 @@ A new version %VER% is available now! 🎉
227227
See release notes at the following link https://github.com/facebook/docusaurus/releases/tag/%VER%
228228
```
229229

230-
For Twitter:
230+
For X:
231231

232232
```
233233
💥 A new version %VER% is available now! 💥

examples/classic-typescript/docusaurus.config.ts

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/classic/docusaurus.config.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/create-docusaurus/templates/classic-typescript/docusaurus.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,8 @@ const config: Config = {
110110
href: 'https://discordapp.com/invite/docusaurus',
111111
},
112112
{
113-
label: 'Twitter',
114-
href: 'https://twitter.com/docusaurus',
113+
label: 'X',
114+
href: 'https://x.com/docusaurus',
115115
},
116116
],
117117
},

packages/create-docusaurus/templates/classic/docusaurus.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,8 @@ const config = {
118118
href: 'https://discordapp.com/invite/docusaurus',
119119
},
120120
{
121-
label: 'Twitter',
122-
href: 'https://twitter.com/docusaurus',
121+
label: 'X',
122+
href: 'https://x.com/docusaurus',
123123
},
124124
],
125125
},

packages/docusaurus-plugin-pwa/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ function getSWBabelLoader() {
3131
{
3232
useBuiltIns: 'entry',
3333
corejs: '3',
34-
// See https://twitter.com/jeffposnick/status/1280223070876315649
34+
// See https://x.com/jeffposnick/status/1280223070876315649
3535
targets: 'chrome >= 56',
3636
},
3737
],

packages/docusaurus-plugin-pwa/src/sw.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ function parseSwParams() {
2020

2121
// Doc advises against dynamic imports in SW
2222
// https://developers.google.com/web/tools/workbox/guides/using-bundlers#code_splitting_and_dynamic_imports
23-
// https://twitter.com/sebastienlorber/status/1280155204575518720
23+
// https://x.com/sebastienlorber/status/1280155204575518720
2424
// but looks it's working fine as it's inlined by webpack, need to double check
2525
async function runSWCustomCode(params: {offlineMode: boolean; debug: boolean}) {
2626
if (process.env.PWA_SW_CUSTOM) {

0 commit comments

Comments
 (0)