* Port of https://github.com/babel/website/pull/1594 to Docusaurus
* [WIP] Placement of button needs fixing
* Remove clipboard from dependencies, is installed via CDN instead
* camelCase CSS
* Move to separate file
* Change default color of copy button
* fixes
* Add copy functionality to Docusaurus itself
Not adding copy functionality to Docusaurus users for now.
* enhance footer with social media buttons
* Update api-site-config.md
* Update Footer.js
* fix minor issue on social-footer
* update facebookAppId description in api-site-config
* rm heading & pad footer social button
* Update api-site-config.md
* WIP does not work
* rm -rf website/
Run docusaurus-init
Even by deleting text here, it still shows up? Confused.
* Shift in tree printing logic
* Shift printing logic to the current location
* migrating to react 16
* Add WarriorJS to Docusaurus users (#656)
* Separate users data from code
* Add WarriorJS to Docusaurus users
* [Feature] Introducing image compression using imagemin (#654)
* Introduce imagemin for compressing images
* Replace original images with the optimized ones
* Add imagemin-svgo to dependencies
* Remove console statement, replace let with const
* Replace let with const
* Add --skip-image-compression
* Run Prettier
* Fix header
* Prettier
* Introduce imagemin for compressing images
* Replace original images with the optimized ones
* Add imagemin-svgo to dependencies
* Remove console statement, replace let with const
* Replace let with const
* Add --skip-image-compression
* Run Prettier
This is a known issue on IE11 caused by the fact that IE add the padding value to the `flex-basis` leading to increase in the size of the column beyond intended. The block behave as if has `box-sizing` set to `border-box` even if it is set correctly.
Reference: https://github.com/philipwalton/flexbugs#flexbug-7
This is an issue on IE11, it cannot pick the correct system font because the font `-apple-system` makes the value invalid and hence making the whole declaration invalid.
A good solution is to split the shorthand version into separate properties/values and it will work.
* [RFC] Allow configure what version is shown by default
Seeing if this will work - it won't work if you want to show `master` or `next` by default.
Only named version that would exist in `versioned_docs`.
If this does work and we want to go with it - `latestVersion` in many places seems like a
misnomer. `defaultVersion` would be better or something
* Remove from docusaurus siteconfig
* Simplifying DocSearch documentation
I slightly rewrote the DocSearch documentation. The main three points are:
- I explained a bit more how DocSearch works (trying to explain that it's an external service that requires the website to be online)
- I removed mentions to the _search_ API key as in that case, it's always a _search_ (as opposed to _admin_) API key that is used
- I removed the part about faceting on the version. I thought it was confusing as without a specific UI to display the faceting, this won't do much. To use it properly, one will need to dig more into layouts. I might submit a PR about that later, but as it was today I think it would just create confusing rather that adding value
Hope that helps :)
* Make links URLs inline