Commit graph

2959 commits

Author SHA1 Message Date
Frank Li
b4e9a068ab Update server to provide message with full link 2017-08-07 11:08:37 -07:00
Frank Li
2b5de79a50 Fix Getting Started link on homepage 2017-08-07 10:59:04 -07:00
Frank Li
efc6c7561d Merge pull request #25 from facebookexperimental/website
Initial website set-up for Docusaurus
2017-08-07 10:38:26 -07:00
Frank Li
b71ef8c0f1 Update website setup for new API 2017-08-07 10:34:53 -07:00
Frank Li
63e3e31117 Merge branch 'master' of https://github.com/facebookexperimental/Docusaurus into website 2017-08-07 10:28:52 -07:00
Frank Li
de2897f108 Allow for extra algoliaOptions for search 2017-08-04 14:44:23 -07:00
Frank Li
5c3f74ddcc Fix removal of semver usage 2017-08-04 12:57:43 -07:00
Frank Li
63043c041a Add version header link and change current docs to be version 'next' 2017-08-04 12:41:13 -07:00
Frank Li
9eb6ff2034 Update write-translations.js to find versioned sidebar category names 2017-08-04 10:44:54 -07:00
Frank Li
1517b155b7 Remove semver dependency 2017-08-03 16:00:17 -07:00
Frank Li
67592dcf8a Use versions.json file and move versioned, translated docs into translated_docs 2017-08-03 15:58:56 -07:00
Frank Li
d3e3d209a4 Add comments for new versioning files 2017-08-03 11:14:56 -07:00
Frank Li
3598dffc58 Add versioning functionality 2017-08-03 10:25:01 -07:00
Frank Li
58452ea963 Merge pull request #27 from facebookexperimental/update-api
Refactor API
2017-08-02 17:00:40 -07:00
Frank Li
6d2b6740c1 Clean up API changes 2017-08-02 15:13:10 -07:00
Frank Li
5dd6609db9 Fix Open Graph image option 2017-08-01 15:58:05 -07:00
Frank Li
9e70055452 Add siteConfig option for Open Graph image 2017-08-01 15:56:50 -07:00
Frank Li
419e0c0ff9 Initial API refactor 2017-07-31 16:19:02 -07:00
Frank Li
32768eea7e Merge branch 'sidebar-ordering' of https://github.com/facebookexperimental/Docusaurus into update-api 2017-07-31 10:57:08 -07:00
Frank Li
c6503c4bfa Use template strings, update React components, and update package.json files 2017-07-28 16:59:41 -07:00
Joel Marcey
3c2b585a60 Reversed the parameters 2017-07-28 14:24:50 -07:00
Frank Li
dfeaac74cc Publish changes to npm 2017-07-28 10:56:24 -07:00
Frank Li
0917de0090 Fix header image link 2017-07-28 10:31:08 -07:00
Frank Li
4c0b9e807e Publish Prism changes to npm 2017-07-28 09:40:46 -07:00
Joel Marcey
582efb496c Write CNAME file if custom domain
Custom domains in GitHub pages require a CNAME file. This file is automatically created for you if you add a custom
domain to the GitHub pages section of the "Settings" area in a GitHub repo.

However, the way we push to GitHub, we remove all files from a `gh-pages` branch before building and pushing the new
content on a rebuild. This includes removing the CNAME file, even if it was autogenerated when changing the setting.

So, just always create a CNAME file if the domain is a custom domain.
2017-07-28 07:40:31 -07:00
Frank Li
9b35317fb5 Initial website set-up for Docusaurus 2017-07-27 16:15:47 -07:00
Frank Li
f3cb4d1860 Merge branch 'master' into sidebar-ordering 2017-07-25 16:34:57 -07:00
Frank Li
ab58eaa9fa Update use of readCategories.js 2017-07-25 16:30:49 -07:00
Frank Li
5b9bb1b2b5 Merge pull request #24 from facebookexperimental/update-prism
Add syntax highlighting for more languages besides Javascript
2017-07-24 15:41:49 -07:00
Frank Li
bb35708791 Update documentation 2017-07-24 15:34:04 -07:00
Frank Li
f3a152170d Add syntax highlighting for more languages besides Javascript 2017-07-24 14:53:00 -07:00
Frank Li
abc5e325cd Use information from "docSidebar.js" file instead of doc front matters for sidebars. 2017-07-24 13:33:58 -07:00
Frank Li
69ba05e4f1 Publish updates to npm 2017-07-24 13:21:21 -07:00
Frank Li
da4b381df4 Allow external link target (e.g. _blank) 2017-07-21 16:23:59 -07:00
Frank Li
f72144e988 Allow GridBlock images to be clickable links 2017-07-21 13:57:37 -07:00
Frank Li
b359a2500d Update how separate css files are identified 2017-07-21 12:37:16 -07:00
Frank Li
fc4e5b05df Allow exclusion of tagline in page title 2017-07-21 12:24:43 -07:00
Frank Li
1edd160ceb Allow separate css files that don't get added to Docusaurus's 2017-07-21 12:13:13 -07:00
Frank Li
35e0a83817 Update users.js 2017-07-21 12:11:28 -07:00
Frank Li
f309be78aa Add and update documentation (#23)
* Add and update documentation

* Update documentation

* Update site config doc
2017-07-20 17:02:34 -07:00
Frank Li
4cbada5350 Publish updates to npm 2017-07-20 16:15:19 -07:00
Frank Li
5135138156 Allow GridBlock titles to use markdown 2017-07-20 16:15:04 -07:00
Frank Li
b2be3331cf Update edit button and header language drop down 2017-07-20 15:56:38 -07:00
Frank Li
f622bf17d2 Allow removal of "Edit this Doc" button 2017-07-20 15:21:20 -07:00
Frank Li
d5fb69d475 Remove unused doc sidebar config 2017-07-19 13:47:21 -07:00
Frank Li
ee82575df0 Update server routing for static assets 2017-07-19 10:57:07 -07:00
Frank Li
a455ca9745 Update server routing 2017-07-19 10:50:32 -07:00
Frank Li
a56c7a6755 Publish changes to npm 2017-07-18 16:53:39 -07:00
Frank Li
e3b99f800b Update server routing for "docs" urls 2017-07-18 16:52:47 -07:00
Frank Li
23f160f13a Publish to npm 2017-07-18 12:15:40 -07:00