Commit Graph

43 Commits

Author SHA1 Message Date
Reed Loden
3e8951e8c7 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
36aefcb8cc [docs] Use marked instead of Showdown and escape HTML
Fixes #3501.
2015-04-13 15:50:40 -07:00
Ben Alpert
ca66399402 [docs] Update site nav 2015-03-26 10:06:09 -07:00
Christian
dbba47d5d2 Update relevant URLS to HTTPS
Update relevant URLS to HTTPS
2015-03-10 18:11:29 +09:00
Bartosz Kaszubowski
f785dd09ea 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
92e361709c [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
4ffdbefaa2 Friends don't let friends look foolish on the internet
Updated your footer =)
2015-01-17 20:16:24 +01:00
Paul O’Shannessy
7dc0e3d746 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
9a1236790b 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
2920473ea1 [Docs] Make retina react logo work
Bourbon now takes *_2x instead of *@2x.
2014-08-23 18:09:20 -07:00
Ben Alpert
f982387c6e [docs] Move "| React" to end of OG title
For consistency!
2014-08-13 16:30:43 -07:00
Paul O’Shannessy
6d740448e2 [docs] Move "| React" to end of page title
Looks better in search results
2014-08-13 16:28:50 -07:00
Paul O’Shannessy
51df0efe34 Use jekyll-redirect-from instead of our other redirect method 2014-08-13 12:38:09 -07:00
Ben Alpert
121529bdfd 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
f728846712 docs remove comment section 2014-04-09 22:53:54 -07:00
Paul O’Shannessy
7f9ab471ac 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
a6211a0fd8 Serve unminified react on docs site. Fixes #1359 2014-04-07 02:13:59 -04:00
Daniel Lo Nigro
306209be9e [Docs] Consistent use of self-closing tags in layout 2014-03-30 22:42:02 -07:00
Ben Alpert
04111d5228 Add acknowledgements page 2014-02-24 17:18:57 -08:00
Cheng Lou
71b585325c docs add jsx->js tab to live editors 2014-01-17 15:49:59 -08:00
Paul O’Shannessy
8ca62bd022 [docs] Remove commented out ghbtns 2014-01-15 11:40:36 -08:00
Christoph Pojer
124096a9fe Fix #845, Trivial year change
This was accidentally pulled into gh-pages.
2014-01-13 08:56:20 -08:00
Ben Alpert
1c90172cd0 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
92b440b1d7 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
1e1d7fe770 Set docs menu item to active when viewing a “tips” page 2013-11-15 15:27:31 +13:00
Connor McSheffrey
bd535bd51c 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
5847536c9d 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
9efd1f5e9b 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
Connor McSheffrey
5f296768a5 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
582b720183 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
Paul O’Shannessy
ba460de7ed Redirect /docs to the right page
I've hit this a few times where I want to get to docs so I take whatever
my urlbar gives me and strip out the actual page so I can get to the
root, however that's a 404.

This introduces a super easy way to redirect, which could be handy in
the future as docs get rewritten.

I would much rather do this with a real htaccess file or even just
handle 404s gracefully, but that's not currently an option with GitHub
pages (since we generate our own and don't use a custom domain).
2013-09-03 13:25:23 -07:00
Paul O’Shannessy
870a29d9b0 Use absolute URLs for FB comments box 2013-06-18 10:20:34 -07:00
Vjeux
101bfa3112 Facebook comments integration on Docs and Blog 2013-06-13 01:08:31 +02:00
Vjeux
523bde4dc5 Community round-up blog post 2013-06-12 13:55:51 -07:00
petehunt
5b72334852 Fixed width/height on React logo 2013-06-12 12:33:38 -07:00
Vjeux
7061d2b25b Integrate twitter in the support page 2013-06-06 08:38:09 +02:00
Paul O’Shannessy
4081678f2e 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
55a8339781 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
b353e8a807 [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
245f501120 Adding a left menu navigation 2013-06-03 01:04:19 +02:00
Vjeux
1902eafa8d Initial version of the blog 2013-06-03 00:48:15 +02:00
yungsters
eaae75991b [website] Add Google Analytics. 2013-05-29 14:01:42 -07:00
Paul O’Shannessy
75897c2dcd Initial public release 2013-05-29 12:54:02 -07:00