Skip to content

Commit

Permalink
Merge branch 'master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
yangshun authored May 9, 2018
2 parents d0b805b + ac718dd commit e2a59d6
Show file tree
Hide file tree
Showing 4 changed files with 251 additions and 155 deletions.
156 changes: 156 additions & 0 deletions website/data/users.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,156 @@
[
{
"caption": "Almin",
"image": "/img/almin.png",
"infoLink": "https://almin.js.org/",
"fbOpenSource": false,
"pinned": false
},
{
"caption": "BlueWhale",
"image": "/img/BlueWhale.png",
"infoLink": "https://facebookresearch.github.io/BlueWhale/",
"fbOpenSource": true,
"pinned": true
},
{
"caption": "BuckleScript",
"image": "/img/bucklescript.svg",
"infoLink": "https://bucklescript.github.io/",
"fbOpenSource": false,
"pinned": true
},
{
"caption": "Dep",
"image": "/img/golang-dep.svg",
"infoLink": "https://golang.github.io/dep/",
"fbOpenSource": false,
"pinned": false
},
{
"caption": "Docusaurus",
"image": "/img/docusaurus.svg",
"infoLink": "https://www.docusaurus.io",
"fbOpenSource": true,
"pinned": true
},
{
"caption": "FastText",
"image": "/img/fasttext.png",
"infoLink": "https://fasttext.cc",
"fbOpenSource": true,
"pinned": true
},
{
"caption": "Facebook Instant Articles Rules Editor",
"image": "/img/facebook-instant-articles-rules-editor.svg",
"infoLink": "https://facebook.github.io/facebook-instant-articles-rules-editor/",
"fbOpenSource": true,
"pinned": false
},
{
"caption": "Goby",
"image": "https://goby-lang.org/img/goby-logo.svg",
"infoLink": "https://goby-lang.org",
"fbOpenSource": false,
"pinned": false
},
{
"caption": "Home Assistant",
"image": "https://developers.home-assistant.io/img/logo-responsive.svg",
"infoLink": "https://developers.home-assistant.io/",
"fbOpenSource": false,
"pinned": false
},
{
"caption": "Jest",
"image": "/img/jest.png",
"infoLink": "https://facebook.github.io/jest/",
"fbOpenSource": true,
"pinned": true
},
{
"caption": "MakeItOpen",
"image": "/img/makeitopen.png",
"infoLink": "http://makeitopen.com/",
"fbOpenSource": true,
"pinned": true
},
{
"caption": "Prettier",
"image": "/img/prettier.png",
"infoLink": "https://www.prettier.io",
"fbOpenSource": false,
"pinned": true
},
{
"caption": "React Native",
"image": "/img/react-native.svg",
"infoLink": "https://facebook.github.io/react-native",
"fbOpenSource": true,
"pinned": true
},
{
"caption": "React Native Elements",
"image": "/img/react-native-elements.png",
"infoLink": "https://react-native-training.github.io/react-native-elements/",
"fbOpenSource": false,
"pinned": false
},
{
"caption": "react-native-ios-kit",
"image": "/img/react-native-ios-kit.svg",
"infoLink": "https://callstack.github.io/react-native-ios-kit",
"fbOpenSource": false,
"pinned": false
},
{
"caption": "Reason",
"image": "/img/reason.svg",
"infoLink": "https://reasonml.github.io/",
"fbOpenSource": true,
"pinned": true
},
{
"caption": "ReasonReact",
"image": "/img/reason-react.svg",
"infoLink": "https://reasonml.github.io/reason-react/",
"fbOpenSource": true,
"pinned": true
},
{
"caption": "Rejoiner",
"image": "/img/rejoiner.svg",
"infoLink": "http://rejoiner.io/",
"fbOpenSource": false,
"pinned": false
},
{
"caption": "Relay",
"image": "/img/relay.svg",
"infoLink": "https://facebook.github.io/relay/",
"fbOpenSource": true,
"pinned": true
},
{
"caption": "Verdaccio",
"image": "http://www.verdaccio.org/img/[email protected]",
"infoLink": "http://www.verdaccio.org/",
"fbOpenSource": false,
"pinned": false
},
{
"caption": "Vuls",
"image": "https://vuls.io/img/docs/vuls_logo.png",
"infoLink": "https://vuls.io/",
"fbOpenSource": false,
"pinned": false
},
{
"caption": "WarriorJS",
"image": "/img/warriorjs.svg",
"infoLink": "https://warrior.js.org/",
"fbOpenSource": false,
"pinned": false
}
]
16 changes: 11 additions & 5 deletions website/pages/en/users.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const React = require('react');
const CompLibrary = require('../../core/CompLibrary.js');
const Container = CompLibrary.Container;
const siteConfig = require(process.cwd() + '/siteConfig.js');
const translate = require("../../server/translate.js").translate;
const translate = require('../../server/translate.js').translate;

class Users extends React.Component {
render() {
Expand Down Expand Up @@ -42,7 +42,9 @@ class Users extends React.Component {
<Container padding={['bottom', 'top']}>
<div className="showcaseSection">
<div className="prose">
<h1><translate>Who is using Docusaurus?</translate></h1>
<h1>
<translate>Who is using Docusaurus?</translate>
</h1>
<p>
Docusaurus powers some of Facebook's popular{' '}
<a href="https://code.facebook.com/projects/">
Expand All @@ -53,15 +55,19 @@ class Users extends React.Component {
<div className="logos">{fbShowcase}</div>
<div className="prose">
<p>
<translate>Docusaurus is also used by open source projects of all sizes.</translate>
<translate>
Docusaurus is also used by open source projects of all sizes.
</translate>
</p>
</div>
<div className="logos">{showcase}</div>
<div className="prose">
<p><translate>Is your project using Docusaurus?</translate></p>
<p>
<translate>Is your project using Docusaurus?</translate>
</p>
<p>
Edit this page with a{' '}
<a href="https://github.com/facebook/docusaurus/edit/master/website/siteConfig.js">
<a href="https://github.com/facebook/docusaurus/edit/master/website/data/users.json">
Pull Request
</a>{' '}
to add your logo.
Expand Down
152 changes: 2 additions & 150 deletions website/siteConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,156 +5,8 @@
* LICENSE file in the root directory of this source tree.
*/

// List of projects/orgs using your project for the users page.
const users = [
{
caption: "Almin",
image: "/img/almin.png",
infoLink: "https://almin.js.org/",
fbOpenSource: false,
pinned: false,
},
{
caption: "BlueWhale",
image: "/img/BlueWhale.png",
infoLink: "https://facebookresearch.github.io/BlueWhale/",
fbOpenSource: true,
pinned: true,
},
{
caption: 'BuckleScript',
image: '/img/bucklescript.svg',
infoLink: 'https://bucklescript.github.io/',
fbOpenSource: false,
pinned: true,
},
{
caption: 'Dep',
image: '/img/golang-dep.svg',
infoLink: 'https://golang.github.io/dep/',
fbOpenSource: false,
pinned: false,
},
{
caption: 'Docusaurus',
image: '/img/docusaurus.svg',
infoLink: 'https://www.docusaurus.io',
fbOpenSource: true,
pinned: true,
},
{
caption: 'FastText',
image: '/img/fasttext.png',
infoLink: 'https://fasttext.cc',
fbOpenSource: true,
pinned: true,
},
{
caption: 'Facebook Instant Articles Rules Editor',
image: '/img/facebook-instant-articles-rules-editor.svg',
infoLink: 'https://facebook.github.io/facebook-instant-articles-rules-editor/',
fbOpenSource: true,
pinned: false,
},
{
caption: 'Goby',
image: 'https://goby-lang.org/img/goby-logo.svg',
infoLink: 'https://goby-lang.org',
fbOpenSource: false,
pinned: false,
},
{
caption: 'Home Assistant',
image: 'https://developers.home-assistant.io/img/logo-responsive.svg',
infoLink: 'https://developers.home-assistant.io/',
fbOpenSource: false,
pinned: false,
},
{
caption: 'Jest',
image: '/img/jest.png',
infoLink: 'https://facebook.github.io/jest/',
fbOpenSource: true,
pinned: true,
},
{
caption: 'MakeItOpen',
image: '/img/makeitopen.png',
infoLink: 'http://makeitopen.com/',
fbOpenSource: true,
pinned: true,
},
{
caption: 'Prettier',
image: '/img/prettier.png',
infoLink: 'https://www.prettier.io',
fbOpenSource: false,
pinned: true,
},
{
caption: 'React Native',
image: '/img/react-native.svg',
infoLink: 'https://facebook.github.io/react-native',
fbOpenSource: true,
pinned: true,
},
{
caption: 'React Native Elements',
image: '/img/react-native-elements.png',
infoLink: 'https://react-native-training.github.io/react-native-elements/',
fbOpenSource: false,
pinned: false,
},
{
caption: 'react-native-ios-kit',
image: '/img/react-native-ios-kit.svg',
infoLink: 'https://callstack.github.io/react-native-ios-kit',
fbOpenSource: false,
pinned: false,
},
{
caption: 'Reason',
image: '/img/reason.svg',
infoLink: 'https://reasonml.github.io/',
fbOpenSource: true,
pinned: true,
},
{
caption: 'ReasonReact',
image: '/img/reason-react.svg',
infoLink: 'https://reasonml.github.io/reason-react/',
fbOpenSource: true,
pinned: true,
},
{
caption: 'Rejoiner',
image: '/img/rejoiner.svg',
infoLink: 'http://rejoiner.io/',
fbOpenSource: false,
pinned: false,
},
{
caption: 'Relay',
image: '/img/relay.svg',
infoLink: 'https://facebook.github.io/relay/',
fbOpenSource: true,
pinned: true,
},
{
caption: 'Verdaccio',
image: 'http://www.verdaccio.org/img/[email protected]',
infoLink: 'http://www.verdaccio.org/',
fbOpenSource: false,
pinned: false,
},
{
caption: 'Vuls',
image: 'https://vuls.io/img/docs/vuls_logo.png',
infoLink: 'https://vuls.io/',
fbOpenSource: false,
pinned: false,
},
];
/* List of projects/orgs using your project for the users page */
const users = require('./data/users.json');

const siteConfig = {
title: 'Docusaurus',
Expand Down
Loading

0 comments on commit e2a59d6

Please sign in to comment.