Commit graph

797 commits

Author SHA1 Message Date
Philip Johnson
a36da9f5aa Add Open Power Quality as a docusaurus user (#690)
* Add Open Power Quality as a docusaurus site. 

Thanks for your hard work creating this framework!

* Change logo from white to blue.

For better contrast.
2018-05-22 21:53:18 -07:00
azu
6c8eeb612a Add textlint to users (#691) 2018-05-22 20:54:23 -07:00
Yangshun Tay
a603aff193
Publish v1.1.2 (#685)
* Update tree-node-cli

* Publish v1.1.2

* Fix version
2018-05-21 21:43:23 -07:00
Yangshun Tay
1a604d820b
Update tree-node-cli (#684) 2018-05-21 21:32:24 -07:00
Joel Marcey
96dd757bdc
Publish v1.1.1 (#681) 2018-05-21 13:56:37 -07:00
Yangshun Tay
923356e312 Shift opn to dependencies (#680) 2018-05-21 13:46:49 -07:00
Joel Marcey
8278471a61
A few change log updates 2018-05-21 09:02:41 -07:00
Joel Marcey
cfaa8905ef
Publish version 1.1.0 (#679) 2018-05-21 08:27:18 -07:00
Sujono
436a3d04d2 Show warning console if version.js file is missing (#678) 2018-05-21 00:37:05 -07:00
Noam Elboim
67c84c185c Fix sticky footer to work on index page (#674)
* fixing sticky footer not being sticky

* remove unneeded flex rules

* Revert "remove unneeded flex rules"

This reverts commit 9b8d1809ca.

* adding flex-grow to first-child

* adding min-height in 'vh' to .navPusher for it to work on IE11
2018-05-20 22:31:45 -07:00
Joel Marcey
1332e067c4
Update FB App ID 2018-05-20 19:05:18 -07:00
Endilie Yacop Sucipto
aae106c018 Enable Facebook comments on blog posts (#673)
* Enable comment on blog post

* adjust css

* Tweak
2018-05-19 09:26:57 -07:00
Endilie Yacop Sucipto
24da6bfba0 Fix typo from #490 (#676)
`'en'` is written as `en`
2018-05-19 07:45:05 -07:00
Kasra Bigdeli
b66045f284 Added CaptainDuckDuck.com (#675)
* Added CaptainDuckDuck.com

* Update users.json
2018-05-19 01:11:23 -07:00
Amy Lam
4e5f17c3d7 Add copy functionality to code blocks in Docusaurus itself (#634)
* 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.
2018-05-17 21:50:49 -07:00
Endilie Yacop Sucipto
f8521c2fe1 Enhance footer with Facebook and Twitter buttons (#666)
* 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
2018-05-17 21:26:06 -07:00
Amy Lam
f9a09072e3 Add LiveReload (#663) 2018-05-17 16:17:56 -07:00
Joel Marcey
fed67dcee4
Change link to Instant Articles Editor 2018-05-17 12:02:03 -07:00
Joel Marcey
70d0b831b4 Add Draft.js as a user (#668) 2018-05-16 18:33:30 -07:00
Joel Marcey
c8965bece7 Update package-lock.json (#669) 2018-05-16 18:17:36 -07:00
Amy Lam
1796764b1c Print out directory tree during docusaurus-init (#665)
* 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
2018-05-15 20:06:44 -07:00
Endilie Yacop Sucipto
c730bc7bb7 Improve publishing guide on Github Pages (#664)
Docusaurus docs is confusing, it should be https://facebook.github.io/Docusaurus when referring to GitHub Pages URL, not the custom domain at https://docusaurus.io/
2018-05-15 18:55:42 -07:00
Joel Marcey
f315d02e58
Circle doc updates 2018-05-11 18:30:59 -07:00
Yangshun Tay
22332a2df6 Add Pyre to users list (#661) 2018-05-11 10:24:58 -07:00
Yangshun Tay
87a2392d6e Make CLI docs futureproof (#660) 2018-05-10 20:52:04 -07:00
Resi Respati
5c2dacc780 Added Bemuse to users list (#659) 2018-05-10 07:46:31 -07:00
Agastya Darma
25cf8bb786 Migrate to React 16 (#655)
* 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
2018-05-09 19:58:47 -07:00
Ahmad Alfy
ab6bab9f8d [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
2018-05-09 16:59:36 -07:00
Matías Olivera
ac718dd7c4 Add WarriorJS to Docusaurus users (#656)
* Separate users data from code

* Add WarriorJS to Docusaurus users
2018-05-09 11:30:05 -07:00
Ahmad Alfy
e3b4f3945e Fix collapse of sidebar caused by #646 (#653) 2018-05-08 15:25:11 -07:00
Amy Lam
873a2427f9 Remove authorImage (#652)
authorImage was replaced by authorImageURL in https://github.com/facebook/Docusaurus/pull/577

authorImage was removed from react-native-website in https://github.com/facebook/react-native-website/pull/314 

authorImage was undocumented, so no docs changes
2018-05-07 23:58:52 -07:00
Ahmad Alfy
0ea685d455 Fix misalignment of the sidebar and the content (#650) 2018-05-07 17:59:47 -07:00
Paul O’Shannessy
c5b7744dd8 Regenerate package lock files (#649) 2018-05-07 16:11:07 -07:00
Yangshun Tay
1a6f2fc51c Add open in browser functionality (#643) 2018-05-07 09:46:14 -07:00
Ahmad Alfy
432bdffb22 Fix collapse of main content on "Users" page on IE11 (#646) 2018-05-06 15:37:12 -07:00
Joel Marcey
c599d433e8
Small fix to change log 2018-05-06 11:12:40 -07:00
Joel Marcey
5b4fb4b4a5
Publish v1.0.15 (#645) 2018-05-06 11:04:56 -07:00
Yangshun Tay
8d676e6a5a
Extract blog post truncation logic and add tests (#640) 2018-05-06 09:15:18 -07:00
Ahmad Alfy
5b3f54741e Fix flex children's width not calculated correctly on IE11 (#644)
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
2018-05-05 22:58:58 -07:00
Ahmad Alfy
17dd6d9c8e Fix font rendering on IE11 (#642)
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.
2018-05-05 22:42:00 -07:00
Ahmad Alfy
6d77403dc1 Fix navigation collapse on IE11 (#641)
* Fix navigation collapse on IE11
2018-05-05 21:49:06 -07:00
Matthew Francis Brunetti
cf59f72ecd Windows compatibility fix (#583) 2018-05-05 18:29:28 -07:00
Ahmad Alfy
b220ec2f23 Implement sticky footer using flexbox (#637)
Implemented the solution provided [here](https://philipwalton.github.io/solved-by-flexbox/demos/sticky-footer/) to allow the footer to stick downward no matter how much content the page contain.
2018-05-05 17:56:43 -07:00
Erin Teo
5771549e75 Rename latestVersion to defaultVersion (#639)
* Rename lastVersion to defaultVersion

* Added defaultVersionShown to site-config doc

* Remove defaultVersionShown from siteConfig

* Update api-site-config.md
2018-05-05 17:24:39 -07:00
Joel Marcey
dbc597bfd7 Allow configuring what version is shown by default (#554)
* [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
2018-05-04 10:00:46 -07:00
Yangshun Tay
545a053289 Add Facebook copyright headers (#633) 2018-05-04 09:40:07 -07:00
Yangshun Tay
be54c8f035 Fix header anchor alignment (#635) 2018-05-04 08:29:04 -07:00
Sviatoslav
9c98142fea Ensure anchor links are unique per document (#574) 2018-05-03 19:36:12 -07:00
Joel Marcey
2a83959ac1
Add .webp to .gitattributes for ignoring 2018-05-03 13:13:03 -07:00
Joel Marcey
1838758ff3
Ignore binaries when it comes to lineendings
https://help.github.com/articles/dealing-with-line-endings/#example
2018-05-03 12:48:23 -07:00