11 Commits

Author SHA1 Message Date
Konstantin Raev
6f1417c849 CI now builds docs website and deploys it to /%version% path
Summary:
Copy of #5760 reverted merge.

We need to preserve history of docs changes on the webserver.
The goal is to allow users to browse outdated versions of docs.
To make things simple all websites will be released to https://facebook.github.io/react-native/releases/version/XX folder when there is a branch cut.

I switched from Travis CI to Cirle CI because it works faster and I am more familiar with it.

How it works:

1. If code is pushed to `master` branch then CI will build a fresh version of docs and put it in https://github.com/facebook/react-native/tree/gh-pages/releases/next folder.
Github will serve this website from https://facebook.github.io/react-native/releases/version/next URL.
All relative URLs will work within that website

2. If code is pushed to `0.20-stable` branch then CI will build a fresh version of docs and put it in https://github.com/facebook/react-native/tree/gh-pages/releases/0.20 folder.
Github will serve this website from https://facebook.github.io/react-native/releases/v
Closes https://github.com/facebook/react-native/pull/5873

Reviewed By: svcscm

Differential Revision: D2926901

Pulled By: androidtrunkagent

fb-gh-sync-id: 16aea430bac815933d9c603f03921cc6353906f1
shipit-source-id: 16aea430bac815933d9c603f03921cc6353906f1
2016-02-11 06:17:42 -08:00
Adam Miskiewicz
cc1bad54ea [Website] First pass at Algolia Doc Search
It’s not yet responsive :(
2015-12-29 12:45:33 -05:00
chirag04
3123f05f3b showcase link on React-native website 2015-08-14 14:34:02 -04:00
Brent Vatne
257bbb5255 [Docs] Add newsletter to top-level header 2015-08-04 13:47:52 -07:00
Christopher Chedeau
2771fc4c52 Add link for releases 2015-07-16 19:41:22 -07:00
Zhao Han
693ad91f86 Update website header link github url HTTPS
```
$ curl -I  http://github.com/facebook/react-native
HTTP/1.1 301 Moved Permanently
Content-length: 0
Location: https://github.com/facebook/react-native
Connection: close
```

This saves some network time.
2015-05-04 00:27:33 -05:00
Paul O’Shannessy
9c9992e298 [website] Don't link to #content for docs 2015-03-26 11:52:54 -07:00
Ben Alpert
2d23c2fe1f Switch nav design 2015-03-26 09:53:54 -07:00
Christopher Chedeau
a7452c4a5f White logo 2015-03-25 13:32:42 -07:00
Christopher Chedeau
e811181034 Add copyright header on website files 2015-03-23 10:56:09 -07:00
Christopher Chedeau
9231d4f8f0 Initial version of the website and docs. 2015-02-11 20:26:43 -08:00