@@ -10,24 +10,24 @@ This repo contains the website configuration and documentation powering the
10101 . Git
11111 . Node: install version 6.2.2 or greater. Node v8 would be ideal.
12121 . Yarn: See
13- [ Yarn website for installation instructions] ( https://yarnpkg.com/lang/en/docs/install/ )
14- 1 . A fork of the repo (for any contributions)
13+ [ Yarn website for installation instructions] ( https://yarnpkg.com/lang/en/docs/install/ ) .
14+ 1 . A fork of the repo (for any contributions).
15151 . A clone of the ` react-native-website ` repo.
16161 . Docusaurus: Run ` yarn global add docusaurus-init ` or ` npm install --global docusaurus-init `
17171 . Prettier: See
18- [ Prettier website for installation instructions] ( https://prettier.io/docs/en/install.html )
18+ [ Prettier website for installation instructions] ( https://prettier.io/docs/en/install.html ) .
1919
2020### Installation
2121
22- 1 . ` cd react-native-website ` to go into the project root
23- 1 . ` cd website ` to go into the website portion of the project
22+ 1 . ` cd react-native-website ` to go into the project root.
23+ 1 . ` cd website ` to go into the website portion of the project.
24241 . ` yarn ` to install the website's npm dependencies (or ` npm install ` , if not
25- using Yarn)
25+ using Yarn).
2626
2727### Running locally
2828
29- 1 . ` yarn start ` to start the development server (powered by Docusaurus) (or ` npm start ` , if not using Yarn)
30- 1 . ` open http://localhost:3000/ ` to open the site in your favorite browser
29+ 1 . ` yarn start ` to start the development server (powered by Docusaurus) (or ` npm start ` , if not using Yarn).
30+ 1 . ` open http://localhost:3000/ ` to open the site in your favorite browser.
3131
3232# Overview
3333
@@ -106,9 +106,9 @@ be in reverse chronological order.
106106
107107#### Cutting a new version
108108
109- 1 . ` cd react-native-website ` to go into the project root
110- 1 . ` cd website ` to go into the website portion of the project
111- 1 . Run ` yarn version <version> ` where ' <version >' is the new version being
109+ 1 . ` cd react-native-website ` to go into the project root.
110+ 1 . ` cd website ` to go into the website portion of the project.
111+ 1 . Run ` yarn version <version> ` where ` <version> ` is the new version being
112112 released.
113113
114114## Website configuration
@@ -129,14 +129,14 @@ React Native showcase.
129129### Create a branch
130130
1311311 . ` git checkout master ` from any folder in your local ` react-native-website `
132- repository
133- 1 . ` git pull origin master ` to ensure you have the latest main code
132+ repository.
133+ 1 . ` git pull origin master ` to ensure you have the latest main code.
1341341 . ` git checkout -b the-name-of-my-branch ` (replacing ` the-name-of-my-branch `
135- with a suitable name) to create a branch
135+ with a suitable name) to create a branch.
136136
137137### Make the change
138138
139- 1 . Follow the "Running locally" instructions
139+ 1 . Follow the "Running locally" instructions.
1401401 . Save the files and check in the browser. Some changes may require a server restart.
1411411 . Changes to /docs will only be visible in the latest version of the documentation (master).
142142
@@ -150,10 +150,10 @@ React Native showcase.
150150### Push it
151151
1521521 . Run ` yarn prettier ` to ensure your changes are consistent with other files in
153- the repo
153+ the repo.
1541541 . ` git add -A && git commit -m "My message" ` (replacing ` My message ` with a
155155 commit message, such as ` Fixed header logo on Android ` ) to stage and commit
156- your changes
156+ your changes.
1571571 . ` git push my-fork-name the-name-of-my-branch `
1581581 . Go to the
159159 [ react-native-website repo] ( https://github.com/facebook/react-native-website )
0 commit comments