Skip to content

Commit 73bc2ea

Browse files
committed
chore(docs): convert 'Turbo' into 'Turborepo'
1 parent abda28e commit 73bc2ea

File tree

14 files changed

+43
-54
lines changed

14 files changed

+43
-54
lines changed

docs/site/app/(no-sidebar)/blog/not-found.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export default function NotFound(): JSX.Element {
1414
content={
1515
<div className="flex flex-col gap-12 mx-auto">
1616
<p className="text-center text-gray-500 dark:text-gray-400">
17-
The latest updates and releases from the Turbo team at Vercel.
17+
The latest updates and releases from the Turborepo team at Vercel.
1818
</p>
1919
{posts.map((post) => {
2020
if ("isExternal" in post.data) {

docs/site/app/(no-sidebar)/confirm/page.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ export function Confirm(): JSX.Element {
88
<h2 className="text-xl font-bold">Thanks so much!</h2>
99
<p>
1010
Keep an eye on your inbox for product updates and announcements
11-
from Turbo and Vercel.
11+
from Turborepo and Vercel.
1212
</p>{" "}
1313
<p>
1414
Thanks,
1515
<br />
16-
The Turbo Team
16+
The Turborepo Team
1717
</p>
1818
</div>
1919
</div>

docs/site/app/_components/footer.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,8 @@ function FooterContent(): JSX.Element {
172172
<div className="mt-12 xl:!mt-0">
173173
<FooterHeader>Subscribe to our newsletter</FooterHeader>
174174
<p className="mt-4 text-sm text-gray-600 dark:text-[#888888]">
175-
Subscribe to the Turbo newsletter and stay updated on new releases
176-
and features, guides, and case studies.
175+
Subscribe to the Turborepo newsletter and stay updated on new
176+
releases and features, guides, and case studies.
177177
</p>
178178
<SubmitForm />
179179
</div>

docs/site/app/_components/logos.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ export function TurborepoLogo({
134134
return (
135135
<svg
136136
className={className}
137-
aria-label="Turbo logomark"
137+
aria-label="Turborepo logomark"
138138
height="80"
139139
role="img"
140140
viewBox="0 0 40 40"

docs/site/content/extra/governance.mdx

+8-8
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,37 @@
11
---
22
title: Governance
3-
description: Turbo by Vercel is the next-generation build system for the web.
3+
description: Turborepo by Vercel is the next-generation build system for the web.
44
---
55

66
- Turborepo was created by the team at [Vercel](https://vercel.com) in 2020.
77
- Turbopack was created by the team at [Vercel](https://vercel.com) in 2022.
88

9-
The research and development of Turbo is led by the core team working full-time at Vercel. Turbo is a collaborative open-source effort to build tools for web developers.
9+
The research and development of Turborepo is led by the core team working full-time at Vercel. Turborepo is a collaborative open-source effort to build tools for web developers.
1010

1111
## Teams
1212

13-
**Core Team**: Turborepo and Turbopack teams at [Vercel](https://vercel.com) manage the direction of Turbo and leadership of the project.
13+
**Core Team**: Turborepo and Turbopack teams at [Vercel](https://vercel.com) manage the direction of Turborepo and leadership of the project.
1414

1515
**Documentation**: DevRel teams at [Vercel](https://vercel.com) manage documentation and learning platforms.
1616

1717
## Roadmap and RFC Process
1818

19-
Large architecture decisions and features start as a [Request for Comments (RFC)](https://github.com/vercel/turbo/discussions/categories/rfc) inside GitHub Discussions. The entire Turbo community is invited to be involved in the process and discuss the tradeoffs of proposed work.
19+
Large architecture decisions and features start as a [Request for Comments (RFC)](https://github.com/vercel/turbo/discussions/categories/rfc) inside GitHub Discussions. The entire Turborepo community is invited to be involved in the process and discuss the tradeoffs of proposed work.
2020

2121
This process is essential to ensure features are built together with the community and our collaborators. More minor changes including bug fixes and documentation improvements are still implemented through GitHub pull requests. However, for larger initiatives, we believe it's essential to follow the RFC process.
2222

2323
## Stability and release phases
2424

2525
- **Experimental**: Experimental features lack essential capabilities required to be ready for stability. The feature is considered to be under active development and is being built to transition into Beta.
26-
- **Beta**: Beta means the feature does not yet meet our quality standards for a stable release. There is also usually a need for more information or feedback from Turbo developers to validate this feature works as expected in a variety of environments.
26+
- **Beta**: Beta means the feature does not yet meet our quality standards for a stable release. There is also usually a need for more information or feedback from Turborepo developers to validate this feature works as expected in a variety of environments.
2727
- **Stable**: When the features reach stability, it is considered ready for use in production. APIs marked as stable will only change in a backward-compatible way unless there is a major release.
2828
- **Deprecated**: A feature is in the process of being removed. Deprecated features include documentation for existing users with the next steps and information on when to expect the feature to be removed.
2929

30-
## Turbo Support
30+
## Turborepo Support
3131

32-
For individual developers looking for free support on their Turbo repositories, they can ask questions in [GitHub Discussions](https://github.com/vercel/turbo/discussions) or in [Vercel Community's `#turborepo` tag](https://vercel.community/tag/turborepo).
32+
For individual developers looking for free support on their Turborepo repositories, they can ask questions in [GitHub Discussions](https://github.com/vercel/turbo/discussions) or in [Vercel Community's `#turborepo` tag](https://vercel.community/tag/turborepo).
3333

34-
For companies looking for paid support on their Turbo repositories, they can [contact the Turbo team at Vercel](https://vercel.com/contact) for more information.
34+
For companies looking for paid support on their Turborepo repositories, they can [contact the Turborepo team at Vercel](https://vercel.com/contact) for more information.
3535

3636
## Additional Resources
3737

docs/site/content/repo-docs/community.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Community
3-
description: Learn about the Turbo community.
3+
description: Learn about the Turborepo community.
44
---
55

66
With over 2 million weekly downloads, Turborepo has a large and active community of developers across the world. Here's how you can get involved.

docs/site/content/repo-docs/crafting-your-repository/understanding-your-repository.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ No tasks provided, here are some potential ones
5353

5454
## `turbo query`
5555

56-
If you wish to dig into your repository structure, since `2.2.0`, Turbo provides a GraphQL interface into your repository
56+
If you wish to dig into your repository structure, since `2.2.0`, Turborepo provides a GraphQL interface into your repository
5757
via `turbo query`. You can execute queries such as finding all packages that have a `test` task:
5858

5959
```bash title="Terminal"

docs/site/content/repo-docs/guides/ci-vendors/github-actions.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ The following steps exemplify how you could use [actions/cache](https://github.c
252252

253253
<Steps>
254254
<Step>
255-
Supply a package.json script that will run tasks using Turbo.
255+
Supply a package.json script that will run tasks using Turborepo.
256256

257257
Example `package.json` with a `build` script:
258258

docs/site/content/repo-docs/messages/invalid-env-prefix.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description: Learn more about errors with invalid environment variable prefixes
66
## Why this error occurred
77

88
When declaring environment variables in your `turbo.json`, you cannot prefix them with `$`. This
9-
was an old syntax for declaring a dependency on an environment variable that was deprecated in Turbo 1.5.
9+
was an old syntax for declaring a dependency on an environment variable that was deprecated in Turborepo 1.5.
1010

1111
```json title="./turbo.json"
1212
{

docs/site/content/repo-docs/reference/run.mdx

+5-5
Original file line numberDiff line numberDiff line change
@@ -369,11 +369,11 @@ By default, `turbo` will use `grouped` logs in CI environments and `stream` logs
369369
turbo run build --log-order=stream
370370
```
371371
372-
| Option | Description |
373-
| --------- | ----------------------------------------- |
374-
| `stream` | Show output as soon as it is available |
375-
| `grouped` | Group output by task |
376-
| `auto` | Turbo decides based on its own heuristics |
372+
| Option | Description |
373+
| --------- | --------------------------------------------- |
374+
| `stream` | Show output as soon as it is available |
375+
| `grouped` | Group output by task |
376+
| `auto` | Turborepo decides based on its own heuristics |
377377
378378
### `--log-prefix <option>`
379379

docs/site/content/repo-docs/reference/scan.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Enable faster tooling for your Turborepo locally with one, interactive command.
88
You'll be taken through a short series of steps to enable the fastest settings for your Turborepo. These optimizations include:
99

1010
- **Git FS Monitor**: `turbo` leans on Git to do file change discovery. Since we have to wait for `git` to tell us about changes, we can use [Git's built-in filesystem monitor](https://git-scm.com/docs/git-fsmonitor--daemon) to get those notifications sooner.
11-
- **Turbo Daemon**: Turborepo's daemon optimistically understands your repository in the background. By doing shared, common work that `turbo` will need to do when running tasks beforehand, `turbo` will run your tasks faster.
11+
- **Turborepo Daemon**: Turborepo's daemon optimistically understands your repository in the background. By doing shared, common work that `turbo` will need to do when running tasks beforehand, `turbo` will run your tasks faster.
1212
- **Remote Caching**: While Turborepo can cache your work locally, it can also share a cache across all of your machines. Enabling [Remote Caching](/repo/docs/core-concepts/remote-caching) makes your caching **multiplayer**, ensuring that you, your teammates, and your CI machines, never do the same work twice.
1313
- **Check `turbo` version**: We're always working towards making `turbo` better. To ensure you are using the latest version of Turborepo, we'll check your version and remind you to install `latest` if you aren't using it yet.
1414
- **Check for Turborepo LSP**:

docs/site/lib/constants.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
export const PRODUCT_SLOGANS = {
22
turbo:
3-
"Turbo is an incremental bundler and build system optimized for JavaScript and TypeScript, written in Rust.",
3+
"Turborepo is a build system optimized for JavaScript and TypeScript, written in Rust.",
44
repo: "The build system that makes ship happen.",
55
} as const;
66

docs/site/lib/create-metadata.ts

+2-13
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,7 @@ export const createMetadata = ({
4646
title,
4747
description,
4848
canonicalPath,
49-
product,
5049
}: {
51-
product?: Products;
5250
title?: string;
5351
description?: string;
5452
/** You do not need to supply the domain! `metadataBase` already does that for you. */
@@ -60,15 +58,7 @@ export const createMetadata = ({
6058
}
6159

6260
const formatTitle = (): string => {
63-
if (canonicalPath === "/repo") {
64-
return "Turborepo";
65-
}
66-
67-
if (product === "repo") {
68-
return `${title} | Turborepo`;
69-
}
70-
71-
return title ?? "Turbo";
61+
return title ?? "Turborepo";
7262
};
7363

7464
const formattedTitle = formatTitle();
@@ -78,11 +68,10 @@ export const createMetadata = ({
7868
title: formattedTitle,
7969
description,
8070
openGraph: {
81-
siteName: "Turbo",
71+
siteName: "Turborepo",
8272
images: [
8373
createOgImagePath({
8474
title: canonicalPath === "/" ? "" : title,
85-
product,
8675
canonicalPath,
8776
}),
8877
],

docs/site/scripts/generate-rss.cjs

+16-16
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
const { promises: fs, statSync } = require('node:fs');
2-
const path = require('node:path');
3-
const RSS = require('rss');
4-
const matter = require('gray-matter');
1+
const { promises: fs, statSync } = require("node:fs");
2+
const path = require("node:path");
3+
const RSS = require("rss");
4+
const matter = require("gray-matter");
55

66
function dateSortDesc(a, b) {
77
const date1 = new Date(a.data.date);
@@ -13,23 +13,23 @@ function dateSortDesc(a, b) {
1313

1414
async function generate() {
1515
const feed = new RSS({
16-
title: 'Turbo Blog',
17-
description: 'Turbo news, updates, and announcements.',
18-
site_url: 'https://turbo.build',
19-
feed_url: 'https://turbo.build/feed.xml',
20-
image_url: 'https://turbo.build/api/og',
16+
title: "Turborepo Blog",
17+
description: "Turborepo news, updates, and announcements.",
18+
site_url: "https://turbo.build",
19+
feed_url: "https://turbo.build/feed.xml",
20+
image_url: "https://turbo.build/api/og",
2121
});
2222

23-
const posts = await fs.readdir(path.join(__dirname, '..', 'content', 'blog'));
23+
const posts = await fs.readdir(path.join(__dirname, "..", "content", "blog"));
2424

2525
const promises = posts.map(async (post) => {
26-
if (post.startsWith('index.') || post.startsWith('_meta.json')) return;
26+
if (post.startsWith("index.") || post.startsWith("_meta.json")) return;
2727
const file = await fs.readFile(
28-
path.join(__dirname, '..', 'content', 'blog', post),
28+
path.join(__dirname, "..", "content", "blog", post)
2929
);
3030
const frontmatter = matter(file);
3131
if (frontmatter.data.href) return;
32-
return { ...frontmatter, slug: post.replace('.mdx', '') };
32+
return { ...frontmatter, slug: post.replace(".mdx", "") };
3333
});
3434

3535
const results = await Promise.all(promises);
@@ -41,7 +41,7 @@ async function generate() {
4141
for (const frontmatter of sortedData) {
4242
// get the og image size
4343
const stat = statSync(
44-
path.join(__dirname, '..', 'public', frontmatter.data.ogImage),
44+
path.join(__dirname, "..", "public", frontmatter.data.ogImage)
4545
);
4646
feed.item({
4747
title: frontmatter.data.title,
@@ -50,13 +50,13 @@ async function generate() {
5050
description: frontmatter.data.description,
5151
enclosure: {
5252
url: `https://turbo.build${frontmatter.data.ogImage}`, // intentionally omitting slash here
53-
type: 'image/png',
53+
type: "image/png",
5454
size: stat.size,
5555
},
5656
});
5757
}
5858

59-
await fs.writeFile('./public/feed.xml', feed.xml({ indent: true }));
59+
await fs.writeFile("./public/feed.xml", feed.xml({ indent: true }));
6060
}
6161

6262
generate();

0 commit comments

Comments
 (0)