Commit graph

4821 commits

Author SHA1 Message Date
Ricky Vetter
c72da0c225 Fix link for logo
On projects where baseUrl is "/", the extra slash causes issues.
2017-09-25 23:08:06 -07:00
Héctor Ramos
3f2e8d3715 Update package.json 2017-09-25 14:37:47 -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
b241ed4404 Prints an console error if /blog/ folder has no files. 2017-09-25 12:11:37 -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
f48ff77322 Merge pull request #81 from ericnakagawa/master
Several Docusaurus, Website changes and enhancements.
2017-09-25 11:35:12 -07:00
Eric Nakagawa
376ad77361 Add a class to logo image in header 2017-09-25 10:01:34 -07:00
Eric Nakagawa
c0109192b1 Update urls, modified starter example custom css, added it to Docusaurus website 2017-09-22 13:23:27 -07:00
Eric Nakagawa
0dce734a1d Rearrange custom.css line 2017-09-22 11:42:19 -07:00
Eric Nakagawa
2ad9b00929 Disabling Japanese 2017-09-22 11:31:29 -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
Ricky Vetter
2c108d36cb Use project title for example (#84)
Small change to keep the example file usable for whichever project it's inserted into.

* do baseUrl too
2017-09-22 06:58:07 -07:00
Eric Nakagawa
8e9808c0f4 Re-arranging of files to move localized base files in /docs from /docs/en, updates to template crowdin.yaml, update to package.json to make calling crowdin easier. Updating documentation to reflect. 2017-09-21 08:36:30 -07:00
Eric Nakagawa
fcc38e0e90 Removing certain translated files from git 2017-09-21 08:33:09 -07:00
Eric Nakagawa
d379f58581 Adding crowdin config to Docusaurs. Content updates to: README.md, guides-translation.md. Moved docs into /docs/en. 2017-09-20 21:09:55 -07:00
Eric Nakagawa
105e6283d0 Hide builds folder 2017-09-20 14:45:55 -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
Christopher Chedeau
1872df78ae Update README.md 2017-09-18 13:27:55 -07:00
Frank Li
b88d4ac014 Add docusaurus-init package and update copy-examples.js (#70)
* Add docusaurus-init package and update copy-examples.js

* Use yarn by default
2017-09-06 13:00:45 -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
469593a55e Update siteConfig doc 2017-08-17 11:08:17 -07:00
Frank Li
9e0fc32ab0 Remove unused file 2017-08-17 10:53:00 -07:00
Joel Marcey
41ed505556 Enable Algolia Search 2017-08-17 08:34:02 -07:00
Frank Li
34ad3fac8b Fix examples script for Windows 2017-08-16 20:33:07 -07:00
Joel Marcey
2a196cb1bc Use official logo for favicon 2017-08-16 19:29:48 -07:00
Eric Vicenti
5f6dab0b6c Update structure of blog guide 2017-08-16 18:56:37 -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
120678be05 Fix weird syntax highlighting in markdown features doc 2017-08-16 17:08:04 -07:00
Frank Li
dd25a99c59 Fix getting started link on home page 2017-08-16 17:04:57 -07:00
Frank Li
e15cf3b919 Update customize link in site creation doc 2017-08-16 17:01:32 -07:00
Frank Li
6526d91f6e Fix siteConfig projectName 2017-08-16 16:45:34 -07:00
Frank Li
37174fd305 Add ssh option to publish script 2017-08-16 16:42:31 -07:00
Joel Marcey
9d3afe2412 Add back the login to circle.yml but not the password 2017-08-16 16:23:05 -07:00
Frank Li
cfc6030d23 Fix replacement of relative doc links 2017-08-16 16:17:33 -07:00
Joel Marcey
c0c75e16f4 Using Deploy keys instead of auth tokens 2017-08-16 16:11:29 -07:00
Frank Li
fe9c908b14 Update commands doc 2017-08-16 16:08:27 -07:00
Frank Li
b5fb5c917c Update links in commands 2017-08-16 15:58:20 -07:00
Frank Li
dfcb3452c8 Add custom pages guide (#69)
* Add custom pages guide

* Update custom pages guide
2017-08-16 15:54:00 -07:00
Frank Li
a1e20736da Add Pages and Styles API doc (#67)
* Add Pages and Styles doc

* Update pages api doc
2017-08-16 15:53:43 -07:00
Frank Li
b035d41838 Update publish script 2017-08-16 15:35:19 -07:00
Frank Li
f60c62c538 Fix missing comma in siteConfig 2017-08-16 15:26:00 -07:00
Frank Li
3032f464c0 Update publish script 2017-08-16 15:22:36 -07:00
Frank Li
d86dc27198 Add siteConfig cname 2017-08-16 15:18:56 -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
f94e49936e cd website in circle.yml, still run publish-gh-pages 2017-08-16 15:01:16 -07:00
Joel Marcey
7d264ca99a docusaurus-publish instead of publish-gh-pages 2017-08-16 14:35:58 -07:00