Karthik Chintapalli
49c4a363bc
Fixed stray text appearing on top of the navbar at small screen sizes ( #8681 )
8 years ago
Kevin Lacker
aa9544bfac
New Documentation
8 years ago
Dan Abramov
55f37b4576
Update the homepage with ES6 ( #7868 )
* Update the homepage with ES6
* Avoid array spread and stale state
8 years ago
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)
9 years ago
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
9 years ago
Dan Abramov
9176c0d597
Add Design Principles to the docs ( #7282 )
9 years ago
Paul O’Shannessy
9b9228f1bb
[docs] Update share button ( #7097 )
9 years ago
Keyan Zhang
27a059b045
switched to codemirror's jsx mode ( #6898 )
9 years ago
Christopher Chedeau
ea373428b5
Introduce search
Powered by the awesome Algolia :)
9 years ago
Craig Akimoto
106a3bb488
[docs] keep position of "Edit on GitHub" link fixed
9 years ago
Paul O’Shannessy
8aeb39240c
Add redirect layout (again) and use it
9 years ago
Tay Yang Shun
19509ed012
Add in missing closing </li> for docs template
9 years ago
Jim
33cd980f0e
React -> ReactDOM for render() and findDOMNode()
9 years ago
Vipul A M
588ae639db
[docs] Replace JSXTransformer with babel/browser
Closes #4131
10 years ago
Masaki KOBAYASHI
be0c054bf8
remove type="text/javascript"
10 years ago
Paul O’Shannessy
9b06b8838f
[docs] Give authors links.
10 years ago
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).
10 years ago
Ben Alpert
fdd13d86f2
[docs] Use marked instead of Showdown and escape HTML
Fixes #3501 .
10 years ago
Ben Alpert
aa86d2fbab
[docs] Update site nav
10 years ago
Christian
6968b23774
Update relevant URLS to HTTPS
Update relevant URLS to HTTPS
10 years ago
Bartosz Kaszubowski
a2f2a7ed14
do not show empty "docs-prevnext" div on single page
to remove additional necessary spacing between content and footer
10 years ago
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.
10 years ago
Daniel Carlsson
58fa67a6d9
Friends don't let friends look foolish on the internet
Updated your footer =)
10 years ago
Paul O’Shannessy
d5a9aeda8a
Update licenses for docs and examples
Docs are now CC licensed
Examples are under a separate license
10 years ago
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.
11 years ago
Cheng Lou
9cf9b9769e
[Docs] Make retina react logo work
Bourbon now takes *_2x instead of *@2x.
11 years ago
Ben Alpert
6510d77474
[docs] Move "| React" to end of OG title
For consistency!
11 years ago
Paul O’Shannessy
05d5bd7cea
[docs] Move "| React" to end of page title
Looks better in search results
11 years ago
Paul O’Shannessy
82a992835c
Use jekyll-redirect-from instead of our other redirect method
11 years ago
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.
11 years ago
Cheng Lou
23b9ad0d69
docs remove comment section
11 years ago
Adam Krebs
e2e06e17a6
Serve unminified react on docs site. Fixes #1359
11 years ago
Daniel Lo Nigro
c21788cf80
[Docs] Consistent use of self-closing tags in layout
11 years ago
Ben Alpert
b5fafad2ec
Add acknowledgements page
11 years ago
Cheng Lou
353981f384
docs add jsx->js tab to live editors
11 years ago
Paul O’Shannessy
e0c82f8687
[docs] Remove commented out ghbtns
11 years ago
Christoph Pojer
8e8051d25f
Fix #845 , Trivial year change
This was accidentally pulled into gh-pages.
11 years ago
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
11 years ago
Ben Alpert
315c58b7cf
Make React website work in IE8
Fixes #406 .
Empty conditional comment is for http://www.phpied.com/conditional-comments-block-downloads/ .
11 years ago
Pieter Vanderwerff
711d247240
Set docs menu item to active when viewing a “tips” page
11 years ago
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)
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
Paul O’Shannessy
11a054c764
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).
12 years ago
Paul O’Shannessy
2be67a457c
Use absolute URLs for FB comments box
12 years ago
Vjeux
495ba6fd6d
Facebook comments integration on Docs and Blog
12 years ago
Vjeux
826a62c4ad
Community round-up blog post
12 years ago
petehunt
d6e9843fe4
Fixed width/height on React logo
12 years ago