Commit graph

781 commits

Author SHA1 Message Date
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
Joel Marcey
b56bb5aa27
Revert "Update static image assets (#631)" (#632)
This reverts commit 6bcc9e44a0.
2018-05-03 12:20:37 -07:00
Yangshun Tay
6bcc9e44a0
Update static image assets (#631)
* Update static image assets

* Update image
2018-05-03 11:10:20 -07:00
Amy Lam
7fa0f910ac On mobile, hide title if logo exists (#629)
* On mobile, hide title if logo exists

* Run Prettier, use ternary, reorder

* Rename class for clarity

* Update main.css
2018-05-03 10:54:25 -07:00
Yangshun Tay
0fff8788fe Add author Twitter handle to blog (#626) 2018-05-03 10:49:57 -07:00
Yangshun Tay
c31ab6846f Standardize editor configs for cross-platform development (#628) 2018-05-03 10:23:21 -07:00
Matías Olivera
34d86f760b Fix assets directory path in "Tips & Tricks" (#630) 2018-05-03 08:16:15 -07:00
Yangshun Tay
07c0f13034
Add golang/dep as user (#612)
* Add golang/dep as user

* Update siteConfig.js
2018-05-03 08:12:52 -07:00
SoonaMata
0d7af296b5 Update documentation, add link for SSH key (#627)
Came across issue with SSH and added the link to help other beginners who may have the same issue.
2018-05-02 14:06:56 -07:00
Tim Carry
5afc0b0a1c Simplify DocSearch documentation (#624)
* 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
2018-05-02 08:27:17 -07:00
Christine Abernathy
bcf0d1bd8c Blog post for Profilo conversion (#623) 2018-04-30 10:21:01 -07:00
Yangshun Tay
ef7f8b061f Reduce redundant css (#621) 2018-04-29 22:24:33 -07:00
Amit Harlev
a7b65bb6f4 Incorrect file path for netlify publishing (#622)
I tried following the guide to publish my website on Netlify (on April 29, 2018), however it did not work until I changed the path to include "website/".
2018-04-29 14:13:17 -07:00
Fabrizio Ruggeri
976ae770b5 Allow Google Analytics to use gtag.js (#601)
* Moved google analytics script to head

The code now uses the new gtag script to track the website on google analytics.
The migration is explained [here](https://developers.google.com/analytics/devguides/collection/gtagjs/migration).
This will help to solve issues such as #375.
As indicated at https://support.google.com/analytics/answer/1008080
the analytics code must be placed in the head tag, so it is moved there.

* Add a boolean to use the new gtag library

* Update api-site-config.md
2018-04-29 10:44:11 -07:00
Paulus Schoutsen
ae53bdc46a Add Home Assistant to users (#620)
* Add Home Assistant to users

* Update siteConfig.js
2018-04-28 19:29:09 -07:00
Yangshun Tay
812f2be6e3 Sidebar revamp (#617)
* Revamp sidebar

* Change links color

* Tweak for mobile
2018-04-28 18:44:02 -07:00
Amy Lam
8929634997 Update deprecated GitHub Buttons data-count-api (#616)
Also, use single quotes for JS
2018-04-28 00:34:20 -07:00