Skip to content

Commit 574b3b0

Browse files
authored
Merge pull request reactjs#13 from yangshun/fix-repo-url
Migrate repo URLs
2 parents 09cde59 + fb02750 commit 574b3b0

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ This repo contains the source code and documentation powering [reactjs.org](http
2626

2727
### Create a branch
2828

29-
1. `git checkout master` from any folder in your local react repository
29+
1. `git checkout master` from any folder in your local `reactjs.org` repository
3030
1. `git pull origin master` to ensure you have the latest main code
3131
1. `git checkout -b the-name-of-my-branch` (replacing `the-name-of-my-branch` with a suitable name) to create a branch
3232

@@ -53,4 +53,4 @@ This repo contains the source code and documentation powering [reactjs.org](http
5353

5454
## Troubleshooting
5555

56-
- `yarn reset` to clear the local cache
56+
- `yarn reset` to clear the local cache

content/docs/codebase-overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ The [fbjs repository](https://github.com/facebook/fbjs) exists because React sha
6666
After cloning the [React repository](https://github.com/facebook/react), you will see a few top-level folders in it:
6767

6868
* [`src`](https://github.com/facebook/react/tree/master/src) is the source code of React. **If your change is related to the code, `src` is where you'll spend most of your time.**
69-
* [`docs`](https://github.com/facebook/react/tree/master/docs) is the React documentation website. When you change APIs, make sure to update the relevant Markdown files.
69+
* [`docs`](https://github.com/reactjs/reactjs.org/tree/master/content) is the React documentation website. When you change APIs, make sure to update the relevant Markdown files.
7070
* [`fixtures`](https://github.com/facebook/react/tree/master/fixtures) contains a few small React test applications for contributors.
7171
* [`packages`](https://github.com/facebook/react/tree/master/packages) contains metadata (such as `package.json`) for all packages in the React repository. Nevertheless, their source code is still located inside [`src`](https://github.com/facebook/react/tree/master/src).
7272
* `build` is the build output of React. It is not in the repository but it will appear in your React clone after you [build it](/docs/how-to-contribute.html#development-workflow) for the first time.

src/components/MarkdownPage/MarkdownPage.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ const MarkdownPage = ({
8787
<div css={{marginTop: 80}}>
8888
<a
8989
css={sharedStyles.articleLayout.editLink}
90-
href={`https://github.com/facebook/react/tree/master/docs/${markdownRemark
90+
href={`https://github.com/reactjs/reactjs.org/tree/master/content/${markdownRemark
9191
.fields.path}`}>
9292
Edit this page
9393
</a>

0 commit comments

Comments
 (0)