Commit Graph

349 Commits

Author SHA1 Message Date
Paul O’Shannessy
1910d7fc0b Put nav data in "_data"
New in Jekyll 1.3 - http://jekyllrb.com/docs/datafiles/
2013-11-19 15:52:42 -08:00
Paul O’Shannessy
c275a8fd67 Fix pagination 2013-11-19 15:25:00 -08:00
Paul O’Shannessy
1e6079ebdb Update jekyll to 1.3 2013-11-19 15:18:15 -08:00
Vjeux
5de8c28a86 Community round-up #11 2013-11-19 22:56:34 +01:00
Cheng Lou
289841e14f docs highlight className and htmlFor transforms 2013-11-18 21:42:51 -05:00
Cheng Lou
aee4f20c00 docs classSet semicolons missing 2013-11-18 21:22:14 -05:00
Paul O’Shannessy
36515bb9eb Merge branch 'chenglou-classSet'
closes #463
2013-11-18 18:00:24 -08:00
Paul O’Shannessy
927cec524d Merge pull request #539 from spicyj/doc-anchors-again
Make doc headers clickable again
2013-11-18 17:45:39 -08:00
Ben Alpert
dd6f1aee22 Make doc headers clickable again
...without preventing clicks on other things.

Just use an `<a name="...">` tag that doesn't take up any space to make sure that we're not covering up something else.

For whatever reason, doing `position: relative; top: -$navHeight;` doesn't work and causes the anchor target not to be moved up. This solution works in both Chrome and Firefox.
2013-11-18 17:34:44 -08:00
Pieter Vanderwerff
711d247240 Set docs menu item to active when viewing a “tips” page 2013-11-15 15:27:31 +13:00
Paul O’Shannessy
0565c94864 Merge pull request #362 from mcsheffrey/feat-documentation-cookbook
React Tips documentation
2013-11-14 14:59:41 -08:00
Paul O’Shannessy
67c99a9c51 formatting and syntax on false in JSX tip 2013-11-13 17:43:17 -08:00
Paul O’Shannessy
59575acb4a Update wording on AJAX tip 2013-11-13 17:43:17 -08:00
Paul O’Shannessy
5c8c2b6f7b Fix broken link, spacing on events tip 2013-11-13 17:43:17 -08:00
Paul O’Shannessy
f95424a08a s/Zuck/Rogers/ 2013-11-13 17:43:17 -08:00
Paul O’Shannessy
55b5cfe075 Fix broken link on componentWillReceiveProps tip 2013-11-13 17:43:16 -08:00
Paul O’Shannessy
679397f60e fix broken link on controlled input tip 2013-11-13 17:43:16 -08:00
Paul O’Shannessy
710f54b605 Children props tip tweak 2013-11-13 17:43:16 -08:00
Paul O’Shannessy
c98bb39b26 Fix broken link, formatting on px style tip 2013-11-13 17:43:16 -08:00
Paul O’Shannessy
efb8d5c6d5 Tweak for self closing tag tip 2013-11-13 17:43:16 -08:00
Paul O’Shannessy
9bde5abedc Tweaks to if-else tip 2013-11-13 17:43:16 -08:00
Paul O’Shannessy
47d5b9c302 Small cleanup to style tips 2013-11-13 17:43:16 -08:00
Pete Hunt
b99c50bf44 Merge pull request #460 from chenglou/opacity-1
fix doc & example transition opacity from .99 to 1
2013-11-13 17:31:08 -08:00
Paul O’Shannessy
04fd4e96c4 Merge pull request #522 from pieter-vanderwerff/blog-footer-position-fix
Added clearfix to blog content holder
2013-11-13 12:28:34 -08:00
Paul O’Shannessy
155e62b86d Merge pull request #493 from guidobouman/master
Prevent header anchors from interfering with clickable content in docs.
2013-11-13 12:23:57 -08:00
Pieter Vanderwerff
6fd0fabda9 Added clearfix to blog content holder 2013-11-13 15:01:32 +13:00
Paul O’Shannessy
7f9c7c1f80 Small cleanup to tips intro 2013-11-12 13:22:55 -08:00
Connor McSheffrey
b8c7f3cdfd Renamed Cookbook references to tips. Reworded intro (sounded weird because it still referenced cookbooks. Updated some entry ID's (some side nav links didn't match entry permalinks) 2013-11-11 21:00:53 -08:00
Fabio M. Costa
d469a4e694 Fixes the name of the component on documentation
AvatarImage -> Avatar
2013-11-10 11:52:41 -08:00
Cheng Lou
12d16c92d8 update add-ons docs based on feedbacks
- Overview of add-ons for the add-ons page.
- Better title for `ReactLink`.
- Nicer code format for classSet example.
- Better explanation for `classSet`.
2013-11-08 16:55:14 -05:00
petehunt
ee83ad9f88 Make state immutable in tutorial (eek) 2013-11-08 13:27:20 -08:00
Guido Bouman
7473b3b2aa Prevents header anchors from interfering with clickable content. 2013-11-08 15:52:46 +01:00
Cheng Lou
4217596377 move docs tooling from JSX in Depth
Also removes the code wrap around the syntax highlighting link.
2013-11-07 14:25:54 -05:00
Vjeux
aca39bc464 Community round-up #10 2013-11-06 12:36:30 -08:00
Ben Alpert
ca972443e7 Use smaller blog images and host directly 2013-11-05 18:54:29 -08:00
Cheng Lou
686ea54857 add docs lowercase mention for data- and aria- 2013-11-05 21:02:06 -05:00
Andrey Popp
0d758e0800 "Thinking in React": fix list formatting 2013-11-06 03:50:28 +04:00
Paul O’Shannessy
3a062af469 Move header link styling out of documentation only
It's used in blog posts too. I also constrained it to just the anchor
class to avoid any other headers we have.
2013-11-05 15:04:57 -08:00
petehunt
efa5a1a464 rename 2013-11-05 14:25:46 -08:00
petehunt
2e8c5d93b5 rename 2013-11-05 14:23:12 -08:00
petehunt
938c2f2c08 make props/state section less intense 2013-11-05 14:21:15 -08:00
petehunt
68dc2e4cae blogify 2013-11-05 14:21:15 -08:00
Paul O’Shannessy
67d4e7ebaf Remove jQuery version number from tutorial docs 2013-11-05 11:29:00 -08:00
Ben Alpert
2f08e7f3d0 tutorial: Simplify ajax options
dataType was unnecessary; mimeType was both unnecessary and wrong in this case. Also removed an unnecessary bind and changed pollInterval to 2000 ms for consistency with https://github.com/petehunt/react-tutorial (faster is nicer if you actually try it out!).
2013-11-05 11:17:37 -08:00
Cheng Lou
df40e92e29 fix title case for docs tips everywhere 2013-11-05 09:57:00 -05:00
petehunt
7c9eb94833 Update tutorial to use className 2013-11-04 17:04:25 -08:00
Paul O’Shannessy
9b3c3b63e2 [docs] Clarify when getInitialState is called. 2013-11-01 15:29:10 -07:00
Cheng Lou
87c91649f3 add docs on classSet add-on 2013-10-31 21:59:35 -04:00
Cheng Lou
c60838de08 split add-ons into subsections
In preparation for documenting `classSet` add-on.
2013-10-31 21:10:19 -04:00
Cheng Lou
c4ad7db26f fix doc & example transition opacity from .99 to 1
The initial thought was that an opacity animation from 0.01 to 1 causes trouble on some browser. But after testing on opera 12.15, ff 23, ie 10, chrome 30, desktop/mobile safari 7 and chrome android I confirm this works.
2013-10-31 17:35:38 -04:00