Commit graph

149 commits

Author SHA1 Message Date
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
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
Héctor Ramos
fbcbaa52d3 Fix GitHub Button (#201) 2017-10-31 08:46:39 -07:00
Héctor Ramos
09354ab738 [BREAKING] Rename Marked to MarkdownBlock (#162)
* Switch to Remarkable

* Clean up references to custom code blocks

* Remove valdiateDOMNesting warning

* Add syntax highlighting

* Add Reason support

* Breaking change: prismColor to codeColor, remove CompLibrary.Prism, expose hljs

* Completely remove Prism and associated CSS rules

* Support loading plugins and scripts

* Remove CSS rules, allowing Highlight.js theme to be used entirely

* Remove unnecessary webplayer script

* Rename Marked to MarkdownBlock

* Rename Marked to MarkdownBlock

* Remove Marked.js
2017-10-30 15:47:13 -07:00
Eric Nakagawa
fa1ec70432 Bug fixes in generatejs (#169)
* Misc cleanups related to console.log messages in yarn build

* Fixes https://github.com/facebookexperimental/Docusaurus/issues/96
2017-10-26 16:13:56 -07:00
Héctor Ramos
ba666cc6ae Remove sourceCodeButton config key (#181) 2017-10-26 12:16:36 -07:00
Héctor Ramos
b832176dc6 [markdown] Switch to Remarkable (#153)
* Switch to Remarkable
* Clean up references to custom code blocks
* Remove valdiateDOMNesting warning
* Add syntax highlighting
* Add Reason support
* Breaking change: prismColor to codeColor, remove CompLibrary.Prism, expose hljs
* Completely remove Prism and associated CSS rules
* Support loading plugins and scripts
* Remove CSS rules, allowing Highlight.js theme to be used entirely
* Remove unnecessary webplayer script
2017-10-24 09:45:21 -07:00
Joel Marcey
77535d80f2 The complete move to MIT license (#115)
- headers in .js files
- update README and LICENSE year

Testing:

grep BSD, Patents, patents turned up nothing
2017-10-05 11:14:49 -07:00
Eric Nakagawa
3b5db4bbf8 2 bug fixes (#98)
* Merge fix

* Updating lock file.

* Bug fix for rss feed truncation...

* Fixes infinite recursive loop for #89

* Removed use of module cache invalidator from feed.js

* Replaced 'latest' babel presets with 'env'

* Ignore temp build folder

* Adding back new truncation logic for RSS

* Updating yarn lock
2017-09-28 14:46:29 -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
92ce92ee59 Merge pull request #91 from facebookexperimental/rickyvetter-patch-2
Fix link for logo
2017-09-26 13:41:13 -07:00
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
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
f48ff77322 Merge pull request #81 from ericnakagawa/master
Several Docusaurus, Website changes and enhancements.
2017-09-25 11:35:12 -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
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
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
Frank Li
999187889e Fix examples gitignore 2017-08-16 15:02:48 -07:00
Frank Li
9e412f6bd7 Remove license headers from example files (#68) 2017-08-16 13:41:20 -07:00
Frank Li
43d2eb14c2 Merge branch 'update-examples' of https://github.com/facebookexperimental/Docusaurus into update-examples 2017-08-10 16:22:15 -07:00
Frank Li
aac1033fa1 Add example .gitignore file 2017-08-10 16:21:51 -07:00
Frank Li
bab41ba595 Change sidebar_title to sidebar_label 2017-08-09 17:10:53 -07:00
Frank Li
bb7d56c880 Remove unnecessary header fields from docs 2017-08-09 15:28:57 -07:00
Frank Li
c3a971f2eb Update example files and examples script 2017-08-09 14:18:17 -07:00
Frank Li
419e0c0ff9 Initial API refactor 2017-07-31 16:19:02 -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
35e0a83817 Update users.js 2017-07-21 12:11:28 -07:00
Frank Li
d5fb69d475 Remove unused doc sidebar config 2017-07-19 13:47:21 -07:00
Frank Li
7a79690228 Merge branch 'master' into update-examples 2017-07-18 12:12:44 -07:00
Frank Li
ef6c04d1cb Merge remote-tracking branch 'origin/update-examples' 2017-07-18 12:09:55 -07:00
Frank Li
66a4f5c6e5 Rename example folders 2017-07-18 12:08:08 -07:00
Frank Li
07001fafdc Merge pull request #19 from facebookexperimental/sidebar-titles
Add optional sidebar_title docs front matter field for sidebar title distinct from document article titles
2017-07-17 11:39:13 -07:00
Frank Li
eccbc178e5 Add optional sidebar_title docs front matter field for sidebar titles distinct from document article titles 2017-07-17 10:57:08 -07:00
Frank Li
704897fd61 Add config option to allow disabled header title 2017-07-17 10:35:43 -07:00
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
a7258f990c Merge pull request #4 from facebookexperimental/deltice
Add new translation functionality and run prettier
2017-07-12 11:56:12 -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
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
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
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
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
d620f2e6dd Use babylon and babel-traverse directly to find strings to translate 2017-07-07 18:15:06 -07:00
Joel Marcey
e3139eea2f Initial commit 2017-07-07 10:28:29 -07:00