Commit Graph

15 Commits

Author SHA1 Message Date
Pascal Hartig
a4e457306c Add note about duplicate FBJNI classes
Summary:
Not sure if I made this clearer or even more confusing,
but it's a try.

Reviewed By: mweststrate

Differential Revision: D26781610

fbshipit-source-id: d68b30ffe6b24d537473c2d85b2b74f425068a96
2021-03-03 10:33:01 -08:00
Michel Weststrate
4799ea4f09 Documented how to opt out from flipper on iOS
Summary: More docs. Addresses https://github.com/facebook/flipper/issues/1326, https://github.com/facebook/flipper/issues/1215 and probably more

Reviewed By: jknoxville

Differential Revision: D26778514

fbshipit-source-id: dcadbad8f53f483d14e7fc54199756a697095309
2021-03-03 07:23:12 -08:00
Michel Weststrate
effd334f98 Improve iOS troubleshooting guide
Summary: Added some pointers for everyone who is as iOS noobish as me.

Reviewed By: priteshrnandgaonkar

Differential Revision: D26777687

fbshipit-source-id: 1ba3bb08b5a7b3a3ba937176d4c4c9b5e765a977
2021-03-03 05:05:05 -08:00
John Knox
08b594db5c Upgrade static docs plugin
Summary:
Upgrade the static docs plugin.

You no longer need to import OssOnly and FbInternalOnly in markdown files, so removed those imports too.

Reviewed By: passy

Differential Revision: D26580059

fbshipit-source-id: 2763de2f5fbef41ec2ac7f7bdd147418badb78b6
2021-02-22 09:17:44 -08:00
Michel Weststrate
727c99b729 Introduce support for no hardware acceleration
Summary: Start flipper with `--no-launcher --disable-gpu` to disable hardware acceleration

Reviewed By: passy

Differential Revision: D25994355

fbshipit-source-id: e75bb209c8e3325135a114bec1f25889187d2728
2021-01-22 05:31:00 -08:00
Michel Weststrate
ddd9536e14 Add more explicit notes on how to update the Flipper SDK in react-native
Summary: Per title

Reviewed By: passy

Differential Revision: D25756219

fbshipit-source-id: c1620cc7dda0195965a697a75db836b2057be3e9
2021-01-04 12:17:56 -08:00
John Knox
00356f96c5 Convert Link tags to md syntax
Summary:
Previously we used <Link/> everywhere with useBaseUrl to avoid link destinations depending on the current url of the page.

This isn't necessary if you instead link to the **file name**, rather than the **url path**.
Then the links are resolved at build time, and work across imported markdown files etc.

This diff just does the pages under Features, because other ones will get conflicts. I'll do those later.

Reviewed By: nikoant

Differential Revision: D25589707

fbshipit-source-id: 35ca986e19fc2af1054b81d7253eeb3827947ab8
2020-12-16 10:37:34 -08:00
John Knox
083dbd3dbc Merge troubleshooting pages
Summary:
This replaces the existing "FB Internals" troubleshooting" page with a redirect to the now single troubleshooting page, to make sure no links break.

It copies the content of that internal page into an internal-troubleshooting.mdx file, that isn't in any sidebars.

And it gets the main troubleshooting page to include that page, when doing an internal build. So now we only have one troubleshooting page.

Reviewed By: passy

Differential Revision: D25372552

fbshipit-source-id: 1a310ca1a4a21683d6074d480e819e5af40c8af2
2020-12-09 04:12:49 -08:00
Michel Weststrate
0f9e97e55c Add troubleshooting guide for yoga module errors
Summary: Tried to sum up all solutions mentioned in https://github.com/facebook/react-native/issues/28503 for this recurring problem. The most common problem being simply opening the wrong file in XCode. From experience I can tell this is not obvious for iOS noobs like me :-P.

Reviewed By: passy

Differential Revision: D24359426

fbshipit-source-id: bb4d4951ac287ed2b09203e5414f62628a3feeb0
2020-10-16 04:10:33 -07:00
Anton Nikolaev
643a656cd9 Back out "Merge internal and external troubleshooting pages into one with optional internal-only content"
Summary: Unfortunately optional require does not work with docusaurus bundler configuration in case file not exist, so open source build is failing now. I'm backing out this commit until solution for dynamic imports in docusaurus found.

Reviewed By: mweststrate

Differential Revision: D23679147

fbshipit-source-id: 7934e0a7decf128c1914f52645adaf4617c97eea
2020-09-14 07:34:41 -07:00
Anton Nikolaev
8425db7b8b Merge internal and external troubleshooting pages into one with optional internal-only content
Summary: Merged internal and external troubleshooting pages into one with optional internal-only content

Reviewed By: mweststrate

Differential Revision: D23651656

fbshipit-source-id: 330dd4b5cb49ae403a0a3760c1e23e30e56ad190
2020-09-14 03:52:28 -07:00
John Knox
40a5721d45 Fix link to diagnostic screen setup
Summary: Was pointed out to be broken in https://github.com/facebook/flipper/issues/1254

Reviewed By: mweststrate

Differential Revision: D22117270

fbshipit-source-id: 15947f9e0373b4324165de7d1a2a6be70a8e652c
2020-06-19 07:58:50 -07:00
Michel Weststrate
04e58cd6c2 Extended trouble shooting for React Native
Summary: We get a lot of requests related to things not working on RN. The questions and solutions are often quite similar, so wrote down all the answers I know from the top of my head. From now on we can link to this guide, and extend it were needed with better answers

Reviewed By: passy

Differential Revision: D22042296

fbshipit-source-id: ba8a71f3ef6f241aaa1d2883d1348c0471a38e3b
2020-06-15 07:10:50 -07:00
John Knox
281cd67ddb Fix some broken links
Summary:
KESHAmambo pointed out some internal links are broken on the website: https://twitter.com/KESHAmambo/status/1255443093542895619

The way relative links are processed in docusaurus v1 and v2 has changed. This fixes them up.

Reviewed By: mweststrate

Differential Revision: D21301293

fbshipit-source-id: 7610e38a55bc066625373cf2eee9a3efb63aec08
2020-04-29 05:21:31 -07:00
John Knox
5f1a0548f5 Migrate website to Docusaurus 2
Summary:
Docusaurus 2 is quite a lot more powerful than docu 1 it turns out.
This should convert the website fully.

* [done] Go through migration guide https://v2.docusaurus.io/docs/migrating-from-v1-to-v2
* [done] Convert landing page html
* [done] Convert all images to img tags
* [done] Convert all .md files to .mdx
* [done] Make sure ui-doc generation and including still works
* [done] Scan every page visually for sanity check
* [done] Make sure footer still works
* [done] Make sure search still works
* [done] Change all links/ to links/index
* [done] Change all links.md to links
* [done] Add some custom css to make the navbar look like the old one and darken the footer.

Reviewed By: passy

Differential Revision: D21158717

fbshipit-source-id: 5f45b711b1b6fd5ece4c5c15c55635c7ebbfb568
2020-04-27 04:05:01 -07:00