From 53fa0ecb1f87047b014fd315ea1ff82aaacc2625 Mon Sep 17 00:00:00 2001 From: Arien Shibani Date: Thu, 8 May 2025 18:10:21 +0200 Subject: [PATCH] fix(create-docusaurus): Improve init template README, fix headings and remove $ in bash code blocks (#11157) --- .../templates/shared/README.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/packages/create-docusaurus/templates/shared/README.md b/packages/create-docusaurus/templates/shared/README.md index 35ad92cc2a..b28211a9bb 100644 --- a/packages/create-docusaurus/templates/shared/README.md +++ b/packages/create-docusaurus/templates/shared/README.md @@ -2,40 +2,40 @@ This website is built using [Docusaurus](https://docusaurus.io/), a modern static website generator. -### Installation +## Installation ```bash -$ yarn +yarn ``` -### Local Development +## Local Development ```bash -$ yarn start +yarn start ``` This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server. -### Build +## Build ```bash -$ yarn build +yarn build ``` This command generates static content into the `build` directory and can be served using any static contents hosting service. -### Deployment +## Deployment Using SSH: ```bash -$ USE_SSH=true yarn deploy +USE_SSH=true yarn deploy ``` Not using SSH: ```bash -$ GIT_USER= yarn deploy +GIT_USER= yarn deploy ``` If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the `gh-pages` branch.