Joel Marcey 18e1b1f197 Best effort selection of target platform and dev environment
Summary:
Right now, if you do a search and select a document in Getting Started, it will
always default to iOS/Mac. This adds a bit of JavaScript to do a best effort
selection based on the hashtags of the headers.

If a header is associated with multiple environments (e.g., Android Studio), we
just choose the first one. So it is not 100% perfect, but it is decent.

ref: https://github.com/facebook/react-native/issues/7574

** Test Plan **

Test locally by adding hash tags to the end of a doc URL and ensured that the toggler had the right
selection.

e.g., `http://localhost:8079/react-native/docs/getting-started.html#chocolatey` had `Android` and `Windows` chosen.
Closes https://github.com/facebook/react-native/pull/7608

Differential Revision: D3316802

Pulled By: JoelMarcey

fbshipit-source-id: 6e94d76725fb97b19b3708ddee8fba5df9350cdd
2016-05-18 09:13:24 -07:00
..
2016-04-06 09:23:20 -07:00
2016-02-08 04:04:38 -08:00
2016-04-22 10:54:21 -07:00
2016-03-06 02:07:23 -08:00
2016-05-03 21:55:24 -07:00
2016-03-24 14:11:30 -07:00
2016-05-10 22:45:21 -07:00
2015-03-25 11:52:29 -07:00
2016-03-26 05:42:26 -07:00
2016-03-24 14:11:30 -07:00