Skip to content

Commit 95fba60

Browse files
docs(devtools): add video to the docs
1 parent e8547ef commit 95fba60

File tree

2 files changed

+20
-3
lines changed

2 files changed

+20
-3
lines changed

content/devtools/overview.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Once the `DevtoolsModule` is imported and your application is up and running (`n
4444

4545
<figure><img src="/assets/devtools/modules-graph.png" /></figure>
4646

47-
> info **Hint** As you can see on the screenshot above, every module connect to the `InternalCoreModule`. `InternalCoreModule` is a global module that is always imported into the root module. Since it's registered as a global node, Nest automatically creates edges between all of the modules and the `InternalCoreModule` node. Now, if you want to hide global modules from the graph, you can use the "Hide global modules" checkbox (in the sidebar).
47+
> info **Hint** As you can see on the screenshot above, every module connects to the `InternalCoreModule`. `InternalCoreModule` is a global module that is always imported into the root module. Since it's registered as a global node, Nest automatically creates edges between all of the modules and the `InternalCoreModule` node. Now, if you want to hide global modules from the graph, you can use the "**Hide global modules**" checkbox (in the sidebar).
4848
4949
So as we can see, `DevtoolsModule` makes your application expose an additional HTTP server (on port 8000) that the Devtools application will use to introspect your app.
5050

@@ -66,6 +66,20 @@ Using the form controls located in the sidebar (on the left), you can control ed
6666

6767
This can be particularly useful when you have **new developers** on your team and you want to show them how your application is structured. You can also use this feature to visualize a specific module (e.g. `TasksModule`) and all of its dependencies, which can come in handy when you're breaking down a large application into smaller modules (for example, individual micro-services).
6868

69+
You can watch this video to see the **Graph Explorer** feature in action:
70+
71+
<figure>
72+
<iframe
73+
width="800"
74+
height="450"
75+
src="https://www.youtube.com/embed/bW8V-ssfnvM"
76+
title="YouTube video player"
77+
frameBorder="0"
78+
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
79+
allowFullScreen
80+
></iframe>
81+
</figure>
82+
6983
#### Investigating the "Cannot resolve dependency" error
7084

7185
> info **Note** This feature is supported for `@nestjs/core` >= `v9.3.10`.

src/styles.scss

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,11 +108,14 @@ figure {
108108
margin: 60px 0;
109109
}
110110

111-
img {
111+
img, iframe {
112112
max-width: 100%;
113-
height: auto;
114113
box-shadow: 0 0 50px 0 rgba(0, 0, 0, 0.08);
115114
}
115+
116+
img {
117+
height: auto;
118+
}
116119
}
117120

118121
figcaption {

0 commit comments

Comments
 (0)