Skip to content

Commit fd0340c

Browse files
committed
docs: improve Wiki home page friendliness
Add Discord link to Wiki home page. Only show relevant (wide/narrow) layout navigation advice. Hide Navigation and add project mission statement quote.
1 parent 179c633 commit fd0340c

File tree

2 files changed

+31
-6
lines changed

2 files changed

+31
-6
lines changed

docs/index.md

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,25 @@
1+
---
2+
title: Home
3+
hide:
4+
- navigation
5+
---
16
# IOTStack Wiki
27

3-
Welcome to the IOTstack Wiki:
4-
5-
* Use the list of contents at the left of this page to explore this Wiki.
8+
!!! abstract inline end "What is IOTstack"
9+
IOTstack is a builder for docker-compose to easily make and maintain IoT
10+
stacks on the Raspberry Pi
611

7-
- If you are viewing this on a device that does not show the list by default, click the "≡" icon.
12+
Welcome to the IOTstack Wiki:
813

9-
* If you are looking for information on a specific container, click on the "Containers" folder at the bottom of the list.
14+
* <span class="show-when-wide-layout">
15+
Use the header tabs and content list at the left to explore this Wiki.
16+
</span>
17+
<label class="show-when-narrow-layout">
18+
Click the "≡" icon to navigate this Wiki.
19+
</label>
1020

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

13-
* To contribute see [Contributing](Developers/)
23+
* You're always welcome to ask questions on the [IOTStack Discord](https://discord.gg/ZpKHnks).
24+
25+
* Fixes and improvements welcome, 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)