Commit Graph

314 Commits

Author SHA1 Message Date
Anton Kastritskiy
1d2bc3373d automatic update for docusaurus-plugin-internaldocs-fb@1.7.0
Differential Revision: D42919621

fbshipit-source-id: 92167e6b54a0b617e5ab64a92e96a85d2fd8e267
2023-02-02 02:45:10 -08:00
John Knox
227f53f6a0 automatic update for docusaurus-plugin-internaldocs-fb@1.5.0
Reviewed By: antonk52

Differential Revision: D42709599

fbshipit-source-id: 0b0a3b66ceb8c00e2302eb08b7d52d682d429023
2023-01-25 04:09:07 -08:00
Anton Kastritskiy
b8f21f0d65 automatic update for docusaurus-plugin-internaldocs-fb@1.4.0
Reviewed By: lblasa

Differential Revision: D42546365

fbshipit-source-id: 038a34b0dc265850f82c2435b7dd86e69c8a8cd1
2023-01-18 02:24:43 -08:00
Anton Nikolaev
f8161d67a0 Fix generating separate fb-internal docs for plugins
Reviewed By: lblasa

Differential Revision: D42370725

fbshipit-source-id: 0f0a1c9676aaa8a57ed8e4a6e973ef476ca757d3
2023-01-06 09:29:44 -08:00
Luke De Feo
3deaa15273 Add Logging @ FB page
Reviewed By: passy

Differential Revision: D42386021

fbshipit-source-id: cd89415a3845bffa9edd9b3a63d4d1a4d5b8d56c
2023-01-06 06:52:19 -08:00
Anton Kastritskiy
2b7ceb9407 bump Static Docs
Reviewed By: jknoxville

Differential Revision: D41800524

fbshipit-source-id: 4dbe0599bb56c857d6b5c064a43cc28ba0f58b04
2022-12-07 05:26:39 -08:00
Luke De Feo
999e7d203a Update ui debugger docs
Reviewed By: antonk52

Differential Revision: D41768712

fbshipit-source-id: a61c07859cd419b30025f3a07e51d97a90215b7a
2022-12-06 10:00:26 -08:00
John Knox
95a3a3d922 Fix style guide internally
Summary:
The site loads the style guide in an iframe so that it's css is isolated from the main sites styles.

But it doesn't know how big to render the iframe, because it doesn't know the size of its contents.
Previously, the js running inside the iframe measured itself and then accessed itself using the parents frame and modified it's own size to match.

That doesn't work anymore because the iframe isn't allowed to interact directly with its parent.
So instead, i'm using message passing.

Also changing MutationObserver to ResizeObserver because the former does not always fire when new css gets loaded and applied.

Reviewed By: aigoncharov

Differential Revision: D41735809

fbshipit-source-id: 9e84a9b20741f5470012e25f240fb6a2b494f7e3
2022-12-06 09:38:11 -08:00
Kevin Strider
ced04c7cec Under the Hood - Part 4
Summary:
This diff includes minor changes to the pages within the Under the Hood section of Flipper Docs.

The page Creating Plugins -> Desktop Plugin APIs -> QPL Linting -> Building a Linter is now removed from the sidebar.

Reviewed By: lblasa

Differential Revision: D41533283

fbshipit-source-id: 63e50210815fe2b67ea54991eb8a7bc16e04e1be
2022-11-28 03:46:26 -08:00
Kevin Strider
fbae680e06 Under the Hood - Part 1
Summary: This diff includes minor changes to the pages within the Under the Hood section of Flipper Docs.

Reviewed By: passy

Differential Revision: D41521538

fbshipit-source-id: 35b372ffdde118faef2732e4cb7684fc9df18f87
2022-11-24 09:54:37 -08:00
Pascal Hartig
5e200dd7ec Add docs about code freeze
Summary: Wanted to write about this for a while as we're reinventing the rules every time we get to this time of the year. :)

Reviewed By: LukeDefeo, antonk52

Differential Revision: D41434886

fbshipit-source-id: 445c6c259bee74874472cf246fdc209e82514fcd
2022-11-21 05:05:54 -08:00
Lorenzo Blasa
9aee09bc70 Data pipeline deep dive
Summary: ^

Reviewed By: antonk52

Differential Revision: D41304481

fbshipit-source-id: 7ebb57d1b6940483dd273c69f9790c346363a2d0
2022-11-15 06:18:12 -08:00
Lorenzo Blasa
6f8b57bbdd Data Pipelines overview
Summary: Pretty much copy/paste from Pascal's post on data pipelines as it provides a quick overview of things involved

Reviewed By: passy

Differential Revision: D41274753

fbshipit-source-id: 337b034d2460ba448582b9dea70b835898627faa
2022-11-15 06:18:12 -08:00
Lorenzo Blasa
4ba34fcb4f Categorise 'Under the Hood -> Meta' section
Summary: ^

Reviewed By: passy

Differential Revision: D41274192

fbshipit-source-id: 602a3c79e971d6f5ea8617ac638c95131e59a820
2022-11-15 06:18:12 -08:00
Lorenzo Blasa
66984c6d13 Organise 'Under the Hood'
Summary: This change alphabetically sorts the 'Under the Hood' section and adds a 'Meta' parent category for everything that is internal as to add a visual cue of what is internal and whats not.

Reviewed By: passy

Differential Revision: D41273678

fbshipit-source-id: 1acf8da184762d5924bff90b6691be1e4be92c46
2022-11-15 06:18:12 -08:00
John Knox
c8cbdffa96 Upgrade docusaurus plugin
Summary: Doing this to get better logging in case we get transient failures again when fetching code snippets

Reviewed By: antonk52

Differential Revision: D41118788

fbshipit-source-id: f6cb9e20a08920f5935b14d765ac4c053ac5c78f
2022-11-08 06:49:27 -08:00
John Knox
2736cfeeb6 Dont gitignore website/yarn.lock
Reviewed By: passy

Differential Revision: D40936268

fbshipit-source-id: c28ad2f825b846b827ddffb555850e6adb10d83e
2022-11-02 05:23:55 -07:00
Anton Kastritskiy
c38fc9c0e4 update docusaurus-plugin-internaldocs-fb
Reviewed By: lblasa

Differential Revision: D40550389

fbshipit-source-id: bab1ac0d627cc2384a3918cde7667441edf4c614
2022-10-20 06:29:49 -07:00
Lorenzo Blasa
85c4178c22 antd update
Summary:
^

allow-large-files

Reviewed By: mweststrate

Differential Revision: D40319006

fbshipit-source-id: 79fc39dfb967d780b947a5ef302abdd0be9b5ee6
2022-10-18 03:32:31 -07:00
Anton Kastritskiy
2fb90369f1 automatic update for docusaurus-plugin-internaldocs-fb@1.0.0,@docusaurus/core@2.1.0,@docusaurus/plugin-client-redirects@2.1.0,@docusaurus/preset-classic@2.1.0
Differential Revision: D39310992

fbshipit-source-id: 18dd5e935f76fa99d4a4b377b9f5c5ac271c2e52
2022-09-08 06:56:06 -07:00
Deborah Attuah
95af1428ce automatic update for docusaurus-plugin-internaldocs-fb@0.12.3
Reviewed By: antonk52

Differential Revision: D39169091

fbshipit-source-id: 249c5f092c1b0f8e0d6f303e6ac96cdee019ecfa
2022-08-31 07:59:11 -07:00
Luke De Feo
4d5b358beb Fix broken links
Reviewed By: jknoxville

Differential Revision: D38387869

fbshipit-source-id: fa97b9b85d244db338ff89c0df474e5f3d0ff7aa
2022-08-03 09:17:20 -07:00
Anton Kastritskiy
96a23495c9 automatic update for docusaurus-plugin-internaldocs-fb@0.12.2
Reviewed By: jknoxville

Differential Revision: D38074467

fbshipit-source-id: b929f50402ca438c0359bb44ae7de335018a88f9
2022-07-22 09:07:10 -07:00
Anton Kastritskiy
013e964287 fix 404 pages
Reviewed By: jknoxville, passy

Differential Revision: D37614048

fbshipit-source-id: 58593b45193382ccdcc8a7eeb77335e663e8eb95
2022-07-05 08:19:08 -07:00
John Knox
569283a1a7 Upgrade staticdocs
Summary: This is required to enable off-VPN access to the site

Reviewed By: antonk52

Differential Revision: D37611617

fbshipit-source-id: 7599fc22766315d799345e955fc87ff3a7ddf50f
2022-07-05 04:27:19 -07:00
Pascal Hartig
c1d959d62e Start a docs page
Summary: Wanted to write down the not-obvious release procedure somewhere. We can extend this with some troubleshooting procedures.

Differential Revision: D37463848

fbshipit-source-id: 899cdfd12fdb0647579271d883f499872167743f
2022-06-28 03:43:59 -07:00
Anton Kastritskiy
2d4ae3961a update docusaurus to v2.0.0-beta.21
Reviewed By: passy

Differential Revision: D37377632

fbshipit-source-id: 3cb3f9801db393dfb4b6fef6c92f758a8be55e84
2022-06-23 08:41:12 -07:00
Kevin Strider
b81fb44017 new Contributing to the Documentation section
Summary:
This is a new section under 'Contributing to the Documentation', in the 'Under the Hood' menu.

It includes two new pages:

* Documentation Formatting Tips (created here.  For content, see D37006489)
* Writing Guide (created here.  For content, see D37006980)

Setup in sidebar.js.

Reviewed By: lblasa

Differential Revision: D37004092

fbshipit-source-id: 5fa0a38632f7fa9d9178b69a89d9b21f5bda39ab
2022-06-09 06:10:06 -07:00
Kevin Strider
b7977a954a sidebar.js
Summary: Tiny change to capitalization of a sub-menu

Reviewed By: nikoant

Differential Revision: D36931810

fbshipit-source-id: 52e6030f75e547e0936893830c702a6939ff5775
2022-06-06 09:18:24 -07:00
Anton Nikolaev
0a8577e948 Show all available sections in sidebar
Summary:
Kevin Strider after reviewing Flipper docs structure suggested to show all sections in sidebar. This will make it easier for users to navigate website as they will be able to find all the content through sidebar menu.

Before that only current section items were shown, so e.g. if user clicks "Learn more" on the start page they open "Features" section and it's not clear that there are a lot of other content (Setup, Creating Plugins, Under the Hood) which is only available through the top menu.

Reviewed By: antonk52

Differential Revision: D36762008

fbshipit-source-id: a36cfb77e5d2efd4f5d8795d1c68e46d07ed79e1
2022-05-31 02:20:39 -07:00
Pascal Hartig
8c4b494d32 Add a note about changelogs
Summary:
LukeDefeo called out that there's currently no guide for how to create changelog items.

I couldn't find another good page to add this to. Might be a good idea to expand this with further tips for making good contributions.

Reviewed By: LukeDefeo, nikoant

Differential Revision: D36702634

fbshipit-source-id: 15bc1dcf420ea923a714929eff8ac817efa56ceb
2022-05-30 03:44:28 -07:00
Kevin Strider
b75eeb941b client-plugin-lifecycle.mdx (Creating Plugins - Client Plugin Lifecycle)
Summary:
Restyle of page, including changes to spelling, grammar, links, and structure (where relevant).

This diff includes a new version of the images:
bg-plugin-lifecycle.png
regular-plugin-lifecycle.png

The old versions have been renamed to:
bg-plugin-lifecycle.bak
regular-plugin-lifecycle.bak

Reviewed By: aigoncharov

Differential Revision: D36630758

fbshipit-source-id: 29922750364e1dd6f959bd297e3b5d5e6cf1a9ac
2022-05-25 03:42:25 -07:00
Kevin Strider
ee006a961b architecture.mdx (Creating Plugins - Architecture)
Summary:
Restyle of page, including changes to spelling, grammar, links, and structure (where relevant).

This diff includes a new version of the image 'flipper-communication-diagram.png'.
The old version has been renamed to 'flipper-communication-diagram.bak'

Reviewed By: aigoncharov

Differential Revision: D36628993

fbshipit-source-id: cb59785777926b4fb8b8bb3be2aa2439d3a580d0
2022-05-25 03:26:55 -07:00
Andrey Goncharov
29eae00309 Blog post "Headless Flipper - what it means for plugin developers"
Reviewed By: passy, antonk52

Differential Revision: D36480939

fbshipit-source-id: dacbdb1af4382e9b52de79403e6aea9a0c740b1c
2022-05-20 09:47:22 -07:00
Anton Nikolaev
566f7108c9 Troubleshooting docs structure refactored
Summary: Troubleshooting docs structure refactored. This should fix publishing of docs on GitHub which is currently failing, because of link to fb-only page from public page: https://github.com/facebook/flipper/actions/runs/2351680003.

Reviewed By: passy

Differential Revision: D36513180

fbshipit-source-id: c0339d437f560464e771e46dfc0a55782faf6a54
2022-05-19 07:43:09 -07:00
Kevin Strider
81d21c6e8b new sub-folder 'Building a Desktop Plugin' (Creating Plugins)
Summary:
Major changes to js-custom.mdx

The content for the following pages is moved to the new sub-folder 'Building a Desktop Plugin':
* js-custom.mdx
* js-setup.mdx
* js-table.mdx

The Title and Sidebar labels have been changed accordingly.

Changes made to sidebar.js,

Reviewed By: lblasa

Differential Revision: D36415874

fbshipit-source-id: 8f1634abc1459d1905da62a1b76bac4b621d0da5
2022-05-19 04:31:06 -07:00
Kevin Strider
0b16f3a031 NEW troubleshooting section (SetUp)
Summary: Restyle of Trobleshooting, which involved changes to sidebar.js and splitting up the previous troubleshooting page into five separate pages.

Reviewed By: lblasa

Differential Revision: D36282539

fbshipit-source-id: e60834e2b4d98b70b23bb11309c3438d85e4de0e
2022-05-11 08:58:34 -07:00
Kevin Strider
d87fdafc9f overview.mdx (Features - Layout)
Summary: Restyle of the page, including changes to spelling, grammar, links, and structure (where relevant).

Reviewed By: passy

Differential Revision: D35898254

fbshipit-source-id: 67e3f3e344faf105f5a8f393c60441d6af3d62aa
2022-04-27 08:38:20 -07:00
Anton Kastritskiy
360c52c67c automatic update for ansi-html@0.0.8
Reviewed By: nikoant

Differential Revision: D35213089

fbshipit-source-id: 4e0d7ca6b341c8caccd1ef69a8b396ab3b6bf7ab
2022-03-29 07:06:58 -07:00
John Knox
94ae12e00e automatic update for docusaurus-plugin-internaldocs-fb@0.10.7
Reviewed By: passy

Differential Revision: D34680094

fbshipit-source-id: dd5b9ff27bf4f90b4e5624195a6aaee9031f9ffd
2022-03-07 03:50:10 -08:00
dmitryvinn
70eab186aa docs: add social banner in support of Ukraine (#3496)
Summary:
Our mission at [Meta Open Source](https://opensource.facebook.com/) is to empower communities through open source, and we believe that it means building a welcoming and safe environment for all. As a part of this work, we are adding this banner in support for Ukraine during this crisis.

![image](https://user-images.githubusercontent.com/12485205/156651121-b1479b59-a4e7-4a5c-b8d5-4265aa0aea7a.png)

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

Test Plan:
Imported from GitHub, without a `Test Plan:` line.

**Static Docs Preview: staticdocs**
|[Full Site](https://our.intern.facebook.com/intern/staticdocs/eph/D34622802/V3/staticdocs/)|

|**Modified Pages**|

**Static Docs Preview: flipper**
|[Full Site](https://our.intern.facebook.com/intern/staticdocs/eph/D34622802/V3/flipper/)|

|**Modified Pages**|

Reviewed By: mweststrate

Differential Revision: D34622802

Pulled By: passy

fbshipit-source-id: a18c0de24a6a6c2311aef9a046fe65d917ce6f9d
2022-03-04 09:20:27 -08:00
Pascal Hartig
07ee7fa706 Add Support Ukraine banner
Summary:
Inspired by https://github.com/facebook/react-native-website/pull/2988

Changelog: Add Support Ukraine banner to website

Reviewed By: antonk52, aigoncharov

Differential Revision: D34627820

fbshipit-source-id: 61f69984451c504eca9a6f5e55f30d968344129e
2022-03-04 03:25:42 -08:00
Andrey Goncharov
e26ba0d945 Encapsulate styleguide styles
Summary: Prevent leaking Flipper styles and antd styles into the website by embedding the styleguide into an iframe.

Reviewed By: nikoant

Differential Revision: D34522771

fbshipit-source-id: a05bf1e7f54fe172fb012a0a02296b3a4e0100f1
2022-02-28 09:54:03 -08:00
Andrey Goncharov
342c316c84 Add style guide
Summary:
allow-large-files
See D34339758

Reviewed By: jknoxville

Differential Revision: D34378571

fbshipit-source-id: a7c845f4676b25998dc63bf3029c5d1ec8205611
2022-02-22 08:25:28 -08:00
Andrey Goncharov
3d8d43b562 Update babel config
Summary:
allow-large-files

During decapitation the style guide was accidentally removed. In this diff we bring it back and embed it into our docs.
The only caveat is that the fonts have slightly changes because we included antd.css. It does not change too much from my point of view, but I would love to hear from the team.

Reviewed By: jknoxville

Differential Revision: D34339758

fbshipit-source-id: 10d347bc805f9314ae717de483bf8b766000280f
2022-02-22 08:25:28 -08:00
Andrey Goncharov
4d1d9648f0 JS Flipper announcement
Summary: Annonce JS flipper

Reviewed By: mweststrate

Differential Revision: D33565875

fbshipit-source-id: da7140ea3a331ff3d387801410e88d1f6746bee3
2022-02-21 04:23:16 -08:00
John Knox
ab0775a987 automatic update for docusaurus-plugin-internaldocs-fb@0.10.6
Reviewed By: antonk52

Differential Revision: D34343082

fbshipit-source-id: d6baf684e951e6ad4099034595331f5ed9e764d5
2022-02-21 04:23:16 -08:00
Anton Kastritskiy
138f222cde automatic update for docusaurus-plugin-internaldocs-fb@0.10.5
Reviewed By: lblasa

Differential Revision: D34180213

fbshipit-source-id: ac5ab5b723b863df0357e988c79961ff3ee9469f
2022-02-14 08:11:56 -08:00
Anton Nikolaev
f3869bc575 Fix loading of google anaytics script
Summary:
Flipper docs were loading really slowly and I found in dev tools that was becuase of requests to scripts specified in docusaurus config which were not found because of relative urls used. This diff fixes that by specifying absolute URL for script loading.
{F696549860}

Reviewed By: jknoxville

Differential Revision: D33845659

fbshipit-source-id: 5079dba442f5fdf4b4f3b2a64146535b39ea72a4
2022-01-28 09:47:22 -08:00
John Knox
f94a3c75a4 Upgrade shelljs
Summary: Upgrading to fix https://nvd.nist.gov/vuln/detail/CVE-2022-0144

Reviewed By: antonk52

Differential Revision: D33743443

fbshipit-source-id: fe55b64c068125536b22c8ef94ccd262733938cc
2022-01-24 09:32:23 -08:00