Skip to content

Commit 97692cc

Browse files
Delete jekyll docs and redirect to flutter.dev (flutter#815)
1 parent 4963ec0 commit 97692cc

36 files changed

+11
-875
lines changed

docs/_config.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,5 @@ title: DevTools (preview)
77
repository: flutter/devtools
88
kramdown:
99
parse_block_html: true
10+
plugins:
11+
- jekyll-redirect-from

docs/_includes/toc.html

Lines changed: 0 additions & 34 deletions
This file was deleted.

docs/_layouts/default.html

Lines changed: 0 additions & 58 deletions
This file was deleted.

docs/android_studio.md

Lines changed: 1 addition & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,3 @@
11
---
2-
title: Running from Android Studio
2+
redirect_to: https://flutter.dev/docs/development/tools/devtools/android-studio
33
---
4-
5-
* toc
6-
{:toc}
7-
8-
## Installing the Flutter plugin
9-
10-
Install the Flutter plugin if you don't already have it installed. This can be done
11-
via the normal `Plugins` page in the IntelliJ and Android Studio settings. Once that
12-
page is open, you can search the marketplace for the Flutter plugin.
13-
14-
## Running an app
15-
16-
In order to open DevTools, you typically first want to run a Flutter app. This
17-
can be accomplished by opening a Flutter project, ensuring you have a device connected,
18-
and hitting the `Run` or `Debug` toolbar buttons.
19-
20-
Once an app is running, you can start DevTools by:
21-
22-
- clicking on the `Open DevTools` toolbar action in the Run view
23-
- clicking on the `Open DevTools` toolbar action in the Debug view (if debugging)
24-
- selecting the `Open DevTools` action from the `More Actions` menu in the
25-
Flutter Inspector view
26-
27-
<img src="images/android_studio_open_devtools.png" width="299" height="86" />
28-
29-
## As an action
30-
31-
You can also open DevTools from an IntelliJ action. Open the `Find Action...`
32-
dialog (on a Mac, type `cmd-shift-a`), and search for the `Open DevTools` action.
33-
When you select that action, DevTools will be installed, the DevTools server
34-
launched, and a browser instance will open pointing to the DevTools app.
35-
36-
When opened via an IntelliJ action, the app will not be connected to a Flutter app.
37-
You'll need to provide it with a service protocol port for a currently running app;
38-
this can be done via the in-line `Connect to a running app` dialog.

docs/assets/css/style.scss

Lines changed: 0 additions & 152 deletions
This file was deleted.

docs/cli.md

Lines changed: 1 addition & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -1,61 +1,3 @@
11
---
2-
title: Running from the Command Line
2+
redirect_to: https://flutter.dev/docs/development/tools/devtools/cli
33
---
4-
5-
* toc
6-
{:toc}
7-
8-
## Installing DevTools
9-
10-
If you have `pub` on your path, you can run:
11-
12-
- `pub global activate devtools`
13-
14-
If you have `flutter` on your path, you can run:
15-
16-
- `flutter pub global activate devtools`
17-
18-
That will install (or update) DevTools on your machine.
19-
20-
## Run the DevTools application server
21-
22-
Next, run the local web server, which serves the DevTools application itself.
23-
To do that, run one of the following two commands:
24-
25-
- `pub global run devtools` (if you have `pub` on your path)
26-
- `pub global activate webdev` (webdev may need to be updated too)
27-
28-
- `flutter pub global run devtools` (if you have `flutter` on your path)
29-
30-
On the command-line, you should see output that looks something like:
31-
32-
> Serving DevTools at `http://127.0.0.1:9100`
33-
34-
## Start an application to debug
35-
36-
Next, start an app to connect to. This can be either a Flutter application or a Dart
37-
command-line application. The example below uses a Flutter app:
38-
39-
- `cd path/to/flutter/app`
40-
- `flutter run`
41-
42-
You'll need to have a device connected - or a simulator open - for `flutter run` to work.
43-
Once the app starts, you'll see a message in your terminal that looks like:
44-
45-
> An Observatory debugger and profiler on iPhone X is available at: `http://127.0.0.1:50976/Swm0bjIe0ks=/`
46-
47-
Keep note of this uri, as you will use it to connect your app to DevTools.
48-
49-
## Opening DevTools and connecting to the target app
50-
51-
Using DevTools now is as simple as opening a Chrome browser window to `http://localhost:9100`.
52-
Once DevTools opens, you will see a connect dialog:
53-
54-
<img src="images/connect_dialog.png" width="600" />
55-
56-
Paste the uri you got from running your app (in this example, `http://127.0.0.1:50976/Swm0bjIe0ks=/`)
57-
into the connect dialog to connect your app to DevTools.
58-
59-
This uri contains a security token, so the uri will be different for each run of your app.
60-
This means that if you stop your application and re-run it, you will need to connect to DevTools
61-
with the new uri.

0 commit comments

Comments
 (0)