Fix image links with baseUrl

Summary:
When using baseUrl in site config, it adds a prefix to all link paths.

But for assets, it doesn't work if you refer to them as `docs/assets/...`, you have to use just `assets/...`. Source: https://github.com/facebook/Docusaurus/issues/861

Reviewed By: passy

Differential Revision: D20796933

fbshipit-source-id: 2346e42b8b548f576a1e143f56ee5236eab55073
This commit is contained in:
John Knox
2020-04-02 03:12:06 -07:00
committed by Facebook GitHub Bot
parent cfb77148f7
commit 5ad8106e3f
20 changed files with 29 additions and 29 deletions

View File

@@ -17,13 +17,13 @@ As an alternative to using built-in Developer Tools you can also attach to the r
To attach the running Flipper instance open new tab in Google Chrome, navigate to "http://localhost:9222" and choose "Flipper" in the opened list.
![Attach From Google Chrome](/docs/assets/debugging-from-google-chrome.png)
![Attach From Google Chrome](assets/debugging-from-google-chrome.png)
## Visual Studio Code
If you prefer to use the same editor for both coding and debugging, you can attach to the running Flipper instance for debugging right from Visual Studio Code. First of all, you need to install extension "Debugger for Chrome". Then, to start debugging, open folder `desktop` of Flipper repository in VSCode, execute `yarn start` in terminal to launch Flipper in development mode, select tab `Debug and Run`, and run task `Attach to Running Renderer`. By default this task is set as the first one, so you can just press `F5` to run it.
![Attach From Visual Studio Code](/docs/assets/debugging-from-vscode.png)
![Attach From Visual Studio Code](assets/debugging-from-vscode.png)
## Plugin missing