Commit graph

164 commits

Author SHA1 Message Date
Héctor Ramos
053f384cfe Add web player files (#112) 2017-10-04 09:10:33 -07:00
Héctor Ramos
419a11af3e Extend Marked.js in order to support React Native's code players (#109)
* Extend Marked.js to support SnackPlayer and the WebPlayer, as used in React Native
2017-10-04 08:56:55 -07:00
Ricky Vetter
9c7d8e55a9 add sourceCodeButton to site config (#93) 2017-10-03 15:20:35 -07:00
Eric Nakagawa
dc835770a0 RSS/ATOM Feed added, Prism changes, and global Copyright notice. (#94)
* Add Reason support to Prism.js

* Add XML/ATOM feed. Generates for both localhost and build script. Adds meta links to feeds to all html files.

* Updated /core/Footer.js to pull from siteConfig
2017-09-27 12:49:09 -07:00
Eric Nakagawa
0c66a898b6 Add Reason support to Prism.js (#92) 2017-09-26 10:29:09 -07:00
Eric Nakagawa
effd1113ad Merge pull request #88 from ericnakagawa/master
Removed a redundant feature, added an error message to help troubleshooting building localized sites.
2017-09-26 10:22:43 -07:00
Héctor Ramos
45f6ef8fd9 Blog enhancements (#80)
* Small CSS adjustments.

* Blog adjustments.

* Add support for Prism in the blog
2017-09-25 12:53:54 -07:00
Héctor Ramos
a484893c4f Small CSS adjustments. (#79) 2017-09-25 12:52:58 -07:00
Eric Nakagawa
a86af92e7c Remove customCssFileName as any css file in /static/css gets appended to end of main.css 2017-09-25 11:35:35 -07:00
Eric Nakagawa
e71b4d902e Provide a more useful error in event someone tries to build site but hasn't provided localized files 2017-09-25 11:35:35 -07:00
Eric Nakagawa
376ad77361 Add a class to logo image in header 2017-09-25 10:01:34 -07:00
Eric Nakagawa
0dce734a1d Rearrange custom.css line 2017-09-22 11:42:19 -07:00
Eric Nakagawa
9c6fe348d6 Add support for a custom CSS file that is configurable from siteConfig.js 2017-09-22 11:31:29 -07:00
Eric Nakagawa
89285e7693 Fixes 2 additional console errors. One in HeaderNav and one in Index component. 2017-09-20 14:45:55 -07:00
Eric Nakagawa
a83e16308b Fixes one warning in console for React.DOM.* usage. 2017-09-20 14:45:55 -07:00
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
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
6b6910988b Small fix to headerNav 2017-08-14 14:49:17 -07:00
Frank Li
433f422632 Fix header nav require 2017-08-11 12:03:33 -07:00
Frank Li
098d585031 Delete unnecessary comments from Head.js 2017-08-10 16:34:54 -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
c8e4dc343c Change sidebar_title to sidebar_label 2017-08-09 17:10:07 -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
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
6ca90610f4 Update headerLinks API 2017-08-08 13:46:11 -07:00
Frank Li
9ddd2f5ea4 Merge branch 'master' into versioning 2017-08-08 11:39:23 -07:00
Frank Li
09ca732402 Allow document not in sidebar.json to be displayed 2017-08-07 15:15:09 -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
63043c041a Add version header link and change current docs to be version 'next' 2017-08-04 12:41:13 -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
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
c6503c4bfa Use template strings, update React components, and update package.json files 2017-07-28 16:59:41 -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
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
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
fc4e5b05df Allow exclusion of tagline in page title 2017-07-21 12:24:43 -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