Commit Graph

390 Commits

Author SHA1 Message Date
Ricky Vetter b59b58af0d
Consolidate break points
These 900 break points were always triggered with the mobile nav. They don't make sense with the desktop navigation. See photo.
2017-10-30 22:37:07 -07:00
Joel Marcey dcf50a4e4d Bump to 1.0.0-beta.7 2017-10-30 16:18:26 -07:00
Joel Marcey 6dea8e4792
Organize .gitignore and add website/package-lock.json (#199) 2017-10-30 16:16:57 -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
Joel Marcey d26d263bd0
Don't try to version files that have no metadata headers (#197) 2017-10-30 12:00:55 -07:00
Héctor Ramos 459984516b Ensure some errors are logged to the console (#194)
* Clarify some error conditions in versioning

* Clarify missing doc error;

* Remove excess space

* Remove excess space part duex
2017-10-30 11:42:45 -07:00
Joel Marcey 47c955c7b0
Mobile nav at 736px instead of 1024px (#179)
* Mobile nav at 736px instead of 1024px

I was not totally clear on the issue here, but I assumed is that you wanted normal navigation to begin at 736px instead of 1024px. I think this does it.

Tested 735px was mobile, 736px was normal

Fixes #102

* 735 and 736 in more places
2017-10-30 11:00:04 -07:00
Ricky Vetter 5263976ad3 move main.css below hljs css (#195) 2017-10-30 10:55:39 -07:00
Ricky Vetter 10e8c7cba3 enforce 70% width on mainContainer (#196) 2017-10-30 09:51:44 -07:00
Héctor Ramos 20122f6c56 Update guides-versioning.md 2017-10-26 17:35:09 -07:00
Eric Nakagawa b7a804784c Merge pull request #192 from JoelMarcey/syntax-fix
Syntax bug fix from #169
2017-10-26 16:34:28 -07:00
Joel Marcey fe516baaa2 Syntax bug fix from #169 2017-10-26 16:29:14 -07:00
Héctor Ramos 603b9cd84c Prefix, not append (#191) 2017-10-26 16:14:18 -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
Ricky Vetter c97da9d3f7 Sitemap local (#157)
* Better support for localized pages in sitemap

* clean console
2017-10-26 16:12:47 -07:00
Héctor Ramos 73b9a1128b Switch to GFM-style heading anchors (#164) 2017-10-26 16:12:17 -07:00
Héctor Ramos ba666cc6ae Remove sourceCodeButton config key (#181) 2017-10-26 12:16:36 -07:00
Hector Ramos db8daa635d Merge branch 'master' of github.com:facebookexperimental/Docusaurus 2017-10-26 12:14:53 -07:00
Hector Ramos 9bb4f906fc Use RegExp with global flag to ensure all fenced code blocks have the hljs class applied 2017-10-26 12:14:46 -07:00
Ricky Vetter 3017554616 Delete unused styles (#180) 2017-10-26 12:10:53 -07:00
Joel Marcey ae08fa31d6 Fix custom port number parsing... (#187)
* Fix custom port number parsing...

Checking if a port was in use raised a bug where the port coming in from the command line is a string and not an int. And that was causing the check to fail. Make the port an int from the get go

* Specifiy radix
2017-10-26 12:09:12 -07:00
Héctor Ramos fb294ab845 [markdown] Remove client-side syntax highlighting (#189)
* Remove client side highlighting

* Update CSS rules to render plain code blocks with expected left border

* Add back codeColor background color config

* Ensure all pre code blocks use Highlight.js classes
2017-10-26 12:07:02 -07:00
Joel Marcey f72df94dd3 Return empty object instead of false if no metadata (#182)
Closes #139
2017-10-26 07:02:52 -07:00
Joel Marcey d2d3ace924 Bump to 1.0.0-beta.6 2017-10-25 16:51:49 -07:00
Joel Marcey 6229ef7893 Add ssh keys in right spot for Circle (#186)
Hopefully this works.
2017-10-25 16:34:56 -07:00
Joel Marcey a36de1e440 add_ssh_keys for circle 2.0 (#185) 2017-10-25 16:04:08 -07:00
Joel Marcey b78938c5ea Use right bot for Circle (#184) 2017-10-25 15:24:43 -07:00
Héctor Ramos 140dcaa500 [CI] Switch to Circle 2 (#168)
* Switch to Circle 2

* Use Yarn in CI

* Move things around

* Fix Remarkable case issue

* Run placeholder test

* Update deploy script

Use multiline commit messages to ensure commit beign deployed is documented in git history
2017-10-25 14:04:24 -07:00
Eric Nakagawa 55b0f33f2a Allows periods in blog file names -- will allow for version numbers, etc (#163)
* Allows periods in blog file names -- will allow for version numbers, etc

* Removed debug lines...
2017-10-24 19:27:37 -07:00
Eric Nakagawa a6bad7f92d Merge pull request #176 from ericnakagawa/write-translations-autogen
Improve translations guide + add comment about translations autogen
2017-10-24 19:21:19 -07:00
Eric Nakagawa 4d23bf76ff Merge pull request #177 from JoelMarcey/show-next-doc
Show doc names instead of "previous" and "next"
2017-10-24 19:19:38 -07:00
Joel Marcey 0df005484c Oops - forgot to remove debugging statement 2017-10-24 19:10:29 -07:00
Joel Marcey 7b2e950a4c Add previous and next titles to metadata props 2017-10-24 19:09:34 -07:00
Joel Marcey 429ffda351 Use title of previous and next if no i18n 2017-10-24 16:42:31 -07:00
Joel Marcey 78bd09dec3 Better logic 2017-10-24 16:35:32 -07:00
Eric Nakagawa ee5c8a4278 Adds a note that languages.js is autogenerated
Add a comment about auto-generation to top of en.json file
2017-10-24 16:21:16 -07:00
Joel Marcey 7c1b48b92c Show doc names instead of previous and next
Use the previous and next doc metadata to show docs in the buttons
2017-10-24 16:20:32 -07:00
Joel Marcey 2b7a35dc3d Add package-lock.json (#175) 2017-10-24 16:17:40 -07:00
Héctor Ramos 9bc6d27f32 Break up long line that was messing up our page. (#174)
* Break up long line that was messing up our page.

* Remove file that should not be in source control
2017-10-24 16:15:50 -07:00
Joel Marcey e0345bae86 Fix port check (#173)
Since the check is async, starting the server on the port was happening before the check finished. Thus even if the port wasn't being used, it would error out as if it was because the server would start it before the check was finished.
This way we only start the server after the check finishes.
2017-10-24 15:51:27 -07:00
Eric Nakagawa fcc168af42 Add more info around syncing to crowdin 2017-10-24 15:31:52 -07:00
Eric Nakagawa 5617987bf2 Added a note about disabling English as a language 2017-10-24 15:23:18 -07:00
Eric Nakagawa fdc8b1ba72 Add a link to the crowdin-cli download instructions 2017-10-24 15:19:13 -07:00
Eric Nakagawa 867a49dd1c Removes #content from sidebar links and from within pages (#170) 2017-10-24 15:15:52 -07:00
Eric Nakagawa c2243a3c20 Only show 'Read More' button on blog list page when post has <!-- truncate --> token (#161)
* Only show 'Read More' button on blog list page when the text includes a <truncate> token

* Remove console.log
2017-10-24 13:46:42 -07:00
Eric Nakagawa a5320dbd36 Merge pull request #159 from JoelMarcey/port-in-use
Check if a port is in use
2017-10-24 13:32:26 -07:00
Eric Nakagawa 5b7232afc1 Merge pull request #167 from ericnakagawa/add-jest
Add Jest to Docusaurus' Users page.
2017-10-24 12:59:38 -07:00
Eric Nakagawa 70221530b6 Include jest logo 2017-10-24 12:58:51 -07:00
Eric Nakagawa b378215f66 Adds Jest to Docusaurus users 2017-10-24 12:56:39 -07:00
Héctor Ramos 49034dd6bb Fix Remarkable case issue (#166) 2017-10-24 10:49:13 -07:00