Skip to content

Commit 6dc1cb1

Browse files
committed
docs: add Discord link to Wiki home page
Also only show relevant help on the Wiki home page
1 parent 1f460e8 commit 6dc1cb1

File tree

2 files changed

+21
-5
lines changed

2 files changed

+21
-5
lines changed

docs/index.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,15 @@
22

33
Welcome to the IOTstack Wiki:
44

5-
* Use the list of contents at the left of this page to explore this Wiki.
6-
7-
- If you are viewing this on a device that does not show the list by default, click the "≡" icon.
8-
9-
* If you are looking for information on a specific container, click on the "Containers" folder at the bottom of the list.
5+
* <span class="show-when-wide-layout">
6+
Use the header tabs and content list at the left to explore this Wiki.
7+
</span>
8+
<label class="show-when-narrow-layout">
9+
Click the "≡" icon to navigate this Wiki.
10+
</label>
1011

1112
* If you are just getting started with IOTstack, see [Getting Started](Basic_setup/).
1213

14+
* You're always welcome to ask questions on the [IOTStack Discord](https://discord.gg/ZpKHnks).
15+
1316
* To contribute see [Contributing](Developers/)

docs/style.css

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,17 @@
1+
/* vim: set sw=2: */
2+
13
/* hide "Made with Material" footer */
24
.md-footer-meta {
35
display: none;
46
}
7+
8+
@media screen and (max-width:76.25em) {
9+
.show-when-wide-layout {
10+
display:none
11+
}
12+
}
13+
@media screen and (min-width:76.25em) {
14+
.show-when-narrow-layout {
15+
display:none
16+
}
17+
}

0 commit comments

Comments
 (0)