Commit Graph

118 Commits

Author SHA1 Message Date
Brent Vatne 120c32c52c [Docs] Don't show copyright/flow on APIs without docblock 2015-05-10 10:17:21 -07:00
Zhao Han 38c5be59b8 Fix issues#1223 2015-05-09 19:05:33 -05:00
Brent Vatne debd5b0942 [Docs] Remove Transforms from sidebar, add to Style 2015-05-07 16:05:30 -07:00
Brent Vatne 731d4a0610 Remove the deprecated transform propTypes 2015-05-07 12:50:41 -07:00
Brent Vatne b8ca4e450b Add TransformPropTypes to docs 2015-05-07 12:16:48 -07:00
Brent Vatne 42d4de9ce0 Remove unnecessary newline 2015-05-07 11:56:42 -07:00
Brent Vatne f878be84e6 Clarify transform for ViewStyleProps, generate union docs properly 2015-05-07 11:56:42 -07:00
Tadeu Zagallo e5b9eb5900 Merge pull request #1129 from umhan35/make-website-github-header-link-use-HTTPs
Update website header link github url: use HTTPS
2015-05-07 03:59:09 +01:00
Tadeu Zagallo 6899676bea Merge pull request #665 from yangguang2009/bugfix 2015-05-07 03:39:04 +01:00
Brent Vatne 77a3190606 [Docs] Remove deprecated styleProps
- rotation, scaleX/Y, translateX/Y all belong under transform from
  ViewStylePropTypes
2015-05-05 19:36:23 -07:00
Zhao Han 693ad91f86 Update website header link github url HTTPS
```
$ curl -I  http://github.com/facebook/react-native
HTTP/1.1 301 Moved Permanently
Content-length: 0
Location: https://github.com/facebook/react-native
Connection: close
```

This saves some network time.
2015-05-04 00:27:33 -05:00
Spencer Ahrens 8465859411 Fix doc generation for Geolocation 2015-04-24 13:14:24 -07:00
Spencer Ahrens bd165e86e1 Use requireNativeComponent in website landing page example. 2015-04-22 14:44:37 -07:00
Brent Vatne 9ee6cd6168 [Docs] Add TabBarIOS.Item to docs 2015-04-21 10:19:36 -07:00
Brent Vatne b0d2c3bb26 Fix website docs as well 2015-04-10 13:33:58 -07:00
Christopher Chedeau 1c7f39e461 Add JavaScript Environment in the docs and fix a few things 2015-04-08 11:06:56 -07:00
Ben Alpert 2d7c5c4746 Fail docs build on missing component file
This would have prevented #709.
2015-04-06 15:23:06 -07:00
Christopher Chedeau 6a97054696 Remove Animation from docs 2015-04-06 14:55:22 -07:00
yangguang f1b13681b4 fix the clerical error 2015-04-04 17:58:43 +08:00
Ben Alpert 0dff168820 Don't try to commit website on Travis if no changes
This was causing the build to fail if the website hadn't changed,
because `git commit` would exit 1. This matches what we do on React now.
2015-04-03 09:55:14 -07:00
Ben Alpert 48a993b5c5 Don't push on Travis before setting password 2015-04-01 18:51:06 -07:00
Ben Alpert d81cb6e162 Die with status 1 when website generation fails
So Travis won't wipe out the website on error. :\
2015-04-01 18:31:18 -07:00
Ben Alpert efe446e962 Fail generating website if any page throws an error
This will prevent us from having pages on the site that just show error
stack traces -- instead, Travis will fail with an error and we'll
notice sooner.

I cleaned up this logic to use promises which was eay easier to track
for the error behavior and should be simpler to follow regardless.
2015-04-01 17:42:33 -07:00
Christopher Chedeau 7a165db177 Use greedy regex for removing docblock 2015-04-01 08:54:20 -07:00
Christopher Chedeau 427d902e48 Support .ios.js examples 2015-03-31 14:05:27 -07:00
Christopher Chedeau 115b2a3fde fix ../ 2015-03-31 12:31:37 -07:00
Christopher Chedeau a4a551c571 Add examples at the end of the doc pages 2015-03-31 12:28:53 -07:00
Spencer Ahrens c8c4b41827 Merge pull request #242 from salutis/master
[website] Improve typography
2015-03-31 10:13:13 -07:00
Christopher Chedeau 536b4669a3 Add Edit on Github link on pages. cc @DMortens 2015-03-31 10:10:05 -07:00
Christopher Chedeau ed7b5cb187 Fix docs 2015-03-31 09:46:45 -07:00
John Wu 35bea5fddc Local image resources for docs 2015-03-31 23:24:37 +08:00
Tadeu Zagallo b06cdf0c5f Add screenshots to make it clearer 2015-03-29 00:50:38 +00:00
Francois Laberge f042227002 Added #content hash to debugging link so that it scrolls to start of text on mobile 2015-03-28 20:19:02 -04:00
Francois Laberge 4d33033344 Add basic documentation for debugging react native apps 2015-03-28 19:28:51 -04:00
Ben Alpert 7e9bbb61bf Merge pull request #381 from facebook/autopush-travis
Autobuild website on Travis
2015-03-27 20:14:07 -07:00
Ben Alpert 3b73a0f3bd Autobuild website on Travis
Had to change around the config since this is now a public repo so we
can't use SSH auth. This seems to work though.
2015-03-27 20:05:22 -07:00
Raphael Amorim 10c2205171 make a callback for server run only when done 2015-03-26 22:10:02 -03:00
Raphael Amorim e9ef277147 Fix log when execut npm start script 2015-03-26 22:00:08 -03:00
Rudolf Adamkovic 2e9adef52e [website] Improve typography 2015-03-26 20:50:35 +01:00
Ben Alpert b4da77a31f Merge pull request #223 from zpao/website-improvements
Website improvements
2015-03-26 12:27:34 -07:00
Paul O’Shannessy 35fa5aa762 [website] optimize images 2015-03-26 11:52:54 -07:00
Paul O’Shannessy 94c74bc6c4 [website] Allow top nav to overflow
This looks *less bad* than it currently does but it's still pretty
clowny.
2015-03-26 11:52:54 -07:00
Paul O’Shannessy 9c9992e298 [website] Don't link to #content for docs 2015-03-26 11:52:54 -07:00
Paul O’Shannessy c2df412264 [website] Overflow .prism
This should fix the remaining horizontal scrolls on mobile.
2015-03-26 11:52:54 -07:00
Paul O’Shannessy 79443d84c9 [website] use maxWidth in JS styles, CSS images
This is a quick fix for "responsive" views. It's not perfect but it's
less bad.
2015-03-26 11:52:49 -07:00
Alexsander Akers 821dcb5154 Merge pull request #220 from stevelacy/lint
Lint code - change double quotes to single in website/jsdocs
2015-03-26 18:37:50 +00:00
Spencer Ahrens 90f399c4d1 Fix typo. 2015-03-26 11:15:13 -07:00
Steve Lacy 5a4e780ac3 Lint code - change double quotes to single in website/jsdocs. Add/remove semicolons to keep code style 2015-03-26 11:14:54 -07:00
Ben Alpert 69e5233d4d Make open-source Travis build the website properly? 2015-03-26 10:54:09 -07:00
Spencer Ahrens 0c9571fce3 tweak website readme 2015-03-26 10:23:15 -07:00