Skip to content

Commit 5bee4a5

Browse files
committed
Merge pull request facebook#3803 from zpao/docs-fancy-authors
[docs] Give authors links.
2 parents 924328b + 81950ed commit 5bee4a5

File tree

82 files changed

+160
-101
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

82 files changed

+160
-101
lines changed

docs/_data/authors.yml

+53
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
# Map of short name to more information. `name` will be used but if you don't
2+
# want to use your real name, just use whatever. If url is included, your name
3+
# will be a link to the provided url.
4+
billandjing:
5+
name: Bill Fisher and Jing Chen
6+
chenglou:
7+
name: Cheng Lou
8+
url: https://twitter.com/_chenglou
9+
Daniel15:
10+
name: Daniel Lo Nigro
11+
url: http://dan.cx/
12+
fisherwebdev:
13+
name: Bill Fisher
14+
url: https://twitter.com/fisherwebdev
15+
jgebhardt:
16+
name: Jonas Gebhardt
17+
url: https://twitter.com/jonasgebhardt
18+
josephsavona:
19+
name: Joseph Savona
20+
url: https://twitter.com/en_JS
21+
kmeht:
22+
name: Kunal Mehta
23+
url: https://github.com/kmeht
24+
LoukaN:
25+
name: Lou Husson
26+
url: https://twitter.com/loukan42
27+
matthewjohnston4:
28+
name: Matthew Johnston
29+
url: https://github.com/matthewathome
30+
petehunt:
31+
name: Pete Hunt
32+
url: https://twitter.com/floydophone
33+
schrockn:
34+
name: Nick Schrock
35+
url: https://twitter.com/schrockn
36+
sebmarkbage:
37+
name: Sebastian Markbåge
38+
url: https://twitter.com/sebmarkbage
39+
spicyj:
40+
name: Ben Alpert
41+
url: http://benalpert.com
42+
steveluscher:
43+
name: Steven Luscher
44+
url: https://twitter.com/steveluscher
45+
vjeux:
46+
name: Vjeux
47+
url: https://twitter.com/vjeux
48+
wincent:
49+
name: Greg Hurrell
50+
url: https://twitter.com/wincent
51+
zpao:
52+
name: Paul O’Shannessy
53+
url: https://twitter.com/zpao

docs/_includes/blog_post.html

+26-6
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,30 @@
1-
<h1><a href="/react{{ page.url }}">{{ page.title }}</a></h1>
2-
<p class="meta">{{ page.date | date_to_string }} by {{ page.author }}</p>
1+
{% assign page = include.page %}
2+
{% assign author = site.data.authors[page.author] %}
33

4-
<div id="post">
5-
{% if content != '' %}
6-
{{ page.excerpt }}
4+
<h1>
5+
{% if include.isPermalink %}
6+
{{ page.title }}
77
{% else %}
8-
{{ page.content }}
8+
<a href="/react{{ page.url }}">{{ page.title }}</a>
99
{% endif %}
10+
</h1>
11+
12+
<p class="meta">
13+
{{ page.date | date: "%B %e, %Y" }}
14+
by
15+
{% if author.url %}
16+
<a href="{{author.url}}">{{ author.name }}</a>
17+
{% else %}
18+
{{ author.name }}
19+
{% endif %}
20+
</p>
21+
22+
<hr>
23+
24+
<div class="post">
25+
{{ include.content }}
1026
</div>
27+
28+
{% if include.isPermalink %}
29+
<div class="fb-like" data-send="true" data-width="650" data-show-faces="false"></div>
30+
{% endif %}

docs/_layouts/post.html

+1-10
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,6 @@
66
<section class="content wrap blogContent">
77
{% include nav_blog.html %}
88
<div class="inner-content">
9-
<h1>{{ page.title }}</h1>
10-
<p class="meta">{{ page.date | date: "%B %e, %Y" }} by {{ page.author }}</p>
11-
12-
<hr>
13-
14-
<div class="post">
15-
{{ content }}
16-
</div>
17-
18-
<div class="fb-like" data-send="true" data-width="650" data-show-faces="false"></div>
9+
{% include blog_post.html isPermalink="true" page=page content=content %}
1910
</div>
2011
</section>

docs/_posts/2013-06-02-jsfiddle-integration.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: JSFiddle Integration
3-
author: Christopher Chedeau
3+
author: vjeux
44
---
55

66
[JSFiddle](https://jsfiddle.net) just announced support for React. This is an exciting news as it makes collaboration on snippets of code a lot easier. You can play around this **[base React JSFiddle](https://jsfiddle.net/vjeux/kb3gN/)**, fork it and share it! A [fiddle without JSX](https://jsfiddle.net/vjeux/VkebS/) is also available.

docs/_posts/2013-06-05-why-react.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Why did we build React?
3-
author: Pete Hunt
3+
author: petehunt
44
---
55

66
There are a lot of JavaScript MVC frameworks out there. Why did we build React

docs/_posts/2013-06-12-community-roundup.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "Community Round-up #1"
3-
author: Vjeux
3+
author: vjeux
44
---
55

66
React was open sourced two weeks ago and it's time for a little round-up of what has been going on.

docs/_posts/2013-06-19-community-roundup-2.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "Community Round-up #2"
3-
author: Vjeux
3+
author: vjeux
44
---
55

66
Since the launch we have received a lot of feedback and are actively working on React 0.4. In the meantime, here are the highlights of this week.

docs/_posts/2013-06-21-react-v0-3-3.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "React v0.3.3"
3-
author: Paul O'Shannessy
3+
author: zpao
44
---
55

66
We have a ton of great stuff coming in v0.4, but in the meantime we're releasing v0.3.3. This release addresses some small issues people were having and simplifies our tools to make them easier to use.

docs/_posts/2013-06-27-community-roundup-3.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "Community Round-up #3"
3-
author: Vjeux
3+
author: vjeux
44
---
55

66
The highlight of this week is that an interaction-heavy app has been ported to React. React components are solving issues they had with nested views.

docs/_posts/2013-07-02-react-v0-4-autobind-by-default.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "New in React v0.4: Autobind by Default"
3-
author: Paul O'Shannessy
3+
author: zpao
44
---
55

66
React v0.4 is very close to completion. As we finish it off, we'd like to share with you some of the major changes we've made since v0.3. This is the first of several posts we'll be making over the next week.

docs/_posts/2013-07-03-community-roundup-4.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "Community Round-up #4"
3-
author: Vjeux
3+
author: vjeux
44
---
55

66
React reconciliation process appears to be very well suited to implement a text editor with a live preview as people at Khan Academy show us.

docs/_posts/2013-07-11-react-v0-4-prop-validation-and-default-values.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "New in React v0.4: Prop Validation and Default Values"
3-
author: Paul O'Shannessy
3+
author: zpao
44
---
55

66
Many of the questions we got following the public launch of React revolved around `props`, specifically that people wanted to do validation and to make sure their components had sensible defaults.

docs/_posts/2013-07-17-react-v0-4-0.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "React v0.4.0"
3-
author: Paul O'Shannessy
3+
author: zpao
44
---
55

66
Over the past 2 months we've been taking feedback and working hard to make React even better. We fixed some bugs, made some under-the-hood improvements, and added several features that we think will improve the experience developing with React. Today we're proud to announce the availability of React v0.4!

docs/_posts/2013-07-23-community-roundup-5.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "Community Round-up #5"
3-
author: Vjeux
3+
author: vjeux
44
---
55

66
We launched the [React Facebook Page](https://www.facebook.com/react) along with the React v0.4 launch. 700 people already liked it to get updated on the project :)

docs/_posts/2013-07-26-react-v0-4-1.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "React v0.4.1"
3-
author: Paul O'Shannessy
3+
author: zpao
44
---
55

66
React v0.4.1 is a small update, mostly containing correctness fixes. Some code has been restructured internally but those changes do not impact any of our public APIs.

docs/_posts/2013-07-30-use-react-and-jsx-in-ruby-on-rails.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "Use React and JSX in Ruby on Rails"
3-
author: Paul O'Shannessy
3+
author: zpao
44
---
55

66
Today we're releasing a gem to make it easier to use React and JSX in Ruby on Rails applications: [react-rails](https://github.com/facebook/react-rails).

docs/_posts/2013-08-05-community-roundup-6.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "Community Round-up #6"
3-
author: Vjeux
3+
author: vjeux
44
---
55

66
This is the first Community Round-up where none of the items are from Facebook/Instagram employees. It's great to see the adoption of React growing.

docs/_posts/2013-08-19-use-react-and-jsx-in-python-applications.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "Use React and JSX in Python Applications"
3-
author: Kunal Mehta
3+
author: kmeht
44
---
55

66
Today we're happy to announce the initial release of [PyReact](https://github.com/facebook/react-python), which makes it easier to use React and JSX in your Python applications. It's designed to provide an API to transform your JSX files into JavaScript, as well as provide access to the latest React source files.

docs/_posts/2013-08-26-community-roundup-7.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "Community Round-up #7"
3-
author: Vjeux
3+
author: vjeux
44
---
55

66
It's been three months since we open sourced React and it is going well. Some stats so far:

docs/_posts/2013-09-24-community-roundup-8.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "Community Round-up #8"
3-
author: Vjeux
3+
author: vjeux
44
---
55

66
A lot has happened in the month since our last update. Here are some of the more interesting things we've found. But first, we have a couple updates before we share links.

docs/_posts/2013-10-16-react-v0.5.0.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "React v0.5"
3-
author: Paul O'Shannessy
3+
author: zpao
44
---
55

66
This release is the result of several months of hard work from members of the team and the community. While there are no groundbreaking changes in core, we've worked hard to improve performance and memory usage. We've also worked hard to make sure we are being consistent in our usage of DOM properties.

docs/_posts/2013-10-29-react-v0-5-1.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "React v0.5.1"
3-
author: Paul O'Shannessy
3+
author: zpao
44
---
55

66
This release focuses on fixing some small bugs that have been uncovered over the past two weeks. I would like to thank everybody involved, specifically members of the community who fixed half of the issues found. Thanks to [Ben Alpert][1], [Andrey Popp][2], and [Laurence Rowe][3] for their contributions!

docs/_posts/2013-10-3-community-roundup-9.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "Community Round-up #9"
3-
author: Vjeux
3+
author: vjeux
44
---
55

66
We organized a React hackathon last week-end in the Facebook Seattle office. 50 people, grouped into 15 teams, came to hack for a day on React. It was a lot of fun and we'll probably organize more in the future.

docs/_posts/2013-11-05-thinking-in-react.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "Thinking in React"
3-
author: Pete Hunt
3+
author: petehunt
44
---
55

66
React is, in my opinion, the premier way to build big, fast Web apps with JavaScript. It has scaled very well for us at Facebook and Instagram.

docs/_posts/2013-11-06-community-roundup-10.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "Community Round-up #10"
3-
author: Vjeux
3+
author: vjeux
44
---
55

66
This is the 10th round-up already and React has come quite far since it was open sourced. Almost all new web projects at Khan Academy, Facebook, and Instagram are being developed using React. React has been deployed in a variety of contexts: a Chrome extension, a Windows 8 application, mobile websites, and desktop websites supporting Internet Explorer 8! Language-wise, React is not only being used within JavaScript but also CoffeeScript and ClojureScript.

docs/_posts/2013-11-18-community-roundup-11.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "Community Round-up #11"
3-
author: Vjeux
3+
author: vjeux
44
---
55

66
This round-up is the proof that React has taken off from its Facebook's root: it features three in-depth presentations of React done by external people. This is awesome, keep them coming!

docs/_posts/2013-12-18-react-v0.5.2-v0.4.2.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "React v0.5.2, v0.4.2"
3-
author: Paul O'Shannessy
3+
author: zpao
44
---
55

66
Today we're releasing an update to address a potential XSS vulnerability that can arise when using user data as a `key`. Typically "safe" data is used for a `key`, for example, an id from your database, or a unique hash. However there are cases where it may be reasonable to use user generated content. A carefully crafted piece of content could result in arbitrary JS execution. While we make a very concerted effort to ensure all text is escaped before inserting it into the DOM, we missed one case. Immediately following the discovery of this vulnerability, we performed an audit to ensure we this was the only such vulnerability.

docs/_posts/2013-12-19-react-v0.8.0.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "React v0.8"
3-
author: Paul O'Shannessy
3+
author: zpao
44
---
55

66
I'll start by answering the obvious question:

docs/_posts/2013-12-23-community-roundup-12.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "Community Round-up #12"
3-
author: Vjeux
3+
author: vjeux
44
---
55

66
React got featured on the front-page of Hacker News thanks to the Om library. If you try it out for the first time, take a look at the [docs](/react/docs/getting-started.html) and do not hesitate to ask questions on the [Google Group](https://groups.google.com/group/reactjs), [IRC](irc://chat.freenode.net/reactjs) or [Stack Overflow](http://stackoverflow.com/questions/tagged/reactjs). We are trying our best to help you out!

docs/_posts/2013-12-30-community-roundup-13.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "Community Round-up #13"
3-
author: Vjeux
3+
author: vjeux
44
---
55

66
Happy holidays! This blog post is a little-late Christmas present for all the React users. Hopefully it will inspire you to write awesome web apps in 2014!

docs/_posts/2014-01-02-react-chrome-developer-tools.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "React Chrome Developer Tools"
3-
author: Sebastian Markbåge
3+
author: sebmarkbage
44
---
55

66
With the new year, we thought you'd enjoy some new tools for debugging React code. Today we're releasing the [React Developer Tools](https://chrome.google.com/webstore/detail/react-developer-tools/fmkadmapgofadopljbjfkapdkoienihi), an extension to the Chrome Developer Tools. [Download them from the Chrome Web Store](https://chrome.google.com/webstore/detail/react-developer-tools/fmkadmapgofadopljbjfkapdkoienihi).

docs/_posts/2014-01-06-community-roundup-14.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "Community Round-up #14"
3-
author: Vjeux
3+
author: vjeux
44
---
55

66
The theme of this first round-up of 2014 is integration. I've tried to assemble a list of articles and projects that use React in various environments.

docs/_posts/2014-02-05-community-roundup-15.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "Community Round-up #15"
3-
author: Jonas Gebhardt
3+
author: jgebhardt
44
---
55

66
Interest in React seems to have surged ever since David Nolen ([@swannodette](https://twitter.com/swannodette))'s introduction of [Om](https://github.com/swannodette/om) in his post ["The Future of Javascript MVC Frameworks"](https://swannodette.github.io/2013/12/17/the-future-of-javascript-mvcs/).

docs/_posts/2014-02-15-community-roundup-16.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "Community Round-up #16"
3-
author: Jonas Gebhardt
3+
author: jgebhardt
44
---
55

66
There have been many posts recently covering the <i>why</i> and <i>how</i> of React. This week's community round-up includes a collection of recent articles to help you get started with React, along with a few posts that explain some of the inner workings.

docs/_posts/2014-02-16-react-v0.9-rc1.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: React v0.9 RC
3-
author: Ben Alpert
3+
author: spicyj
44
---
55

66
We're almost ready to release React v0.9! We're posting a release candidate so that you can test your apps on it; we'd much prefer to find show-stopping bugs now rather than after we release.

docs/_posts/2014-02-20-react-v0.9.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: React v0.9
3-
author: Ben Alpert
3+
author: spicyj
44
---
55

66
I'm excited to announce that today we're releasing React v0.9, which incorporates many bug fixes and several new features since the last release. This release contains almost four months of work, including over 800 commits from over 70 committers!

docs/_posts/2014-02-24-community-roundup-17.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "Community Round-up #17"
3-
author: Jonas Gebhardt
3+
author: jgebhardt
44
---
55

66

docs/_posts/2014-03-14-community-roundup-18.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "Community Round-up #18"
3-
author: Jonas Gebhardt
3+
author: jgebhardt
44
---
55

66
In this Round-up, we are taking a few closer looks at React's interplay with different frameworks and architectures.

docs/_posts/2014-03-19-react-v0.10-rc1.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: React v0.10 RC
3-
author: Paul O’Shannessy
3+
author: zpao
44
---
55

66
[v0.9 has only been out for a month](/react/blog/2014/02/20/react-v0.9.html), but we’re getting ready to push out v0.10 already. Unlike v0.9 which took a long time, we don't have a long list of changes to talk about.

0 commit comments

Comments
 (0)