Commit graph

6265 commits

Author SHA1 Message Date
Joel Marcey
46943906ce Fix Prettier 2017-12-12 10:18:29 -08:00
Héctor Ramos
cf89dacaf6 Guard against errors during the deploy step, and install rsync (#277) 2017-12-12 10:16:26 -08:00
Joel Marcey
ea5a11bcd0 Redux - Use rsync instead of copy when preparing files to publish
Realized that rsync was installed on our Circle docker image, so that
broke everything
2017-12-12 10:14:43 -08:00
Joel Marcey
3c6bc0c5de Revert using rsync
For some reason everything broke
2017-12-12 09:01:34 -08:00
Joel Marcey
ae872e7ee9 Prettier fix 2017-12-12 08:54:44 -08:00
Joel Marcey
b3c44060b9 Use rsync instead of copy when preparing files to publish
`shell.cp` does not support dotfiles :(

https://github.com/shelljs/shelljs/issues/79
2017-12-12 08:51:29 -08:00
Ricky Vetter
786fdbb136 add wrapPagesHTML which renders html snippets in pages inside of a header + footer 2017-12-11 21:46:07 -08:00
Joel Marcey
078b379dae Update landing page with a few more links 2017-12-11 17:29:03 -08:00
Joel Marcey
0c5c3522cc More README updates 2017-12-11 17:25:19 -08:00
Joel Marcey
eb3a40a2cb Put some example doc in code block 2017-12-11 17:16:04 -08:00
Joel Marcey
0cf5e08159 Circle Badge won't show until repo is public
Could use token, but no need for now.
2017-12-11 17:13:55 -08:00
Joel Marcey
f71e02f2b8 Lowercase in badge 2017-12-11 17:10:53 -08:00
Joel Marcey
6e678576b5 More README badge stuff 2017-12-11 17:09:16 -08:00
Joel Marcey
46dc983069 Update README with Circle status 2017-12-11 17:04:51 -08:00
Joel Marcey
d4d17f0b01 Update Example doc with Lorem Ipsum
The actual words there were out of date.

Refer to the documentation instead
2017-12-11 17:00:52 -08:00
Joel Marcey
c9e4f4479d Prettier fix 2017-12-11 16:41:09 -08:00
Joel Marcey
6ec683f77f Add Relay and Bucklescript to Docusaurus users
\o/

(also forgot to add React Native image in last commit)
2017-12-11 16:39:31 -08:00
Héctor Ramos
11029cf02d Update build script (#272)
* Copy dot files if present in the static folder, and add .circleci config to Docusaurus site

* Update docs
2017-12-11 16:32:05 -08:00
Joel Marcey
c62e18eb53 Add React Native as a Docusaurus user
\o/
2017-12-11 16:24:52 -08:00
Joel Marcey
7aee74a43f Update Docsuarus footer 2017-12-11 16:15:26 -08:00
Joel Marcey
8919673f98 Add links to landing page 2017-12-11 13:01:00 -08:00
Héctor Ramos
85e2c87124 Document how to tell Circle to ignore commits to gh-pages (#270) 2017-12-08 15:47:03 -08:00
Joel Marcey
a5020f3c46 Start adding links to the landing page
Also fix getting started link by using current language
2017-12-08 08:35:27 -08:00
Joel Marcey
ef6f550700 Replace facebookexperimental with facebook (#266)
Moving to the facebook GitHub org
2017-12-07 10:52:12 -08:00
Joel Marcey
643c7a4047 Bump to 1.0.0-beta.15
Needed for ad87bab09b
2017-12-07 10:15:14 -08:00
Héctor Ramos
ad87bab09b Fix path to docs assets dir (#265) 2017-12-07 10:14:32 -08:00
Joel Marcey
2d04b3071e Bump to 1.0.0-beta.14 2017-12-06 13:58:54 -08:00
Joel Marcey
d89abde579 Update publish-gh.js after running Prettier 2017-12-05 21:32:36 -08:00
Ricky Vetter
8074b96c79 allow copy from /build in github.io case (#260)
* allow copy from /build in github.io case

* Comment explaining the ! in the path.join
2017-12-05 20:59:11 -08:00
Héctor Ramos
97612cf20b Link to master version of doc when editing (#262)
* Ensure Edit this Doc links always point to the master source of truth, and not a particular version

* Only show Edit this Doc link if editUrl has been set
2017-12-05 15:44:14 -08:00
Héctor Ramos
80fc8169b7 Fix background css (#261) 2017-12-05 13:35:15 -08:00
Héctor Ramos
65421db62e Add Prettier Formatting (#258)
* Add Prettier formatting to source files and example files, and check that Prettier formatting is maintained on PRs

* Remove trailing-comma as we are using Node 6 on Circle

* Use latest Node 6 LTS version in Circle

* Remove unused test
2017-12-04 19:21:02 -08:00
Ricky Vetter
0cead4b6f9 Update deployment script to work on github.io repos as well (#256)
* Update deployment script to work on github.io repos as well

* remember how index of works

* CURRENT_BRANCH
2017-12-04 09:59:49 -08:00
Cheng Lou
76e423fba3 Use path module instead of string concat / (#255)
This also in part prepares for #253. I discovered a bug when setting `projectName` to `""`, and some `"build/" + projectName + "/foo"` concatenated into `"build//foo"`. Granted, it's a hack, but we should use `path` anyway.

Test: tested on https://github.com/BuckleScript/bucklescript.github.io. Seems working
2017-12-04 09:32:02 -08:00
Héctor Ramos
df05fd2bbc Switch Algolia DocSearch to load using https (#252)
* Change docsearch to explicit https
2017-12-04 09:26:44 -08:00
Joel Marcey
6772926572 Update publishing docs in lieu of #250 2017-12-04 09:15:41 -08:00
Héctor Ramos
31b70f053c Update docusaurus-publish (#250)
* Update publish script to allow configuration via siteConfig.js file, as well as non-CircleCI env vars

* Use || instead of |
2017-12-04 09:15:32 -08:00
Héctor Ramos
bb48bb4f0c Remove keys warning when loading scripts (#244) 2017-11-27 15:14:55 -08:00
Héctor Ramos
1efce743dd Provide additional debugging information (#241) 2017-11-26 21:59:28 -08:00
Héctor Ramos
ff5f6b578d Reduce init script verbosity. (#239) 2017-11-21 09:44:45 -08:00
Joel Marcey
70bd56eb93 Update translations guide 2017-11-17 14:38:37 -08:00
Joel Marcey
16aa42a705 Allow deploying docs from a branch other than master
Still have to deploy to `gh-pages`
2017-11-17 14:26:08 -08:00
Joel Marcey
59d5b58aa5 Update the publishing documentation 2017-11-17 14:04:47 -08:00
Joel Marcey
909c193fa1 Bump to 1.0.0-beta.13 2017-11-16 09:32:14 -08:00
Ricky Vetter
71dec39c3b Change pointer events on language dropdown (#233)
The dropdown positioning makes it overlay the main menu on mobile layout. This means that clicking the language button a second time doesn't close the menu.
2017-11-16 09:23:54 -08:00
Héctor Ramos
09726c6361 [Versioning] Fix issue when a doc is added (#231)
* Simplify function, return error if doc not found
2017-11-15 15:55:08 -08:00
Héctor Ramos
420d2e86fb Replace diff with string comparison (#230) 2017-11-15 12:17:05 -08:00
Christine Abernathy
76c1dace46 Fix for consistency and completeness (#229)
* Fixes for consistency

* Update for creating example versions page
2017-11-15 12:13:37 -08:00
Héctor Ramos
19e6cc7ecc Check whether a previous/next doc actually exists (#226)
* Check whether a previous/next doc actually exists

* Use reasonable defaults

* Remove extraneous space
2017-11-14 20:36:25 -08:00
Joel Marcey
fe11556ae7 Bump to 1.0.0-beta.12 2017-11-13 19:43:54 -08:00