Dan Abramov
0e87a042a8
Fix React links on the website ( #10837 )
...
* Fix React links on the website
* Fix code editor
* Fix code editor, attempt 2
2017-09-26 18:20:41 +01:00
Thibaut Rizzi
93bb40e871
Remove react proptypes references ( #9759 )
2017-09-10 17:37:22 -07:00
Joe Critchley
5f10cd25c2
[Docs] Show the name 'React' first in the homepage's <title> ( #9582 )
2017-05-02 14:22:24 +01:00
Daniel Lo Nigro
0bc3c0fa77
[site] Load libraries from unpkg ( #9499 )
...
* [site] Load libraries from unpkg
* Revert Gemfile changes
2017-04-26 14:02:50 +01:00
Bryan Braun
eabdc7bdeb
Replace the header_links plugin with client-side generated anchors. ( #4165 )
...
* Replace the header_links plugin with client-side generated anchors.
Fixes facebook/react#4124
* Move anchor-link code into a separate script
Also adds a couple comments, for context.
2017-03-01 11:52:54 -08:00
Karthik Chintapalli
49c4a363bc
Fixed stray text appearing on top of the navbar at small screen sizes ( #8681 )
2017-01-04 04:48:53 -08:00
Kevin Lacker
aa9544bfac
New Documentation
2016-10-21 20:59:08 +01:00
Dan Abramov
55f37b4576
Update the homepage with ES6 ( #7868 )
...
* Update the homepage with ES6
* Avoid array spread and stale state
2016-10-04 19:33:09 +01:00
Paul O’Shannessy
24d53c1c37
Finish Jekyll 3 Upgrade
...
- Reverts change to use sectionid on layouts (was unreliable), using config to make sure that's specified on all pages that need it
- Adds permalinks to all other pages so that og data is correct
- Corrects some permalinks that were in correct (translations)
2016-07-19 15:08:58 -07:00
Daniel Lo Nigro
d457201862
Upgrade to Jekyll 3
...
Full list of changes is at https://jekyllrb.com/docs/upgrading/2-to-3/ . The tl;dr of it is:
- Relative permalinks were removed, so all the files in the `docs` subdirectory need their permalink to be prefixed with `docs/`
- `post` and `page` types were renamed to `posts` and `pages` respectively
- `jekyll-paginate`, `pygments` and `redcarpet` are all now optional, so I needed to explicitly add it to the Gemfile. Jekyll now uses `rouge` rather than `pygments` for syntax highlighting, but rouge does not support highlighting individual lines (`hl_lines`) so we need to continue using Pygments.
- Layout metadata (eg. `sectionid`) is now on a `layout` variable rather than `page`
Tested the following pages and confirmed that they all work:
- "Docs" link (getting started page): http://127.0.0.1:4000/react/docs/getting-started.html
- Downloads: http://127.0.0.1:4000/react/downloads.html
- Tutorial: http://127.0.0.1:4000/react/docs/tutorial.html
- A few pages under the "docs" subdirectory, to confirm they're working properly:
- http://127.0.0.1:4000/react/docs/addons.html
- http://127.0.0.1:4000/react/docs/why-react.html
- http://127.0.0.1:4000/react/docs/create-fragment.html
- A few tips:
- http://127.0.0.1:4000/react/tips/false-in-jsx.html
- http://127.0.0.1:4000/react/tips/style-props-value-px.html
- Non-English versions of the page:
- http://127.0.0.1:4000/react/docs/getting-started-it-IT.html
- http://127.0.0.1:4000/react/docs/getting-started-ja-JP.html
2016-07-19 12:18:49 -07:00
Dan Abramov
9176c0d597
Add Design Principles to the docs ( #7282 )
2016-07-14 20:37:28 +01:00
Paul O’Shannessy
9b9228f1bb
[docs] Update share button ( #7097 )
2016-06-21 16:21:10 -07:00
Keyan Zhang
27a059b045
switched to codemirror's jsx mode ( #6898 )
2016-05-26 23:33:04 -07:00
Paul O’Shannessy
682997b9ff
Merge pull request #6191 from strawbrary/edit-on-github-position
...
[docs] keep position of "Edit on GitHub" link fixed
2016-03-23 12:24:16 -07:00
Christopher Chedeau
ea373428b5
Introduce search
...
Powered by the awesome Algolia :)
2016-03-07 13:15:41 -08:00
Craig Akimoto
106a3bb488
[docs] keep position of "Edit on GitHub" link fixed
2016-03-04 15:24:31 -08:00
Paul O’Shannessy
8aeb39240c
Add redirect layout (again) and use it
2016-02-29 16:48:09 -08:00
Tay Yang Shun
19509ed012
Add in missing closing </li> for docs template
2015-11-20 00:56:25 +08:00
Jim
33cd980f0e
React -> ReactDOM for render() and findDOMNode()
2015-10-05 17:46:58 -07:00
Vipul A M
588ae639db
[docs] Replace JSXTransformer with babel/browser
...
Closes #4131
2015-09-25 20:13:19 -07:00
Masaki KOBAYASHI
be0c054bf8
remove type="text/javascript"
2015-07-11 15:02:54 +09:00
Paul O’Shannessy
9b06b8838f
[docs] Give authors links.
2015-05-21 11:32:38 -07:00
Reed Loden
dd010b34e2
SSL/TLSize all the things! (convert http:// to https:// where appropriate)
...
Update links to use https:// where it is supported. There's probably a lot
more that could be fixed, but these are the core ones I found (especially
the download links in order to prevent MITM attacks). Note that there are
some fb.me links that will redirect to http:// even while accessed over
https://, but this seemed like the best way to fix those for now.
NOTE: Only non-third-party files were modified. There are references to
http:// URLs in vendored/third-party files, but seems appropriate to fix
upstream for those rather than editing the files.
Also, copy one image locally to the blog, as it was hotlinking to a site
that did not support https://.
Last, use youtube-nocookie.com instead of youtube.com for video embeds,
as the former doesn't try to set a cookie on load (privacy enhancement).
2015-04-18 16:49:32 -07:00
Ben Alpert
fdd13d86f2
[docs] Use marked instead of Showdown and escape HTML
...
Fixes #3501 .
2015-04-13 15:50:40 -07:00
Ben Alpert
aa86d2fbab
[docs] Update site nav
2015-03-26 10:06:09 -07:00
Christian
6968b23774
Update relevant URLS to HTTPS
...
Update relevant URLS to HTTPS
2015-03-10 18:11:29 +09:00
Bartosz Kaszubowski
a2f2a7ed14
do not show empty "docs-prevnext" div on single page
...
to remove additional necessary spacing between content and footer
2015-02-24 16:28:47 +01:00
Paul O’Shannessy
b109b6990b
[docs] Use current date in copyright footer
...
This will be based on the site generation time, making doc generation
slightly less deterministic but that's ok. Now we won't depend on
helpful community members updating it for us (#2874 ) when we forget,
it'll just happen naturally the next time the site is generated.
2015-01-22 12:50:52 -08:00
Daniel Carlsson
58fa67a6d9
Friends don't let friends look foolish on the internet
...
Updated your footer =)
2015-01-17 20:16:24 +01:00
Paul O’Shannessy
d5a9aeda8a
Update licenses for docs and examples
...
Docs are now CC licensed
Examples are under a separate license
2014-10-22 12:35:08 -07:00
Paul O’Shannessy
d03b9c3263
SVG logo
...
I traced the current logo in Illustrator to get a good version. And with
SVG we don't need any 2x magic because it's already vector. I should
probably care about IE8, but I don't.
2014-08-30 16:03:49 -07:00
Cheng Lou
9cf9b9769e
[Docs] Make retina react logo work
...
Bourbon now takes *_2x instead of *@2x.
2014-08-23 18:09:20 -07:00
Ben Alpert
6510d77474
[docs] Move "| React" to end of OG title
...
For consistency!
2014-08-13 16:30:43 -07:00
Paul O’Shannessy
05d5bd7cea
[docs] Move "| React" to end of page title
...
Looks better in search results
2014-08-13 16:28:50 -07:00
Paul O’Shannessy
82a992835c
Use jekyll-redirect-from instead of our other redirect method
2014-08-13 12:38:09 -07:00
Ben Alpert
4f98857fe9
Add "Edit on GitHub" link on docs pages
...
Ember's docs do this and I rather like the idea of encouraging people to make improvements.
2014-07-16 11:17:00 -07:00
Cheng Lou
23b9ad0d69
docs remove comment section
2014-04-09 22:53:54 -07:00
Paul O’Shannessy
18c95097a0
Merge pull request #1365 from akre54/unminified-docs-js
...
Serve unminified react.js on docs site
2014-04-07 15:42:50 -07:00
Adam Krebs
e2e06e17a6
Serve unminified react on docs site. Fixes #1359
2014-04-07 02:13:59 -04:00
Daniel Lo Nigro
c21788cf80
[Docs] Consistent use of self-closing tags in layout
2014-03-30 22:42:02 -07:00
Ben Alpert
b5fafad2ec
Add acknowledgements page
2014-02-24 17:18:57 -08:00
Cheng Lou
353981f384
docs add jsx->js tab to live editors
2014-01-17 15:49:59 -08:00
Paul O’Shannessy
e0c82f8687
[docs] Remove commented out ghbtns
2014-01-15 11:40:36 -08:00
Christoph Pojer
8e8051d25f
Fix #845 , Trivial year change
...
This was accidentally pulled into gh-pages.
2014-01-13 08:56:20 -08:00
Ben Alpert
2deed9882e
IE8 style fixes
...
- Add html5shiv so that HTML5 elements like header, footer, etc can be styled
- Remove a couple uses of :first-child/:last-child which IE8 doesn't support
2013-12-30 17:17:17 -07:00
Ben Alpert
315c58b7cf
Make React website work in IE8
...
Fixes #406 .
Empty conditional comment is for http://www.phpied.com/conditional-comments-block-downloads/ .
2013-12-30 15:25:26 -07:00
Pieter Vanderwerff
711d247240
Set docs menu item to active when viewing a “tips” page
2013-11-15 15:27:31 +13: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
Connor McSheffrey
86718357cf
Removed grunt task for building live edits and removed js link conditional at bottom of layout since we're no longer conditionally loading live edit js for cookbook pages
2013-10-29 18:04:29 -07:00
Connor McSheffrey
d0467822e4
added seperate cookbook layout (since URL base of next/prev is hardcoded in layout), added next/prev yaml meta to each cookbook entry until I can find a way of generating them dynamically
2013-10-29 10:15:45 -07:00