Commit Graph

224 Commits

Author SHA1 Message Date
Christopher Chedeau 00ceec9def Fix website with Animated
Animated.js has been renamed (and moved) to AnimatedImplementation.js, so we need to update the path and add another translation rule.
2015-09-22 12:54:04 -07:00
Dmitry e56ec9da35 Add Hashley app to Showcase 2015-09-22 19:00:51 +05:00
Sonny Lazuardi f7af11a734 Showcase: New app "Ziliun" 2015-09-19 00:10:34 +07:00
Christopher Chedeau 5745b8fb37 Bring back the sync tool to a good state
Differential Revision: D2448321
2015-09-17 17:19:51 -07:00
Jimmy Mayoukou c153e9bbbf missing semicolon in Java example. 2015-09-15 01:32:50 +02:00
gubatron 7995f28a11 [website] missing parenthesis in java example. 2015-09-14 14:22:47 -04:00
Martin Konicek 42eb5464fd Release React Native for Android
This is an early release and there are several things that are known
not to work if you're porting your iOS app to Android.

See the Known Issues guide on the website.

We will work with the community to reach platform parity with iOS.
2015-09-14 18:13:39 +01:00
James Ide 9d36fc6a71 Merge pull request #2654 from browniefed/fixLinkedDocumentation
Add back Transform/Flexbox links to style documentation
2015-09-12 15:55:20 -07:00
Jason Brown 627d5a8e7e Fix documentation by adding propTypeCompositionHandler 2015-09-12 09:53:01 -07:00
Liubko 6a9838a748 Showcase: add 'FastPaper' app 2015-09-11 16:17:56 +03:00
Tyler McGinnis a53b77949f Alphabetize list. 2015-09-07 18:24:03 +01:00
Tyler McGinnis 9023e19dc3 Add Spero for Cancer to React Native showcase 2015-09-07 10:40:24 +01:00
Steve f4a1382cd8 Showcase: New app "SG Toto 4d" 2015-09-06 10:10:07 +08:00
Stanislav Vishnevskiy 3c1235f377 Showcase: New app "Discord" 2015-09-05 17:55:50 -07:00
philipp.krone 1f4d52e4f2 Showcase: New app "Yoloci" 2015-09-05 12:18:06 +02:00
Spencer Ahrens dfdef9a02a [autodocs] add doc blocks to more things 2015-09-03 11:53:20 -07:00
Dan Scanlon 3f0a936e1c Add "Tabtor Parent" insights app to showcase. 2015-09-02 19:51:23 -04:00
Spencer Ahrens 2fc8ca01f9 Merge pull request #2517 from sahrens/animatedDocGen
[Docs] Expand API parsing and rendering
2015-09-01 14:15:12 -07:00
Spencer Ahrens 126928b0b4 [Docs] Expand API parsing and rendering
The `Animated` module exposes a lot of functionality, including internal
classes. This diff extracts properties and classes from modules and renders them
recursively.

This also adds `Animated` to the autogen docs now that they more capable,
although it needs way more docblocks and such which will come later.
2015-09-01 14:14:47 -07:00
Braden Simpson c78b33b942 Style fixes for showcase 2015-08-31 20:49:19 -07:00
Braden Simpson 19df8ba698 Add leanpub to the list of showcase apps. 2015-08-31 17:06:54 -07:00
Spencer Ahrens 51b1f399be Update auto gen docs
* docgen -> v2.0.1 to support ES6 classes.
* Add `<Modal>` and `<ProgressViewIOS>` components to docs.
2015-08-31 12:23:11 -07:00
Luke Dubert c086a352b3 [Showcase] fix broken icon link 2015-08-31 12:46:15 -04:00
Brent Vatne fdc7d49a08 [Showcase] Add Exponent to the list 2015-08-30 13:44:37 -07:00
Brent Vatne b35a15135d [Showcase] Use the actual name from the Play store for Adverts Manager 2015-08-30 13:42:04 -07:00
Brent Vatne 2bc2534d91 [Showcase] Add a few more apps, improve styling 2015-08-30 13:38:09 -07:00
Eric Sauter 3357bec8c0 Add DropBot to Showcase 2015-08-28 10:39:52 -04:00
chirag04 791ed112f2 reduce the width on showcase items 2015-08-27 16:08:14 -04:00
Christopher Chedeau b1573a45a7 Merge pull request #2337 from chirag04/showcase
showcase link on React-native website.
2015-08-27 12:51:12 -07:00
Martin Konicek 480b5c9e2e [website] Fix website generation 2015-08-25 19:23:41 +01:00
chirag04 47d33eab8a add some apps using rn 2015-08-25 14:14:21 -04:00
chirag04 3123f05f3b showcase link on React-native website 2015-08-14 14:34:02 -04:00
Tadeu Zagallo eeb0adca43 [ReactNative][Website] Move bluebird to depencies instead of devDependencies 2015-08-13 14:10:56 +01:00
Tadeu Zagallo 4daca092d2 [ReactNative][Website] Fix tests 2015-08-13 13:31:50 +01:00
Christopher Chedeau 5ebe0ed717 Bust jest caching and fix tests 2015-08-11 11:02:19 -07:00
Christopher Chedeau c1a0a72275 [Website] Fix a-z order in props 2015-08-08 10:28:05 -07:00
Christopher Chedeau 6e9ceaa348 [Website] Platform-specific props
We are annotating platform-specific props with a special @platform tag in the docblocks. This pull request adds a little [ios] tag before the name and sorts the props such as generic ones are before platform-specific ones.
2015-08-07 10:31:07 -07:00
Brent Vatne 257bbb5255 [Docs] Add newsletter to top-level header 2015-08-04 13:47:52 -07:00
Brent Vatne 5222be0edf [Docs] Fix typo in docs index 2015-08-02 16:14:50 -07:00
Mu-An Chiou 129d1548a8 Add dynamic page title
Currently all the pages have the same title, making it hard to
tell which page is while when user has multiple tabs opened.
This adds 'title' to Site so a page title can be passed in and
prepended to the default title
2015-08-02 22:07:53 +08:00
Matthew Johnston 7a806f6d89 Update 404.js 2015-07-28 14:34:47 +01:00
Matthew Johnston 379444515b Adding 404.js to catch 404s on website 2015-07-28 14:22:13 +01:00
Christopher Chedeau 2771fc4c52 Add link for releases 2015-07-16 19:41:22 -07:00
Joshua Sierles 5af8849aa4 [Docs] Add a 'run this example' link to AlertIOS docs, plus supporting code to add more links progressively 2015-06-30 23:39:49 +02:00
Brent Vatne e1d5cadf44 [Docs] Add Animations guide 2015-06-20 09:17:36 -07:00
Dheeraj Kumar 321685209e Fix incorrect code sample
getInitialState and componentDidMount were nested inside the render method.
2015-06-19 23:04:18 +05:30
Brent Vatne 35a75950e0 [Docs] Better margins on sidebar 2015-06-18 07:55:26 -07:00
Zhao Han 13579d9dfd Add ActionSheetIOS to website 2015-06-10 22:41:21 -05:00
Brent Vatne 0c8c57503e Merge pull request #1126 from enaqx/patch-1
Add *.log to website directory .gitignore
2015-06-01 12:10:12 -07:00
Brent Vatne 1efd2c87c8 Merge pull request #1237 from nickhudkins/patch-1
[Docs] Correct homepage code examples
2015-05-28 16:36:21 -07:00
Brent Vatne 18a3d715ce [Docs] Remove indentation from codeblocks 2015-05-28 16:33:52 -07:00
Brent Vatne c2aa16607f [Docs] Clarify image docs for the current state of asset packaging 2015-05-25 12:24:50 -07:00
Zhao Han 1c05aff424 Add SegmentedControlIOS documentation to website 2015-05-14 22:22:31 -05:00
hansonw 97aad167a6 Fix jsdocs for multi-line ES6-style methods
Summary:
The function definition and body can be in different places for multi-line declarations, so the docblock might not get pulled in. None of the existing docs seem to be affected, but putting up the fix for posterity.

Test Plan:
I modified `AlertIOS.alert` (in Libraries/Utilties/AlertIOS.js) to actually have a docblock, and ran `website/publish.sh` (with the push bit commented out). The added doc doesn't get picked up with the current code, but it does with the fix.
2015-05-14 16:34:55 -07:00
Nick Hudkins 35590440d6 correct homepage code examples
The examples for Extensibility on the home page are broken :(.

RCT_EXPORT_MODULE() is missing, and RCT_EXPORT_VIEW_PROPERTY's signature has changed to accept a type as the 2nd argument.
2015-05-11 15:37:58 -04:00
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
Nick Raienko 962d88cb4a Add *.log to website directory 2015-05-04 02:32:20 +03: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