From 701842c5d4d15a46996f3d24f2ef5f1b9def710b Mon Sep 17 00:00:00 2001 From: dht Date: Wed, 8 Jun 2022 08:55:02 +0300 Subject: [PATCH 1/2] docs: clickable localhost links --- examples/classic-typescript/docs/intro.md | 2 +- .../docs/tutorial-basics/create-a-blog-post.md | 2 +- .../docs/tutorial-basics/create-a-document.md | 2 +- .../classic-typescript/docs/tutorial-basics/create-a-page.md | 4 ++-- .../docs/tutorial-basics/deploy-your-site.md | 2 +- .../docs/tutorial-extras/translate-your-site.md | 2 +- examples/classic/docs/intro.md | 2 +- examples/classic/docs/tutorial-basics/create-a-blog-post.md | 2 +- examples/classic/docs/tutorial-basics/create-a-document.md | 2 +- examples/classic/docs/tutorial-basics/create-a-page.md | 4 ++-- examples/classic/docs/tutorial-basics/deploy-your-site.md | 2 +- examples/classic/docs/tutorial-extras/translate-your-site.md | 2 +- examples/facebook/docs/intro.md | 2 +- examples/facebook/docs/tutorial-basics/create-a-blog-post.md | 2 +- examples/facebook/docs/tutorial-basics/create-a-document.md | 2 +- examples/facebook/docs/tutorial-basics/create-a-page.md | 4 ++-- examples/facebook/docs/tutorial-basics/deploy-your-site.md | 2 +- examples/facebook/docs/tutorial-extras/translate-your-site.md | 2 +- .../shared/docs/tutorial-basics/create-a-blog-post.md | 2 +- .../shared/docs/tutorial-basics/create-a-document.md | 2 +- .../templates/shared/docs/tutorial-basics/create-a-page.md | 4 ++-- .../templates/shared/docs/tutorial-basics/deploy-your-site.md | 2 +- .../shared/docs/tutorial-extras/translate-your-site.md | 2 +- website/docs/guides/creating-pages.md | 4 ++-- website/docs/i18n/i18n-crowdin.mdx | 2 +- website/docs/i18n/i18n-tutorial.md | 2 +- website/docs/introduction.md | 2 +- .../version-2.0.0-beta.20/guides/creating-pages.md | 4 ++-- .../version-2.0.0-beta.20/i18n/i18n-crowdin.mdx | 2 +- .../version-2.0.0-beta.20/i18n/i18n-tutorial.md | 2 +- website/versioned_docs/version-2.0.0-beta.20/introduction.md | 2 +- .../version-2.0.0-beta.21/guides/creating-pages.md | 4 ++-- .../version-2.0.0-beta.21/i18n/i18n-crowdin.mdx | 2 +- .../version-2.0.0-beta.21/i18n/i18n-tutorial.md | 2 +- website/versioned_docs/version-2.0.0-beta.21/introduction.md | 2 +- 35 files changed, 42 insertions(+), 42 deletions(-) diff --git a/examples/classic-typescript/docs/intro.md b/examples/classic-typescript/docs/intro.md index 500260230bfc..18f6af1ea8dc 100644 --- a/examples/classic-typescript/docs/intro.md +++ b/examples/classic-typescript/docs/intro.md @@ -42,6 +42,6 @@ npm run start The `cd` command changes the directory you're working with. In order to work with your newly created Docusaurus site, you'll need to navigate the terminal there. -The `npm run start` command builds your website locally and serves it through a development server, ready for you to view at http://localhost:3000/. +The `npm run start` command builds your website locally and serves it through a development server, ready for you to view at [http://localhost:3000/](http://localhost:3000/). Open `docs/intro.md` (this page) and edit some lines: the site **reloads automatically** and displays your changes. diff --git a/examples/classic-typescript/docs/tutorial-basics/create-a-blog-post.md b/examples/classic-typescript/docs/tutorial-basics/create-a-blog-post.md index 0d50aaf31631..ea472bbaf871 100644 --- a/examples/classic-typescript/docs/tutorial-basics/create-a-blog-post.md +++ b/examples/classic-typescript/docs/tutorial-basics/create-a-blog-post.md @@ -31,4 +31,4 @@ Congratulations, you have made your first post! Feel free to play around and edit this post as much you like. ``` -A new blog post is now available at `http://localhost:3000/blog/greetings`. +A new blog post is now available at [http://localhost:3000/blog/greetings](http://localhost:3000/blog/greetings). diff --git a/examples/classic-typescript/docs/tutorial-basics/create-a-document.md b/examples/classic-typescript/docs/tutorial-basics/create-a-document.md index a9bb9a4140b1..06aa83ef4c7a 100644 --- a/examples/classic-typescript/docs/tutorial-basics/create-a-document.md +++ b/examples/classic-typescript/docs/tutorial-basics/create-a-document.md @@ -20,7 +20,7 @@ Create a markdown file at `docs/hello.md`: This is my **first Docusaurus document**! ``` -A new document is now available at `http://localhost:3000/docs/hello`. +A new document is now available at [http://localhost:3000/docs/hello](http://localhost:3000/docs/hello). ## Configure the Sidebar diff --git a/examples/classic-typescript/docs/tutorial-basics/create-a-page.md b/examples/classic-typescript/docs/tutorial-basics/create-a-page.md index e112b0059c26..c1e84f85caba 100644 --- a/examples/classic-typescript/docs/tutorial-basics/create-a-page.md +++ b/examples/classic-typescript/docs/tutorial-basics/create-a-page.md @@ -28,7 +28,7 @@ export default function MyReactPage() { } ``` -A new page is now available at `http://localhost:3000/my-react-page`. +A new page is now available at [http://localhost:3000/my-react-page](http://localhost:3000/my-react-page). ## Create your first Markdown Page @@ -40,4 +40,4 @@ Create a file at `src/pages/my-markdown-page.md`: This is a Markdown page ``` -A new page is now available at `http://localhost:3000/my-markdown-page`. +A new page is now available at [http://localhost:3000/my-markdown-page](http://localhost:3000/my-markdown-page). diff --git a/examples/classic-typescript/docs/tutorial-basics/deploy-your-site.md b/examples/classic-typescript/docs/tutorial-basics/deploy-your-site.md index 492eae0276b4..1c50ee063ef4 100644 --- a/examples/classic-typescript/docs/tutorial-basics/deploy-your-site.md +++ b/examples/classic-typescript/docs/tutorial-basics/deploy-your-site.md @@ -26,6 +26,6 @@ Test your production build locally: npm run serve ``` -The `build` folder is now served at `http://localhost:3000/`. +The `build` folder is now served at [http://localhost:3000/](http://localhost:3000/). You can now deploy the `build` folder **almost anywhere** easily, **for free** or very small cost (read the **[Deployment Guide](https://docusaurus.io/docs/deployment)**). diff --git a/examples/classic-typescript/docs/tutorial-extras/translate-your-site.md b/examples/classic-typescript/docs/tutorial-extras/translate-your-site.md index da2b8a365f48..caeaffb05548 100644 --- a/examples/classic-typescript/docs/tutorial-extras/translate-your-site.md +++ b/examples/classic-typescript/docs/tutorial-extras/translate-your-site.md @@ -39,7 +39,7 @@ Start your site on the French locale: npm run start -- --locale fr ``` -Your localized site is accessible at `http://localhost:3000/fr/` and the `Getting Started` page is translated. +Your localized site is accessible at [http://localhost:3000/fr/](http://localhost:3000/fr/) and the `Getting Started` page is translated. :::caution diff --git a/examples/classic/docs/intro.md b/examples/classic/docs/intro.md index 500260230bfc..18f6af1ea8dc 100644 --- a/examples/classic/docs/intro.md +++ b/examples/classic/docs/intro.md @@ -42,6 +42,6 @@ npm run start The `cd` command changes the directory you're working with. In order to work with your newly created Docusaurus site, you'll need to navigate the terminal there. -The `npm run start` command builds your website locally and serves it through a development server, ready for you to view at http://localhost:3000/. +The `npm run start` command builds your website locally and serves it through a development server, ready for you to view at [http://localhost:3000/](http://localhost:3000/). Open `docs/intro.md` (this page) and edit some lines: the site **reloads automatically** and displays your changes. diff --git a/examples/classic/docs/tutorial-basics/create-a-blog-post.md b/examples/classic/docs/tutorial-basics/create-a-blog-post.md index 0d50aaf31631..ea472bbaf871 100644 --- a/examples/classic/docs/tutorial-basics/create-a-blog-post.md +++ b/examples/classic/docs/tutorial-basics/create-a-blog-post.md @@ -31,4 +31,4 @@ Congratulations, you have made your first post! Feel free to play around and edit this post as much you like. ``` -A new blog post is now available at `http://localhost:3000/blog/greetings`. +A new blog post is now available at [http://localhost:3000/blog/greetings](http://localhost:3000/blog/greetings). diff --git a/examples/classic/docs/tutorial-basics/create-a-document.md b/examples/classic/docs/tutorial-basics/create-a-document.md index a9bb9a4140b1..06aa83ef4c7a 100644 --- a/examples/classic/docs/tutorial-basics/create-a-document.md +++ b/examples/classic/docs/tutorial-basics/create-a-document.md @@ -20,7 +20,7 @@ Create a markdown file at `docs/hello.md`: This is my **first Docusaurus document**! ``` -A new document is now available at `http://localhost:3000/docs/hello`. +A new document is now available at [http://localhost:3000/docs/hello](http://localhost:3000/docs/hello). ## Configure the Sidebar diff --git a/examples/classic/docs/tutorial-basics/create-a-page.md b/examples/classic/docs/tutorial-basics/create-a-page.md index e112b0059c26..c1e84f85caba 100644 --- a/examples/classic/docs/tutorial-basics/create-a-page.md +++ b/examples/classic/docs/tutorial-basics/create-a-page.md @@ -28,7 +28,7 @@ export default function MyReactPage() { } ``` -A new page is now available at `http://localhost:3000/my-react-page`. +A new page is now available at [http://localhost:3000/my-react-page](http://localhost:3000/my-react-page). ## Create your first Markdown Page @@ -40,4 +40,4 @@ Create a file at `src/pages/my-markdown-page.md`: This is a Markdown page ``` -A new page is now available at `http://localhost:3000/my-markdown-page`. +A new page is now available at [http://localhost:3000/my-markdown-page](http://localhost:3000/my-markdown-page). diff --git a/examples/classic/docs/tutorial-basics/deploy-your-site.md b/examples/classic/docs/tutorial-basics/deploy-your-site.md index 492eae0276b4..1c50ee063ef4 100644 --- a/examples/classic/docs/tutorial-basics/deploy-your-site.md +++ b/examples/classic/docs/tutorial-basics/deploy-your-site.md @@ -26,6 +26,6 @@ Test your production build locally: npm run serve ``` -The `build` folder is now served at `http://localhost:3000/`. +The `build` folder is now served at [http://localhost:3000/](http://localhost:3000/). You can now deploy the `build` folder **almost anywhere** easily, **for free** or very small cost (read the **[Deployment Guide](https://docusaurus.io/docs/deployment)**). diff --git a/examples/classic/docs/tutorial-extras/translate-your-site.md b/examples/classic/docs/tutorial-extras/translate-your-site.md index da2b8a365f48..caeaffb05548 100644 --- a/examples/classic/docs/tutorial-extras/translate-your-site.md +++ b/examples/classic/docs/tutorial-extras/translate-your-site.md @@ -39,7 +39,7 @@ Start your site on the French locale: npm run start -- --locale fr ``` -Your localized site is accessible at `http://localhost:3000/fr/` and the `Getting Started` page is translated. +Your localized site is accessible at [http://localhost:3000/fr/](http://localhost:3000/fr/) and the `Getting Started` page is translated. :::caution diff --git a/examples/facebook/docs/intro.md b/examples/facebook/docs/intro.md index 500260230bfc..18f6af1ea8dc 100644 --- a/examples/facebook/docs/intro.md +++ b/examples/facebook/docs/intro.md @@ -42,6 +42,6 @@ npm run start The `cd` command changes the directory you're working with. In order to work with your newly created Docusaurus site, you'll need to navigate the terminal there. -The `npm run start` command builds your website locally and serves it through a development server, ready for you to view at http://localhost:3000/. +The `npm run start` command builds your website locally and serves it through a development server, ready for you to view at [http://localhost:3000/](http://localhost:3000/). Open `docs/intro.md` (this page) and edit some lines: the site **reloads automatically** and displays your changes. diff --git a/examples/facebook/docs/tutorial-basics/create-a-blog-post.md b/examples/facebook/docs/tutorial-basics/create-a-blog-post.md index 0d50aaf31631..ea472bbaf871 100644 --- a/examples/facebook/docs/tutorial-basics/create-a-blog-post.md +++ b/examples/facebook/docs/tutorial-basics/create-a-blog-post.md @@ -31,4 +31,4 @@ Congratulations, you have made your first post! Feel free to play around and edit this post as much you like. ``` -A new blog post is now available at `http://localhost:3000/blog/greetings`. +A new blog post is now available at [http://localhost:3000/blog/greetings](http://localhost:3000/blog/greetings). diff --git a/examples/facebook/docs/tutorial-basics/create-a-document.md b/examples/facebook/docs/tutorial-basics/create-a-document.md index a9bb9a4140b1..06aa83ef4c7a 100644 --- a/examples/facebook/docs/tutorial-basics/create-a-document.md +++ b/examples/facebook/docs/tutorial-basics/create-a-document.md @@ -20,7 +20,7 @@ Create a markdown file at `docs/hello.md`: This is my **first Docusaurus document**! ``` -A new document is now available at `http://localhost:3000/docs/hello`. +A new document is now available at [http://localhost:3000/docs/hello](http://localhost:3000/docs/hello). ## Configure the Sidebar diff --git a/examples/facebook/docs/tutorial-basics/create-a-page.md b/examples/facebook/docs/tutorial-basics/create-a-page.md index e112b0059c26..c1e84f85caba 100644 --- a/examples/facebook/docs/tutorial-basics/create-a-page.md +++ b/examples/facebook/docs/tutorial-basics/create-a-page.md @@ -28,7 +28,7 @@ export default function MyReactPage() { } ``` -A new page is now available at `http://localhost:3000/my-react-page`. +A new page is now available at [http://localhost:3000/my-react-page](http://localhost:3000/my-react-page). ## Create your first Markdown Page @@ -40,4 +40,4 @@ Create a file at `src/pages/my-markdown-page.md`: This is a Markdown page ``` -A new page is now available at `http://localhost:3000/my-markdown-page`. +A new page is now available at [http://localhost:3000/my-markdown-page](http://localhost:3000/my-markdown-page). diff --git a/examples/facebook/docs/tutorial-basics/deploy-your-site.md b/examples/facebook/docs/tutorial-basics/deploy-your-site.md index 492eae0276b4..1c50ee063ef4 100644 --- a/examples/facebook/docs/tutorial-basics/deploy-your-site.md +++ b/examples/facebook/docs/tutorial-basics/deploy-your-site.md @@ -26,6 +26,6 @@ Test your production build locally: npm run serve ``` -The `build` folder is now served at `http://localhost:3000/`. +The `build` folder is now served at [http://localhost:3000/](http://localhost:3000/). You can now deploy the `build` folder **almost anywhere** easily, **for free** or very small cost (read the **[Deployment Guide](https://docusaurus.io/docs/deployment)**). diff --git a/examples/facebook/docs/tutorial-extras/translate-your-site.md b/examples/facebook/docs/tutorial-extras/translate-your-site.md index da2b8a365f48..caeaffb05548 100644 --- a/examples/facebook/docs/tutorial-extras/translate-your-site.md +++ b/examples/facebook/docs/tutorial-extras/translate-your-site.md @@ -39,7 +39,7 @@ Start your site on the French locale: npm run start -- --locale fr ``` -Your localized site is accessible at `http://localhost:3000/fr/` and the `Getting Started` page is translated. +Your localized site is accessible at [http://localhost:3000/fr/](http://localhost:3000/fr/) and the `Getting Started` page is translated. :::caution diff --git a/packages/create-docusaurus/templates/shared/docs/tutorial-basics/create-a-blog-post.md b/packages/create-docusaurus/templates/shared/docs/tutorial-basics/create-a-blog-post.md index 0d50aaf31631..ea472bbaf871 100644 --- a/packages/create-docusaurus/templates/shared/docs/tutorial-basics/create-a-blog-post.md +++ b/packages/create-docusaurus/templates/shared/docs/tutorial-basics/create-a-blog-post.md @@ -31,4 +31,4 @@ Congratulations, you have made your first post! Feel free to play around and edit this post as much you like. ``` -A new blog post is now available at `http://localhost:3000/blog/greetings`. +A new blog post is now available at [http://localhost:3000/blog/greetings](http://localhost:3000/blog/greetings). diff --git a/packages/create-docusaurus/templates/shared/docs/tutorial-basics/create-a-document.md b/packages/create-docusaurus/templates/shared/docs/tutorial-basics/create-a-document.md index a9bb9a4140b1..06aa83ef4c7a 100644 --- a/packages/create-docusaurus/templates/shared/docs/tutorial-basics/create-a-document.md +++ b/packages/create-docusaurus/templates/shared/docs/tutorial-basics/create-a-document.md @@ -20,7 +20,7 @@ Create a markdown file at `docs/hello.md`: This is my **first Docusaurus document**! ``` -A new document is now available at `http://localhost:3000/docs/hello`. +A new document is now available at [http://localhost:3000/docs/hello](http://localhost:3000/docs/hello). ## Configure the Sidebar diff --git a/packages/create-docusaurus/templates/shared/docs/tutorial-basics/create-a-page.md b/packages/create-docusaurus/templates/shared/docs/tutorial-basics/create-a-page.md index e112b0059c26..c1e84f85caba 100644 --- a/packages/create-docusaurus/templates/shared/docs/tutorial-basics/create-a-page.md +++ b/packages/create-docusaurus/templates/shared/docs/tutorial-basics/create-a-page.md @@ -28,7 +28,7 @@ export default function MyReactPage() { } ``` -A new page is now available at `http://localhost:3000/my-react-page`. +A new page is now available at [http://localhost:3000/my-react-page](http://localhost:3000/my-react-page). ## Create your first Markdown Page @@ -40,4 +40,4 @@ Create a file at `src/pages/my-markdown-page.md`: This is a Markdown page ``` -A new page is now available at `http://localhost:3000/my-markdown-page`. +A new page is now available at [http://localhost:3000/my-markdown-page](http://localhost:3000/my-markdown-page). diff --git a/packages/create-docusaurus/templates/shared/docs/tutorial-basics/deploy-your-site.md b/packages/create-docusaurus/templates/shared/docs/tutorial-basics/deploy-your-site.md index 492eae0276b4..1c50ee063ef4 100644 --- a/packages/create-docusaurus/templates/shared/docs/tutorial-basics/deploy-your-site.md +++ b/packages/create-docusaurus/templates/shared/docs/tutorial-basics/deploy-your-site.md @@ -26,6 +26,6 @@ Test your production build locally: npm run serve ``` -The `build` folder is now served at `http://localhost:3000/`. +The `build` folder is now served at [http://localhost:3000/](http://localhost:3000/). You can now deploy the `build` folder **almost anywhere** easily, **for free** or very small cost (read the **[Deployment Guide](https://docusaurus.io/docs/deployment)**). diff --git a/packages/create-docusaurus/templates/shared/docs/tutorial-extras/translate-your-site.md b/packages/create-docusaurus/templates/shared/docs/tutorial-extras/translate-your-site.md index da2b8a365f48..caeaffb05548 100644 --- a/packages/create-docusaurus/templates/shared/docs/tutorial-extras/translate-your-site.md +++ b/packages/create-docusaurus/templates/shared/docs/tutorial-extras/translate-your-site.md @@ -39,7 +39,7 @@ Start your site on the French locale: npm run start -- --locale fr ``` -Your localized site is accessible at `http://localhost:3000/fr/` and the `Getting Started` page is translated. +Your localized site is accessible at [http://localhost:3000/fr/](http://localhost:3000/fr/) and the `Getting Started` page is translated. :::caution diff --git a/website/docs/guides/creating-pages.md b/website/docs/guides/creating-pages.md index 0f5839213a5c..fbc89e20d6ce 100644 --- a/website/docs/guides/creating-pages.md +++ b/website/docs/guides/creating-pages.md @@ -51,7 +51,7 @@ export default function Hello() { } ``` -Once you save the file, the development server will automatically reload the changes. Now open `http://localhost:3000/helloReact` and you will see the new page you just created. +Once you save the file, the development server will automatically reload the changes. Now open [http://localhost:3000/helloReact](http://localhost:3000/helloReact) and you will see the new page you just created. Each page doesn't come with any styling. You will need to import the `Layout` component from `@theme/Layout` and wrap your contents within that component if you want the navbar and/or footer to appear. @@ -77,7 +77,7 @@ hide_table_of_contents: true How are you? ``` -In the same way, a page will be created at `http://localhost:3000/helloMarkdown`. +In the same way, a page will be created at [http://localhost:3000/helloMarkdown](http://localhost:3000/helloMarkdown). Markdown pages are less flexible than React pages because it always uses the theme layout. diff --git a/website/docs/i18n/i18n-crowdin.mdx b/website/docs/i18n/i18n-crowdin.mdx index c7f0ca21930b..b9de9024b005 100644 --- a/website/docs/i18n/i18n-crowdin.mdx +++ b/website/docs/i18n/i18n-crowdin.mdx @@ -288,7 +288,7 @@ Start your site on the French locale: npm run start -- --locale fr ``` -Make sure that your website is now translated in French at `http://localhost:3000/fr/`. +Make sure that your website is now translated in French at [http://localhost:3000/fr/](http://localhost:3000/fr/). ### Automate with CI {#automate-with-ci} diff --git a/website/docs/i18n/i18n-tutorial.md b/website/docs/i18n/i18n-tutorial.md index 85504af3f442..37f48cc02601 100644 --- a/website/docs/i18n/i18n-tutorial.md +++ b/website/docs/i18n/i18n-tutorial.md @@ -76,7 +76,7 @@ Start your localized site in dev mode, using the locale of your choice: npm run start -- --locale fr ``` -Your site is accessible at **`http://localhost:3000/fr/`**. +Your site is accessible at [http://localhost:3000/fr/](http://localhost:3000/fr/). We haven't provided any translation yet, so the site is mostly untranslated. diff --git a/website/docs/introduction.md b/website/docs/introduction.md index c5f4d0106f42..799b8072c0e7 100644 --- a/website/docs/introduction.md +++ b/website/docs/introduction.md @@ -36,7 +36,7 @@ cd my-website npx docusaurus start ``` -Open `http://localhost:3000` and follow the tutorial. +Open [http://localhost:3000](http://localhost:3000) and follow the tutorial. :::tip diff --git a/website/versioned_docs/version-2.0.0-beta.20/guides/creating-pages.md b/website/versioned_docs/version-2.0.0-beta.20/guides/creating-pages.md index cdf100cdf9a9..a5ddaa304b9b 100644 --- a/website/versioned_docs/version-2.0.0-beta.20/guides/creating-pages.md +++ b/website/versioned_docs/version-2.0.0-beta.20/guides/creating-pages.md @@ -51,7 +51,7 @@ export default function Hello() { } ``` -Once you save the file, the development server will automatically reload the changes. Now open `http://localhost:3000/helloReact` and you will see the new page you just created. +Once you save the file, the development server will automatically reload the changes. Now open [http://localhost:3000/helloReact](http://localhost:3000/helloReact) and you will see the new page you just created. Each page doesn't come with any styling. You will need to import the `Layout` component from `@theme/Layout` and wrap your contents within that component if you want the navbar and/or footer to appear. @@ -77,7 +77,7 @@ hide_table_of_contents: true How are you? ``` -In the same way, a page will be created at `http://localhost:3000/helloMarkdown`. +In the same way, a page will be created at [http://localhost:3000/helloMarkdown](http://localhost:3000/helloMarkdown). Markdown pages are less flexible than React pages because it always uses the theme layout. diff --git a/website/versioned_docs/version-2.0.0-beta.20/i18n/i18n-crowdin.mdx b/website/versioned_docs/version-2.0.0-beta.20/i18n/i18n-crowdin.mdx index 60afe1f10b22..17c318e1bcf9 100644 --- a/website/versioned_docs/version-2.0.0-beta.20/i18n/i18n-crowdin.mdx +++ b/website/versioned_docs/version-2.0.0-beta.20/i18n/i18n-crowdin.mdx @@ -287,7 +287,7 @@ Start your site on the French locale: npm run start -- --locale fr ``` -Make sure that your website is now translated in French at `http://localhost:3000/fr/`. +Make sure that your website is now translated in French at [http://localhost:3000/fr/](http://localhost:3000/fr/). ### Automate with CI {#automate-with-ci} diff --git a/website/versioned_docs/version-2.0.0-beta.20/i18n/i18n-tutorial.md b/website/versioned_docs/version-2.0.0-beta.20/i18n/i18n-tutorial.md index c8e051ab3258..1612c02e47ac 100644 --- a/website/versioned_docs/version-2.0.0-beta.20/i18n/i18n-tutorial.md +++ b/website/versioned_docs/version-2.0.0-beta.20/i18n/i18n-tutorial.md @@ -74,7 +74,7 @@ Start your localized site in dev mode, using the locale of your choice: npm run start -- --locale fr ``` -Your site is accessible at **`http://localhost:3000/fr/`**. +Your site is accessible at [http://localhost:3000/fr/](http://localhost:3000/fr/). We haven't provided any translation yet, so the site is mostly untranslated. diff --git a/website/versioned_docs/version-2.0.0-beta.20/introduction.md b/website/versioned_docs/version-2.0.0-beta.20/introduction.md index de877f623891..6685515b99b5 100644 --- a/website/versioned_docs/version-2.0.0-beta.20/introduction.md +++ b/website/versioned_docs/version-2.0.0-beta.20/introduction.md @@ -36,7 +36,7 @@ cd my-website npx docusaurus start ``` -Open `http://localhost:3000` and follow the tutorial. +Open [http://localhost:3000](http://localhost:3000) and follow the tutorial. :::tip diff --git a/website/versioned_docs/version-2.0.0-beta.21/guides/creating-pages.md b/website/versioned_docs/version-2.0.0-beta.21/guides/creating-pages.md index cdf100cdf9a9..a5ddaa304b9b 100644 --- a/website/versioned_docs/version-2.0.0-beta.21/guides/creating-pages.md +++ b/website/versioned_docs/version-2.0.0-beta.21/guides/creating-pages.md @@ -51,7 +51,7 @@ export default function Hello() { } ``` -Once you save the file, the development server will automatically reload the changes. Now open `http://localhost:3000/helloReact` and you will see the new page you just created. +Once you save the file, the development server will automatically reload the changes. Now open [http://localhost:3000/helloReact](http://localhost:3000/helloReact) and you will see the new page you just created. Each page doesn't come with any styling. You will need to import the `Layout` component from `@theme/Layout` and wrap your contents within that component if you want the navbar and/or footer to appear. @@ -77,7 +77,7 @@ hide_table_of_contents: true How are you? ``` -In the same way, a page will be created at `http://localhost:3000/helloMarkdown`. +In the same way, a page will be created at [http://localhost:3000/helloMarkdown](http://localhost:3000/helloMarkdown). Markdown pages are less flexible than React pages because it always uses the theme layout. diff --git a/website/versioned_docs/version-2.0.0-beta.21/i18n/i18n-crowdin.mdx b/website/versioned_docs/version-2.0.0-beta.21/i18n/i18n-crowdin.mdx index 60afe1f10b22..17c318e1bcf9 100644 --- a/website/versioned_docs/version-2.0.0-beta.21/i18n/i18n-crowdin.mdx +++ b/website/versioned_docs/version-2.0.0-beta.21/i18n/i18n-crowdin.mdx @@ -287,7 +287,7 @@ Start your site on the French locale: npm run start -- --locale fr ``` -Make sure that your website is now translated in French at `http://localhost:3000/fr/`. +Make sure that your website is now translated in French at [http://localhost:3000/fr/](http://localhost:3000/fr/). ### Automate with CI {#automate-with-ci} diff --git a/website/versioned_docs/version-2.0.0-beta.21/i18n/i18n-tutorial.md b/website/versioned_docs/version-2.0.0-beta.21/i18n/i18n-tutorial.md index c8e051ab3258..1612c02e47ac 100644 --- a/website/versioned_docs/version-2.0.0-beta.21/i18n/i18n-tutorial.md +++ b/website/versioned_docs/version-2.0.0-beta.21/i18n/i18n-tutorial.md @@ -74,7 +74,7 @@ Start your localized site in dev mode, using the locale of your choice: npm run start -- --locale fr ``` -Your site is accessible at **`http://localhost:3000/fr/`**. +Your site is accessible at [http://localhost:3000/fr/](http://localhost:3000/fr/). We haven't provided any translation yet, so the site is mostly untranslated. diff --git a/website/versioned_docs/version-2.0.0-beta.21/introduction.md b/website/versioned_docs/version-2.0.0-beta.21/introduction.md index cec5f22c2e08..ea5797cec9c6 100644 --- a/website/versioned_docs/version-2.0.0-beta.21/introduction.md +++ b/website/versioned_docs/version-2.0.0-beta.21/introduction.md @@ -36,7 +36,7 @@ cd my-website npx docusaurus start ``` -Open `http://localhost:3000` and follow the tutorial. +Open [http://localhost:3000](http://localhost:3000) and follow the tutorial. :::tip From e0e06fc2db33caa51e513b4231daa21826f8822c Mon Sep 17 00:00:00 2001 From: dht Date: Wed, 8 Jun 2022 09:05:01 +0300 Subject: [PATCH 2/2] revert changes in auto-generated examples folder --- examples/classic-typescript/docs/intro.md | 2 +- .../docs/tutorial-basics/create-a-blog-post.md | 2 +- .../docs/tutorial-basics/create-a-document.md | 2 +- .../classic-typescript/docs/tutorial-basics/create-a-page.md | 4 ++-- .../docs/tutorial-basics/deploy-your-site.md | 2 +- .../docs/tutorial-extras/translate-your-site.md | 2 +- examples/classic/docs/intro.md | 2 +- examples/classic/docs/tutorial-basics/create-a-blog-post.md | 2 +- examples/classic/docs/tutorial-basics/create-a-document.md | 2 +- examples/classic/docs/tutorial-basics/create-a-page.md | 4 ++-- examples/classic/docs/tutorial-basics/deploy-your-site.md | 2 +- examples/classic/docs/tutorial-extras/translate-your-site.md | 2 +- examples/facebook/docs/intro.md | 2 +- examples/facebook/docs/tutorial-basics/create-a-blog-post.md | 2 +- examples/facebook/docs/tutorial-basics/create-a-document.md | 2 +- examples/facebook/docs/tutorial-basics/create-a-page.md | 4 ++-- examples/facebook/docs/tutorial-basics/deploy-your-site.md | 2 +- examples/facebook/docs/tutorial-extras/translate-your-site.md | 2 +- 18 files changed, 21 insertions(+), 21 deletions(-) diff --git a/examples/classic-typescript/docs/intro.md b/examples/classic-typescript/docs/intro.md index 18f6af1ea8dc..500260230bfc 100644 --- a/examples/classic-typescript/docs/intro.md +++ b/examples/classic-typescript/docs/intro.md @@ -42,6 +42,6 @@ npm run start The `cd` command changes the directory you're working with. In order to work with your newly created Docusaurus site, you'll need to navigate the terminal there. -The `npm run start` command builds your website locally and serves it through a development server, ready for you to view at [http://localhost:3000/](http://localhost:3000/). +The `npm run start` command builds your website locally and serves it through a development server, ready for you to view at http://localhost:3000/. Open `docs/intro.md` (this page) and edit some lines: the site **reloads automatically** and displays your changes. diff --git a/examples/classic-typescript/docs/tutorial-basics/create-a-blog-post.md b/examples/classic-typescript/docs/tutorial-basics/create-a-blog-post.md index ea472bbaf871..0d50aaf31631 100644 --- a/examples/classic-typescript/docs/tutorial-basics/create-a-blog-post.md +++ b/examples/classic-typescript/docs/tutorial-basics/create-a-blog-post.md @@ -31,4 +31,4 @@ Congratulations, you have made your first post! Feel free to play around and edit this post as much you like. ``` -A new blog post is now available at [http://localhost:3000/blog/greetings](http://localhost:3000/blog/greetings). +A new blog post is now available at `http://localhost:3000/blog/greetings`. diff --git a/examples/classic-typescript/docs/tutorial-basics/create-a-document.md b/examples/classic-typescript/docs/tutorial-basics/create-a-document.md index 06aa83ef4c7a..a9bb9a4140b1 100644 --- a/examples/classic-typescript/docs/tutorial-basics/create-a-document.md +++ b/examples/classic-typescript/docs/tutorial-basics/create-a-document.md @@ -20,7 +20,7 @@ Create a markdown file at `docs/hello.md`: This is my **first Docusaurus document**! ``` -A new document is now available at [http://localhost:3000/docs/hello](http://localhost:3000/docs/hello). +A new document is now available at `http://localhost:3000/docs/hello`. ## Configure the Sidebar diff --git a/examples/classic-typescript/docs/tutorial-basics/create-a-page.md b/examples/classic-typescript/docs/tutorial-basics/create-a-page.md index c1e84f85caba..e112b0059c26 100644 --- a/examples/classic-typescript/docs/tutorial-basics/create-a-page.md +++ b/examples/classic-typescript/docs/tutorial-basics/create-a-page.md @@ -28,7 +28,7 @@ export default function MyReactPage() { } ``` -A new page is now available at [http://localhost:3000/my-react-page](http://localhost:3000/my-react-page). +A new page is now available at `http://localhost:3000/my-react-page`. ## Create your first Markdown Page @@ -40,4 +40,4 @@ Create a file at `src/pages/my-markdown-page.md`: This is a Markdown page ``` -A new page is now available at [http://localhost:3000/my-markdown-page](http://localhost:3000/my-markdown-page). +A new page is now available at `http://localhost:3000/my-markdown-page`. diff --git a/examples/classic-typescript/docs/tutorial-basics/deploy-your-site.md b/examples/classic-typescript/docs/tutorial-basics/deploy-your-site.md index 1c50ee063ef4..492eae0276b4 100644 --- a/examples/classic-typescript/docs/tutorial-basics/deploy-your-site.md +++ b/examples/classic-typescript/docs/tutorial-basics/deploy-your-site.md @@ -26,6 +26,6 @@ Test your production build locally: npm run serve ``` -The `build` folder is now served at [http://localhost:3000/](http://localhost:3000/). +The `build` folder is now served at `http://localhost:3000/`. You can now deploy the `build` folder **almost anywhere** easily, **for free** or very small cost (read the **[Deployment Guide](https://docusaurus.io/docs/deployment)**). diff --git a/examples/classic-typescript/docs/tutorial-extras/translate-your-site.md b/examples/classic-typescript/docs/tutorial-extras/translate-your-site.md index caeaffb05548..da2b8a365f48 100644 --- a/examples/classic-typescript/docs/tutorial-extras/translate-your-site.md +++ b/examples/classic-typescript/docs/tutorial-extras/translate-your-site.md @@ -39,7 +39,7 @@ Start your site on the French locale: npm run start -- --locale fr ``` -Your localized site is accessible at [http://localhost:3000/fr/](http://localhost:3000/fr/) and the `Getting Started` page is translated. +Your localized site is accessible at `http://localhost:3000/fr/` and the `Getting Started` page is translated. :::caution diff --git a/examples/classic/docs/intro.md b/examples/classic/docs/intro.md index 18f6af1ea8dc..500260230bfc 100644 --- a/examples/classic/docs/intro.md +++ b/examples/classic/docs/intro.md @@ -42,6 +42,6 @@ npm run start The `cd` command changes the directory you're working with. In order to work with your newly created Docusaurus site, you'll need to navigate the terminal there. -The `npm run start` command builds your website locally and serves it through a development server, ready for you to view at [http://localhost:3000/](http://localhost:3000/). +The `npm run start` command builds your website locally and serves it through a development server, ready for you to view at http://localhost:3000/. Open `docs/intro.md` (this page) and edit some lines: the site **reloads automatically** and displays your changes. diff --git a/examples/classic/docs/tutorial-basics/create-a-blog-post.md b/examples/classic/docs/tutorial-basics/create-a-blog-post.md index ea472bbaf871..0d50aaf31631 100644 --- a/examples/classic/docs/tutorial-basics/create-a-blog-post.md +++ b/examples/classic/docs/tutorial-basics/create-a-blog-post.md @@ -31,4 +31,4 @@ Congratulations, you have made your first post! Feel free to play around and edit this post as much you like. ``` -A new blog post is now available at [http://localhost:3000/blog/greetings](http://localhost:3000/blog/greetings). +A new blog post is now available at `http://localhost:3000/blog/greetings`. diff --git a/examples/classic/docs/tutorial-basics/create-a-document.md b/examples/classic/docs/tutorial-basics/create-a-document.md index 06aa83ef4c7a..a9bb9a4140b1 100644 --- a/examples/classic/docs/tutorial-basics/create-a-document.md +++ b/examples/classic/docs/tutorial-basics/create-a-document.md @@ -20,7 +20,7 @@ Create a markdown file at `docs/hello.md`: This is my **first Docusaurus document**! ``` -A new document is now available at [http://localhost:3000/docs/hello](http://localhost:3000/docs/hello). +A new document is now available at `http://localhost:3000/docs/hello`. ## Configure the Sidebar diff --git a/examples/classic/docs/tutorial-basics/create-a-page.md b/examples/classic/docs/tutorial-basics/create-a-page.md index c1e84f85caba..e112b0059c26 100644 --- a/examples/classic/docs/tutorial-basics/create-a-page.md +++ b/examples/classic/docs/tutorial-basics/create-a-page.md @@ -28,7 +28,7 @@ export default function MyReactPage() { } ``` -A new page is now available at [http://localhost:3000/my-react-page](http://localhost:3000/my-react-page). +A new page is now available at `http://localhost:3000/my-react-page`. ## Create your first Markdown Page @@ -40,4 +40,4 @@ Create a file at `src/pages/my-markdown-page.md`: This is a Markdown page ``` -A new page is now available at [http://localhost:3000/my-markdown-page](http://localhost:3000/my-markdown-page). +A new page is now available at `http://localhost:3000/my-markdown-page`. diff --git a/examples/classic/docs/tutorial-basics/deploy-your-site.md b/examples/classic/docs/tutorial-basics/deploy-your-site.md index 1c50ee063ef4..492eae0276b4 100644 --- a/examples/classic/docs/tutorial-basics/deploy-your-site.md +++ b/examples/classic/docs/tutorial-basics/deploy-your-site.md @@ -26,6 +26,6 @@ Test your production build locally: npm run serve ``` -The `build` folder is now served at [http://localhost:3000/](http://localhost:3000/). +The `build` folder is now served at `http://localhost:3000/`. You can now deploy the `build` folder **almost anywhere** easily, **for free** or very small cost (read the **[Deployment Guide](https://docusaurus.io/docs/deployment)**). diff --git a/examples/classic/docs/tutorial-extras/translate-your-site.md b/examples/classic/docs/tutorial-extras/translate-your-site.md index caeaffb05548..da2b8a365f48 100644 --- a/examples/classic/docs/tutorial-extras/translate-your-site.md +++ b/examples/classic/docs/tutorial-extras/translate-your-site.md @@ -39,7 +39,7 @@ Start your site on the French locale: npm run start -- --locale fr ``` -Your localized site is accessible at [http://localhost:3000/fr/](http://localhost:3000/fr/) and the `Getting Started` page is translated. +Your localized site is accessible at `http://localhost:3000/fr/` and the `Getting Started` page is translated. :::caution diff --git a/examples/facebook/docs/intro.md b/examples/facebook/docs/intro.md index 18f6af1ea8dc..500260230bfc 100644 --- a/examples/facebook/docs/intro.md +++ b/examples/facebook/docs/intro.md @@ -42,6 +42,6 @@ npm run start The `cd` command changes the directory you're working with. In order to work with your newly created Docusaurus site, you'll need to navigate the terminal there. -The `npm run start` command builds your website locally and serves it through a development server, ready for you to view at [http://localhost:3000/](http://localhost:3000/). +The `npm run start` command builds your website locally and serves it through a development server, ready for you to view at http://localhost:3000/. Open `docs/intro.md` (this page) and edit some lines: the site **reloads automatically** and displays your changes. diff --git a/examples/facebook/docs/tutorial-basics/create-a-blog-post.md b/examples/facebook/docs/tutorial-basics/create-a-blog-post.md index ea472bbaf871..0d50aaf31631 100644 --- a/examples/facebook/docs/tutorial-basics/create-a-blog-post.md +++ b/examples/facebook/docs/tutorial-basics/create-a-blog-post.md @@ -31,4 +31,4 @@ Congratulations, you have made your first post! Feel free to play around and edit this post as much you like. ``` -A new blog post is now available at [http://localhost:3000/blog/greetings](http://localhost:3000/blog/greetings). +A new blog post is now available at `http://localhost:3000/blog/greetings`. diff --git a/examples/facebook/docs/tutorial-basics/create-a-document.md b/examples/facebook/docs/tutorial-basics/create-a-document.md index 06aa83ef4c7a..a9bb9a4140b1 100644 --- a/examples/facebook/docs/tutorial-basics/create-a-document.md +++ b/examples/facebook/docs/tutorial-basics/create-a-document.md @@ -20,7 +20,7 @@ Create a markdown file at `docs/hello.md`: This is my **first Docusaurus document**! ``` -A new document is now available at [http://localhost:3000/docs/hello](http://localhost:3000/docs/hello). +A new document is now available at `http://localhost:3000/docs/hello`. ## Configure the Sidebar diff --git a/examples/facebook/docs/tutorial-basics/create-a-page.md b/examples/facebook/docs/tutorial-basics/create-a-page.md index c1e84f85caba..e112b0059c26 100644 --- a/examples/facebook/docs/tutorial-basics/create-a-page.md +++ b/examples/facebook/docs/tutorial-basics/create-a-page.md @@ -28,7 +28,7 @@ export default function MyReactPage() { } ``` -A new page is now available at [http://localhost:3000/my-react-page](http://localhost:3000/my-react-page). +A new page is now available at `http://localhost:3000/my-react-page`. ## Create your first Markdown Page @@ -40,4 +40,4 @@ Create a file at `src/pages/my-markdown-page.md`: This is a Markdown page ``` -A new page is now available at [http://localhost:3000/my-markdown-page](http://localhost:3000/my-markdown-page). +A new page is now available at `http://localhost:3000/my-markdown-page`. diff --git a/examples/facebook/docs/tutorial-basics/deploy-your-site.md b/examples/facebook/docs/tutorial-basics/deploy-your-site.md index 1c50ee063ef4..492eae0276b4 100644 --- a/examples/facebook/docs/tutorial-basics/deploy-your-site.md +++ b/examples/facebook/docs/tutorial-basics/deploy-your-site.md @@ -26,6 +26,6 @@ Test your production build locally: npm run serve ``` -The `build` folder is now served at [http://localhost:3000/](http://localhost:3000/). +The `build` folder is now served at `http://localhost:3000/`. You can now deploy the `build` folder **almost anywhere** easily, **for free** or very small cost (read the **[Deployment Guide](https://docusaurus.io/docs/deployment)**). diff --git a/examples/facebook/docs/tutorial-extras/translate-your-site.md b/examples/facebook/docs/tutorial-extras/translate-your-site.md index caeaffb05548..da2b8a365f48 100644 --- a/examples/facebook/docs/tutorial-extras/translate-your-site.md +++ b/examples/facebook/docs/tutorial-extras/translate-your-site.md @@ -39,7 +39,7 @@ Start your site on the French locale: npm run start -- --locale fr ``` -Your localized site is accessible at [http://localhost:3000/fr/](http://localhost:3000/fr/) and the `Getting Started` page is translated. +Your localized site is accessible at `http://localhost:3000/fr/` and the `Getting Started` page is translated. :::caution