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
Christopher Chedeau
ea373428b5
Introduce search
...
Powered by the awesome Algolia :)
2016-03-07 13:15:41 -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
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
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
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
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
33232007f7
Moved cookbook recipes into separate directory. Updated nav_docs to loop through cookbook yaml. Added cookbook directory to js/ to add live editing of code samples
2013-10-29 10:14:19 -07:00
Vjeux
8479315f6c
Add app id for comments moderation
...
This way we can be notified when any new comment appear in the docs/blog and add moderators
2013-10-03 22:32:20 +02:00
Vjeux
495ba6fd6d
Facebook comments integration on Docs and Blog
2013-06-13 01:08:31 +02:00
petehunt
d6e9843fe4
Fixed width/height on React logo
2013-06-12 12:33:38 -07:00
Vjeux
f2d76db71f
Integrate twitter in the support page
2013-06-06 08:38:09 +02:00
Paul O’Shannessy
1e47e16ef3
Merge pull request #49 from paulshen/jekyllrss
...
[docs] Add RSS feed.xml for blog posts
2013-06-03 14:12:54 -07:00
Paul O’Shannessy
a17548f63d
Improve blog setup
...
* All posts under blog/
* Index @ blog/index.html
* Only show excerpt on index with "continue reading" link
* Date, name formatting improvements (better for humans)
It could probably still use some style tweaks but I feel better about
it.
Moving forward, we'll use the "excerpt" feature of Jekyll with the
default separator, which is just 2 newlines. So the first paragraph will
be special. Alternatively you can specify excerpt, but we'll want to fix
the layout so that gets added in.
2013-06-03 13:51:44 -07:00
Paul Shen
b5d6f4dfab
[docs] Add RSS feed.xml for blog posts
...
uses `feed.xml` from https://github.com/snaptortoise/jekyll-rss-feeds
(slightly modified for `site.url` + `site.baseurl`)
2013-06-03 11:02:14 -07:00
Vjeux
0cb36084ac
Initial version of the blog
2013-06-03 00:48:15 +02:00
yungsters
4c15dadd5f
[website] Add Google Analytics.
2013-05-29 14:01:42 -07:00
Paul O’Shannessy
eb278167cd
Initial public release
2013-05-29 12:54:02 -07:00