Skip to content

Commit b82d48a

Browse files
committed
feat(build): scan for builtin Nodes docs
1 parent 54858b2 commit b82d48a

File tree

4 files changed

+11
-5
lines changed

4 files changed

+11
-5
lines changed

.github/workflows/mkdocs-to-pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@ jobs:
2525
path: .cache
2626
restore-keys: |
2727
mkdocs-material-
28-
- run: pip install mkdocs-material
28+
- run: pip install mkdocs-material mkdocs-include-dir-to-nav
2929
- run: mkdocs gh-deploy --force

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
FROM squidfunk/mkdocs-material:9
2+
3+
RUN pip install mkdocs-include-dir-to-nav

docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
services:
22
dev-server:
3-
image: squidfunk/mkdocs-material:9
3+
build:
4+
context: .
45
ports:
56
- 8000:8000
67
volumes:
@@ -9,4 +10,3 @@ services:
910
- serve
1011
- --dev-addr=0.0.0.0:8000
1112
- --watch=.
12-

mkdocs.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ theme:
2424
icon: material/weather-sunny
2525
name: Switch to light mode
2626

27+
plugins:
28+
- search
29+
- include_dir_to_nav
30+
2731
markdown_extensions:
2832
- attr_list
2933
- md_in_html
@@ -50,5 +54,4 @@ nav:
5054
- Nodes: usage/nodes.md
5155
- Nodes:
5256
- Introduction: nodes/introduction.md
53-
- Built-In:
54-
- HTTP: nodes/builtin/http.md
57+
- Built-In: nodes/builtin

0 commit comments

Comments
 (0)