Commit graph

32 commits

Author SHA1 Message Date
Frank Li
c9f3f6a7dd Update examples script to print messages and move docs/blog examples to folder outside of website 2017-07-12 16:24:15 -07:00
Frank Li
ea4a4f6fe3 Fix hardcoded port number 2017-07-12 14:43:24 -07:00
Shawn Wilsher
4fd8d5a105 Ensure mutli-word page titles do not wrap (#13)
If you happen to have a page with the title of "Getting Started", the title would wrap even if there was plenty of space.
2017-07-12 14:23:13 -07:00
Frank Li
6e433f45c3 Update translation.md 2017-07-12 12:19:38 -07:00
Frank Li
0ccda03dac Publish version 1.0.0-alpha.13 to npm
Adds new translation functionality, updates examples, adds ability to specify server port number
2017-07-12 12:09:01 -07:00
Frank Li
712b558c2e Update README.md 2017-07-12 12:05:54 -07:00
Frank Li
2256bc922e Update getting-started.md 2017-07-12 12:02:51 -07:00
Frank Li
a7258f990c Merge pull request #4 from facebookexperimental/deltice
Add new translation functionality and run prettier
2017-07-12 11:56:12 -07:00
Frank Li
2d2f324c7d Add new translate functionality to dev server 2017-07-12 11:38:02 -07:00
Joel Marcey
a66f0a72fd Merge pull request #10 from sdwilsh/use-baseUrl-more
Use the siteConfig more
2017-07-12 10:52:58 -07:00
Frank Li
94a47f9483 Merge pull request #11 from sdwilsh/fix-nav-wrapping
Do not wrap on words in navigation links
2017-07-12 10:49:47 -07:00
Shawn Wilsher
6ed4afef64 Do not wrap on words in navigation links
If you have text like "Getting Started", it will wrap on the space and not be one line.
2017-07-12 10:22:18 -07:00
Shawn Wilsher
d0e1eaeb38 Use the siteConfig more
The base url should be used instead of hard-coding it.
2017-07-12 09:53:04 -07:00
Joel Marcey
8362e8e4bf Merge pull request #9 from sdwilsh/html-entity
Use HTML entity instead of a unicode character
2017-07-12 09:16:09 -07:00
Shawn Wilsher
4c93e4ac33 Use HTML entity instead of a unicode character
Some editors are unhappy using unicode in a file.  Let's use the HTML entity instead.
2017-07-12 08:55:03 -07:00
Frank Li
099a13a264 Move references to languages and translated strings out of siteConfig.js into new translation.js module 2017-07-11 17:03:27 -07:00
Frank Li
48916d9f39 Update getting-started doc 2017-07-11 15:19:59 -07:00
Frank Li
429aa636d0 Add initial documentation 2017-07-11 15:17:47 -07:00
Frank Li
ef5c4f83a2 Update Site.js to use template strings 2017-07-11 14:52:33 -07:00
Frank Li
0f6800df10 Allow server port to be chosen and update example 2017-07-11 14:48:57 -07:00
Frank Li
6fbde4eead Update examples 2017-07-11 10:57:36 -07:00
Frank Li
330153fbf3 Separate examples for translation functionality 2017-07-11 10:49:22 -07:00
Frank Li
3033688d40 Fix translate module 2017-07-10 16:45:36 -07:00
Frank Li
fbae29b0ff Run Prettier 2017-07-10 16:38:35 -07:00
Frank Li
a7b5148e06 Add plugin usage to build script, update example files 2017-07-10 16:34:07 -07:00
Frank Li
30a8ff329a Integrate handling of translation tag into static html building, add default description to translate tags 2017-07-10 14:08:00 -07:00
Frank Li
ed648074f2 Fix and move writeTranslations.js file to write-translations.js, move tagline property of en.json inside localized-strings 2017-07-10 10:53:38 -07:00
Frank Li
dbbfecaf62 Remove find-strings-plugin 2017-07-07 18:34:09 -07:00
Frank Li
6e1d5579fc Merge branch 'deltice' of https://github.com/facebookexperimental/Docusaurus into deltice 2017-07-07 18:27:52 -07:00
Frank Li
d620f2e6dd Use babylon and babel-traverse directly to find strings to translate 2017-07-07 18:15:06 -07:00
Frank Li
fe7d386f67 Add translation babel plugins and module to generate json strings file 2017-07-07 15:18:52 -07:00
Joel Marcey
e3139eea2f Initial commit 2017-07-07 10:28:29 -07:00