Commit graph

178 commits

Author SHA1 Message Date
Héctor Ramos
f803dcbc8e Handle non-standard code blocks gracefully
Prior to this change, Docusaurus would encounter an error when trying to parse a ```SnackPlayer ``` codeblock in Prism.js. These code blocks are unique to the React Native site as of this writing. A proper long term fix would be to handle SnackPlayer properly as we do in the React Native website, but until then let's avoid crashing when we encounter these types of blocks.
2017-08-25 11:11:07 -07:00
Frank Li
9e0fc32ab0 Remove unused file 2017-08-17 10:53:00 -07:00
Frank Li
34ad3fac8b Fix examples script for Windows 2017-08-16 20:33:07 -07:00
Frank Li
1f1d1448b2 Update publish script to create gh-pages branch if it does not exist 2017-08-16 17:36:00 -07:00
Frank Li
37174fd305 Add ssh option to publish script 2017-08-16 16:42:31 -07:00
Frank Li
cfc6030d23 Fix replacement of relative doc links 2017-08-16 16:17:33 -07:00
Frank Li
b035d41838 Update publish script 2017-08-16 15:35:19 -07:00
Frank Li
3032f464c0 Update publish script 2017-08-16 15:22:36 -07:00
Frank Li
feb2fb41d0 Fix publish script to work in Docusaurus itself 2017-08-16 15:12:26 -07:00
Frank Li
999187889e Fix examples gitignore 2017-08-16 15:02:48 -07:00
Joel Marcey
c64db63046 Forgot tag closing in noindex 2017-08-16 13:55:14 -07:00
Joel Marcey
1bfd8f8475 Block search engines indexing until launch 2017-08-16 13:54:13 -07:00
Frank Li
43ef3c8142 Add comments 2017-08-15 16:55:38 -07:00
Frank Li
3463ee50ee Merge pull request #66 from facebookexperimental/rename-versions
Add script to rename existing version
2017-08-15 11:13:59 -07:00
Frank Li
6b6910988b Small fix to headerNav 2017-08-14 14:49:17 -07:00
Frank Li
e2cdb44bfb Add script to rename existing version 2017-08-14 14:02:56 -07:00
Frank Li
ae4c577237 Fix to metadata ids 2017-08-14 10:19:01 -07:00
Frank Li
433f422632 Fix header nav require 2017-08-11 12:03:33 -07:00
Frank Li
2e33758bef Clean up cache removal function 2017-08-11 11:39:04 -07:00
Frank Li
065b8938b2 Merge pull request #64 from facebookexperimental/color-configs
Update color configurations
2017-08-10 17:00:25 -07:00
Eric Nakagawa
19b5710734 Slight css tweaks for landing page images 2017-08-10 16:39:29 -07:00
Frank Li
098d585031 Delete unnecessary comments from Head.js 2017-08-10 16:34:54 -07:00
Frank Li
b864aa8a16 Merge pull request #60 from facebookexperimental/update-examples
Update example files and examples script
2017-08-10 16:34:00 -07:00
Frank Li
06254ae021 Ensure .gitignore file gets copied by examples script 2017-08-10 16:33:38 -07:00
Frank Li
074ac07837 Small fix 2017-08-10 16:10:30 -07:00
Frank Li
4646fc98c5 Update color configurations 2017-08-10 16:03:43 -07:00
Frank Li
964e9e2108 Update doc metadata to use file name as id fallback and id as title fallback 2017-08-10 14:51:34 -07:00
Frank Li
db7a7394b3 Merge pull request #61 from facebookexperimental/error-messages
Add better error messages for most common cases
2017-08-10 13:46:58 -07:00
Frank Li
56b5554799 Merge pull request #26 from JoelMarcey/cname
Write CNAME file if custom domain
2017-08-10 11:37:25 -07:00
Frank Li
c0792044b2 Update CNAME file generation 2017-08-10 11:34:40 -07:00
Frank Li
c8e4dc343c Change sidebar_title to sidebar_label 2017-08-09 17:10:07 -07:00
Frank Li
18bcc59fd0 Merge branch 'master' of https://github.com/facebookexperimental/Docusaurus 2017-08-09 16:25:25 -07:00
Frank Li
91fe923cf7 Fix variable declaration 2017-08-09 16:25:18 -07:00
Frank Li
88359ea845 Update messages for versioning 2017-08-09 16:17:39 -07:00
Frank Li
cdea25eceb Merge branch 'master' of https://github.com/facebookexperimental/Docusaurus 2017-08-09 15:50:34 -07:00
Frank Li
374ca9b86c Change sidebar.json to sidebars.json in versionFallback.js 2017-08-09 15:50:20 -07:00
Frank Li
b256d2f8d9 Initial changes to error messages 2017-08-09 15:43:30 -07:00
Frank Li
0c10287f84 Update blog header link 2017-08-09 14:21:32 -07:00
Frank Li
c3a971f2eb Update example files and examples script 2017-08-09 14:18:17 -07:00
Frank Li
ac3cc01830 Change babel options 2017-08-09 13:10:04 -07:00
Frank Li
d17daaf1c3 Fix babel errors 2017-08-09 13:03:46 -07:00
Frank Li
d2eaf04ec7 Fix markdown html link replacement 2017-08-08 15:44:51 -07:00
Frank Li
94a3265aab Fix blog metadata 2017-08-08 14:58:41 -07:00
Frank Li
be9ebe3cf8 Merge pull request #53 from facebookexperimental/header-links
Update headerLinks API
2017-08-08 14:13:54 -07:00
Frank Li
22cadc48fc Clean up 2017-08-08 14:01:43 -07:00
Frank Li
6c2b29fd87 Fix document edit link 2017-08-08 13:51:24 -07:00
Frank Li
090aa4c903 Merge branch 'master' into header-links 2017-08-08 13:48:24 -07:00
Frank Li
6ca90610f4 Update headerLinks API 2017-08-08 13:46:11 -07:00
Frank Li
8c70286ad0 Fix usage of sidebars.json for versioning 2017-08-08 13:38:37 -07:00
Frank Li
b94dbff181 Fix versioning bugs 2017-08-08 11:44:30 -07:00