Commit Graph

699 Commits

Author SHA1 Message Date
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
Spencer Ahrens 16271ce365 Add summery blurb to landing page. 2015-03-26 09:54:52 -07:00
Ben Alpert 2d23c2fe1f Switch nav design 2015-03-26 09:53:54 -07:00
Tadeu Zagallo df7d9c27f9 [ReactNative][Docs] Add docs to LinkingIOS 2015-03-26 16:35:05 +00:00
Krzysztof Magiera 1976edc9d8 Update tutorial images. 2015-03-26 09:06:30 -07:00
Christopher Chedeau 8b8e9f906a Update website 2015-03-26 06:43:45 -07:00
Tadeu Zagallo 17fb98ea85 [docs] Fix 0 being rendered on functions with 0 args 2015-03-26 09:15:45 +00:00
Spencer Ahrens 138371ca60 Merge pull request #206 from sahrens/docs
Better debugger photo.
2015-03-25 23:02:35 -07:00
Ben Alpert 885d2500c7 New tagline 2015-03-25 23:01:13 -07:00
Spencer Ahrens 8bdce3c0c2 Better debugger photo. 2015-03-25 22:58:56 -07:00
Ben Alpert f0e92f6a40 [website] Avoid 'module.exports = React.createClass' 2015-03-25 22:58:40 -07:00
Spencer Ahrens b5c1775beb Improve landing page. 2015-03-25 20:57:23 -07:00
Christopher Chedeau 119a050ed8 Make images work 2015-03-25 20:30:41 -07:00
Ben Alpert b900ce2efa [website] Stack Overflow tags are hyphenated 2015-03-25 19:19:47 -07:00
Ben Alpert 7f84c3d7b2 [website] Tweak homepage layout 2015-03-25 19:17:54 -07:00
Christopher Chedeau b1a84f711c Merge pull request #202 from sahrens/docs
Docs
2015-03-25 19:16:55 -07:00
Ben Alpert 8d2632bfd1 [website] White OG image, favicon 2015-03-25 18:47:03 -07:00
Spencer Ahrens 220a9cbc1d Improve landing page. 2015-03-25 18:37:30 -07:00
Christopher Chedeau f61352eb4f Correct capitalization for Geo*l*ocation 2015-03-25 15:15:12 -07:00
Paul O’Shannessy 4e7c33088b Increase base font-weight
300 is too light for an already light typeface, especially on body type.
2015-03-25 15:09:03 -07:00
Eric Vicenti 00f2a7b016 Avoid empty methods section in docs 2015-03-25 14:26:56 -07:00
Christopher Chedeau a7452c4a5f White logo 2015-03-25 13:32:42 -07:00
Eric Vicenti 6271f81a60 Don't document private methods 2015-03-25 12:39:57 -07:00
Christopher Chedeau 4eab005009 Improve style docs 2015-03-25 11:36:37 -07:00
Christopher Chedeau 4681da5420 Add geolocation polyfill 2015-03-24 21:13:55 -07:00
Christopher Chedeau d7d7e99c7d Add new files to docs 2015-03-24 20:38:29 -07:00
Christopher Chedeau 8068c65f12 Initial pass at the front-page 2015-03-24 16:12:19 -07:00
Felix Kling 8106d6fd0a Updated documentation generator
... to handle Object.assign(Object.create(foo), { ... })
2015-03-24 16:10:28 -07:00
Christopher Chedeau c676e9dccc Rename LayoutPropTypes to Flexbox 2015-03-24 09:24:15 -07:00
Felix Kling d5f670d19c Add logic to show style props in docs 2015-03-23 11:34:20 -07:00
Christopher Chedeau e811181034 Add copyright header on website files 2015-03-23 10:56:09 -07:00
Christopher Chedeau a738b49ae2 Website: initial page for videos 2015-03-23 09:48:43 -07:00
Christopher Chedeau 4f8a86e8d7 Website tweaks 2015-03-21 10:59:41 -07:00
Christopher Chedeau a66fad52b6 Updates from Fri 20 Mar
- declare timeoutID | Basil Hosmer
- [react-packager] Allow entry point extensions like .ios.js | Amjad Masad
- [react-native] Use SpreadProperty to make react-docgen happy | Felix Kling
- clean Examples/2048 | Basil Hosmer
- [ReactNative] Adjust packager default root when running from within node_modules | Alex Kotliarskyi
- [ReactNative] Add missing websocket dependency | Alex Kotliarskyi
- [react-packager] change all but one `ix` to `require` | Amjad Masad
2015-03-21 10:23:15 -07:00
Christopher Chedeau e2e123c2ab Random changes in the website 2015-03-19 13:55:59 -07:00
Christopher Chedeau 55598f913c [website] Expose all the functions exported by react-native in the docs 2015-03-17 20:41:06 -07:00
Felix Kling 84207f2ec8 Use npm version of react-docgen 2015-03-16 15:06:57 -07:00
Christopher Chedeau 85a13b48eb [website] Do not absorb spaces in markdown comments 2015-03-16 09:24:33 -07:00
Christopher Chedeau a68f2b50a4 Trying again... 2015-03-15 20:27:08 -07:00
Christopher Chedeau 0001b9845d Attempt n+1 2015-03-15 20:16:48 -07:00
Christopher Chedeau 7c9969025e Make the publish script exit with code 0 even if there's nothing changed 2015-03-15 20:06:18 -07:00
Christopher Chedeau 591d7b321f Make the publish script faster by not converting all the files on every file 2015-03-15 19:54:14 -07:00
Christopher Chedeau ad3192c360 Attempt #5 2015-03-15 19:32:59 -07:00
Christopher Chedeau 1a48ef37f3 Attempt at getting Travis CI to automatically push the website 2015-03-15 18:46:48 -07:00
Christopher Chedeau 032449c54c [Website] Fix typehint parsing and add header between description and props/methods 2015-03-14 18:10:24 -07:00
Christopher Chedeau 2cdce0f3df [Website] Use postinstall hook to npm install react-docgen 2015-03-13 21:20:55 -07:00
Christopher Chedeau 28aa691d13 Updates from Fri 13 Mar
- [ReactNative] Oss ActionSheet | Tadeu Zagallo
- [ReactNative] Fix ScrollView.scrollTo() | Christopher Chedeau
- [catalyst|madman] fix location observer | Jiajie Zhu
- [ReactNative] Remove keyboardDismissMode from static | Christopher Chedeau
- [ReactNative] Fix RCTMapManager retaining cycle | Tadeu Zagallo
- [ReactNative] Support loading sourcemaps from sourceMappingURL | Alex Kotliarskyi
- [catalyst] set up directory specific rql transform | Bhuwan Khattar
- [React Native] Add .done() to terminate promise chains | Ben Alpert
- [React Native] add support for reading tracking bit | Owen Coutts
2015-03-13 15:30:31 -07:00
Christopher Chedeau 9f37aea739 Support flow and @param type hints 2015-03-12 11:36:45 -07:00
Christopher Chedeau 33bfb322ad Wire up jsdocs for apis 2015-03-12 11:04:06 -07:00
Ryan Rhee 74b9bc1311 [website] the react npm package doesn't capitalize the r 2015-03-11 14:17:18 -07:00
Christopher Chedeau 83581cfe6b Initial import of the lib to parse javascript code, in the same vein as we parse React proptypes 2015-03-10 13:56:32 -07:00
Christopher Chedeau 05ec075c94 [Website] Better summary for propTypes 2015-03-09 13:25:01 -07:00
Christopher Chedeau f87b0cb495 [Website] Add a link when composing prop types 2015-03-09 11:59:26 -07:00
Christopher Chedeau 990979f8a6 Merge pull request #123 from kennydee/fix-website-readme
Small improvement on the website readme.md
2015-03-05 09:23:21 -08:00
Felix Kling c0b0111e3a Update react-docgen 2015-03-05 00:37:02 -08:00
Kenny Dits @kenny_dee b05ca6e604 Add the temporary react-docgen instruction 2015-03-05 09:26:32 +01:00
Christopher Chedeau b9ab607197 Use docs/ComponentName.md at the end of the component docs 2015-03-04 21:03:24 -08:00
Christopher Chedeau d935f4554b Improvements in the docs generation 2015-03-04 18:10:32 -08:00
Felix Kling 74824cb96e Update react-docgen 2015-03-04 13:37:05 -08:00
Felix Kling f77d9f8bae Update react-docgen 2015-03-02 17:31:26 -08:00
Felix Kling 472c287cd3 Update react-docgen and ignore pages with no header 2015-02-18 16:39:28 -08:00
Andrew Turner 7cb5ac230e removed 2014 from copyright 2015-02-12 18:34:38 -06:00
Andrew Turner fe0054f70f Merge branch 'master' into copyright-patch 2015-02-12 18:32:21 -06:00
Christopher Chedeau 70f28332b6 Initial version of the automatically generated docs 2015-02-12 14:44:00 -08:00
Felix Kling 2f322bf895 Update react-docgen 2015-02-12 13:46:49 -08:00
Felix Kling ba7021f6f8 Adding react-docgen for documentation generation
Usage: cd website/react-docgen && npm install
or: cd website/react-docgen && npm install -g ./
2015-02-12 11:56:40 -08:00
Christopher Chedeau bd53b4191f setup twitter feed and google analytics 2015-02-12 11:52:23 -08:00
Andrew Turner f10bdd205e updated copyright year 2015-02-11 23:15:08 -06:00
Christopher Chedeau 9231d4f8f0 Initial version of the website and docs. 2015-02-11 20:26:43 -08:00