Replace facebookexperimental with facebook (#266)

Moving to the facebook GitHub org
This commit is contained in:
Joel Marcey 2017-12-07 10:52:12 -08:00 committed by Héctor Ramos
parent 643c7a4047
commit ef6f550700
13 changed files with 22 additions and 22 deletions

View file

@ -58,7 +58,7 @@ jobs:
- run:
name: Configure GitHub Bot
command: |
if [[ $CIRCLE_PROJECT_USERNAME == "facebookexperimental" && -z $CI_PULL_REQUEST && -z $CIRCLE_PR_USERNAME ]]; then
if [[ $CIRCLE_PROJECT_USERNAME == "facebook" && -z $CI_PULL_REQUEST && -z $CIRCLE_PR_USERNAME ]]; then
git config --global user.email "docusaurus@users.noreply.github.com"
git config --global user.name "Website Deployment Script"
echo "machine github.com login facebook-github-bot" > ~/.netrc
@ -66,7 +66,7 @@ jobs:
- run:
name: Deploy Website
command: |
if [[ $CIRCLE_PROJECT_USERNAME == "facebookexperimental" && -z $CI_PULL_REQUEST && -z $CIRCLE_PR_USERNAME ]]; then
if [[ $CIRCLE_PROJECT_USERNAME == "facebook" && -z $CI_PULL_REQUEST && -z $CIRCLE_PR_USERNAME ]]; then
echo "Deploying website..."
cd website && GIT_USER=facebook-github-bot USE_SSH=true yarn run publish-gh-pages
else

View file

@ -29,7 +29,7 @@ Read our [contributing guide](https://docusaurus.io/docs/how-to-contribute.html)
### Beginner Friendly Bugs
To help you get your feet wet and get you familiar with our contribution process, we have a list of [beginner friendly bugs](https://github.com/facebookexperimental/Docusaurus/labels/Difficulty%3A%20beginner) that contain bugs which are fairly easy to fix. This is a great place to get started.
To help you get your feet wet and get you familiar with our contribution process, we have a list of [beginner friendly bugs](https://github.com/facebook/Docusaurus/labels/Difficulty%3A%20beginner) that contain bugs which are fairly easy to fix. This is a great place to get started.
### License

View file

@ -23,7 +23,7 @@ The version number should generally increase by some factor than the current one
"version": "1.0.0-alpha.41",
"repository": {
"type": "git",
"url": "https://github.com/facebookexperimental/Docusaurus.git"
"url": "https://github.com/facebook/Docusaurus.git"
},
```

View file

@ -76,7 +76,7 @@ Alias: `publish-gh-pages`
- `GIT_USER`: The git user to be associated with the deploy commit.
- `CIRCLE_BRANCH`: The git branch associated with the commit that triggered the CI run.
- `CIRCLE_PROJECT_USERNAME`: The GitHub username or organization name that hosts the git repo, e.g. "FacebookExperimental".
- `CIRCLE_PROJECT_USERNAME`: The GitHub username or organization name that hosts the git repo, e.g. "facebook".
- `CIRCLE_PROJECT_REPONAME`: The name of the git repo, e.g. "Docusaurus".
- `CI_PULL_REQUEST`: Expected to be truthy if the current CI run was triggered by a commit in a pull request.

View file

@ -127,7 +127,7 @@ const siteConfig = {
// url: "https://www.example.com",
baseUrl: "/test-site/",
// baseUrl: "/",
organizationName: "facebookexperimental",
organizationName: "facebook",
projectName: "docusaurus",
noIndex: false,
headerLinks: [

View file

@ -33,8 +33,8 @@ Most of the work to publish to GitHub pages is done for you automatically throug
Two of the required parameters are set in the [`siteConfig.js`](api-site-config.md):
- `organizationName`: The GitHub user or organization that owns the repository. In the case of Docusaurus, that would be the "facebookexperimental" GitHub organization.
- `projectName`: The name of the GitHub repository for your project. For example, Docusaurus is hosted at https://github.com/facebookexperimental/docusaurus, so our project name in this case would be "docusaurus".
- `organizationName`: The GitHub user or organization that owns the repository. In the case of Docusaurus, that would be the "facebook" GitHub organization.
- `projectName`: The name of the GitHub repository for your project. For example, Docusaurus is hosted at https://github.com/facebook/docusaurus, so our project name in this case would be "docusaurus".
> While we recommend setting the above in `siteConfig.js`, you can also use environment variables `ORGANIZATION_NAME` and `PROJECT_NAME`.
@ -60,7 +60,7 @@ GIT_USER=<GIT_USER> \
> The specified `GIT_USER` must have push access to the repository specified in the combination of `organizationName` and `projectName`.
You should now be able to load your website by visiting its GitHub Pages URL, which could be something along the lines of https://organizationName.github.io/projectName, or a custom domain if you have set that up. For example, Docusaurus' own GitHub Pages URL is https://docusaurus.io (it can also be accessed via https://facebookexperimental.github.io/docusaurus), because it is served from the `gh-pages` branch of the https://github.com/facebookexperimental/docusaurus GitHub repo. We highly encourage reading through the [GitHub Pages documentation](https://pages.github.com) to learn more about how this hosting solution works.
You should now be able to load your website by visiting its GitHub Pages URL, which could be something along the lines of https://organizationName.github.io/projectName, or a custom domain if you have set that up. For example, Docusaurus' own GitHub Pages URL is https://docusaurus.io (it can also be accessed via https://facebook.github.io/docusaurus), because it is served from the `gh-pages` branch of the https://github.com/facebook/docusaurus GitHub repo. We highly encourage reading through the [GitHub Pages documentation](https://pages.github.com) to learn more about how this hosting solution works.
You can run the command above any time you update the docs and wish to deploy the changes to your site. Running the script manually may be fine for sites where the documentation rarely changes and it is not too much of an inconvenience to remember to manually deploy changes.

View file

@ -110,7 +110,7 @@ Custom links can be added to the site navigation bar with the following entry in
```
headerLinks: [
...
{ href: 'https://github.com/facebookexperimental/Docusaurus', label: 'GitHub' },
{ href: 'https://github.com/facebook/Docusaurus', label: 'GitHub' },
...
],
```

View file

@ -38,7 +38,7 @@
"version": "1.0.0-beta.15",
"repository": {
"type": "git",
"url": "https://github.com/facebookexperimental/Docusaurus.git"
"url": "https://github.com/facebook/Docusaurus.git"
},
"bin": {
"docusaurus-start": "./lib/start-server.js",

View file

@ -41,12 +41,12 @@ class Footer extends React.Component {
</div>
<div>
<h5>More</h5>
<a href="https://github.com/facebookexperimental/docusaurus">
<a href="https://github.com/facebook/docusaurus">
GitHub
</a>
<a
className="github-button"
href="https://github.com/facebookexperimental/docusaurus"
href="https://github.com/facebook/docusaurus"
data-icon="octicon-star"
data-show-count="true"
aria-label="Star this project on GitHub"

View file

@ -23,7 +23,7 @@ class Help extends React.Component {
},
{
content:
"Submit issues and pull requests for any new features you may want to see or bugs you've found on [GitHub](https://github.com/facebookexperimental/docusaurus).",
"Submit issues and pull requests for any new features you may want to see or bugs you've found on [GitHub](https://github.com/facebook/docusaurus).",
title: "Join the community"
},
{

View file

@ -169,7 +169,7 @@ class Index extends React.Component {
contents={[
{
content:
"Docusaurus currently provides support to help your website use [translations](/docs/translation.html), [search](/docs/search.html), and [versioning](/docs/versioning.html), along with some other special [documentation markdown features](/docs/doc-markdown.html). If you have ideas for useful features, feel free to contribute on [GitHub](https://github.com/facebookexperimental/docusaurus)!",
"Docusaurus currently provides support to help your website use [translations](/docs/translation.html), [search](/docs/search.html), and [versioning](/docs/versioning.html), along with some other special [documentation markdown features](/docs/doc-markdown.html). If you have ideas for useful features, feel free to contribute on [GitHub](https://github.com/facebook/docusaurus)!",
imageAlign: "right",
image: `${siteConfig.baseUrl}img/docusaurus_monochrome.svg`,
title: "Website Features"

View file

@ -33,7 +33,7 @@ class Users extends React.Component {
<div className="logos">{showcase}</div>
<p>Are you using this project?</p>
<a
href="https://github.com/facebookexperimental/docusaurus/edit/master/website/siteConfig.js"
href="https://github.com/facebook/docusaurus/edit/master/website/siteConfig.js"
className="button">
Add your project
</a>

View file

@ -50,19 +50,19 @@ const siteConfig = {
tagline: "Easy to Maintain Open Source Documentation Websites",
url: "https://docusaurus.io",
baseUrl: "/",
organizationName: "facebookexperimental",
organizationName: "facebook",
projectName: "Docusaurus",
cname: "docusaurus.io",
noIndex: true,
users,
editUrl:
"https://github.com/facebookexperimental/docusaurus/edit/master/docs/",
"https://github.com/facebook/docusaurus/edit/master/docs/",
headerLinks: [
{ doc: "installation", label: "Docs" },
{ page: "help", label: "Help" },
{ blog: true, label: "Blog" },
{
href: "https://github.com/facebookexperimental/docusaurus",
href: "https://github.com/facebook/docusaurus",
label: "GitHub"
}
],