Commit Graph

9 Commits

Author SHA1 Message Date
Pascal Hartig
781df776f2 Rename default branch references to main (#2689)
Summary:
I really hope I hit everything and didn't break anything that wasn't
referring to branch names.

Pull Request resolved: https://github.com/facebook/flipper/pull/2689

Test Plan:
_eyes

CI

|[Site Preview: flipper](https://our.intern.facebook.com/intern/staticdocs/eph/D30305789/V2/flipper/)

Reviewed By: timur-valiev

Differential Revision: D30305789

Pulled By: passy

fbshipit-source-id: 5daaa09250bb96bb50be679fc01dae86c666eb73
2021-08-13 15:00:39 -07: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
Pascal Hartig
d765e0f93e Fix React Native docs
Summary: Reckon this broke with the Docusaurus 2 upgrade.

Reviewed By: mweststrate

Differential Revision: D24537442

fbshipit-source-id: b3fbac990f82819941e17f0f7ce89df616aa6718
2020-10-29 05:58:20 -07:00
Pascal Hartig
b2e8070af2 Fix relative links
Summary: Translated all cases where we had a parent-relative link to use the base URL instead.

Reviewed By: jknoxville

Differential Revision: D22256229

fbshipit-source-id: 81ee6fecb77dbaa19d112cb319771c22ff66d02a
2020-06-26 05:13:48 -07:00
IdaszakDaniel
88a84a4d9f Fix typo in React Native doc (#1205)
Summary:
Fix typo in React Native doc

## Changelog

N/A
Pull Request resolved: https://github.com/facebook/flipper/pull/1205

Test Plan: N/A

Reviewed By: passy

Differential Revision: D21838116

Pulled By: mweststrate

fbshipit-source-id: ca18f3c7e6780a5ea4c29c24e270fcd6fc57feec
2020-06-02 09:39:46 -07:00
Michel Weststrate
f9ade3d74d add link to RN + Flipper talk
Summary: ^

Reviewed By: passy

Differential Revision: D21619630

fbshipit-source-id: f1570cc509b67d5a6bace76f1c094abe81b42522
2020-05-19 05:33:34 -07:00
John Knox
4a777df617 Fix more links
Summary:
Somehow I missed these two the last time.
These are the final broken links reported by https://www.brokenlinkcheck.com/broken-links.php#status except for the "edit this page" link on the autogenerated ui-components page.

Reviewed By: mweststrate

Differential Revision: D21325511

fbshipit-source-id: dbc61bbed1366a007ed2cdde3a72f8ea974d871f
2020-04-30 05:59:01 -07:00
John Knox
7e4682b694 Fix the remaining broken links on fbflipper.com
Summary:
Used https://www.brokenlinkcheck.com/broken-links.php#status for now to find broken links and fixed them all.

Would be better to use some automated tool to check this at diff time, but that's not setup yet.

Reviewed By: passy

Differential Revision: D21301702

fbshipit-source-id: f13c8769b15d9f99563fc65dc0544320d07a2bfb
2020-04-29 07:33:43 -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