Skip to content

Commit 9ce54ca

Browse files
committed
Adjust several small parts of docs
- add home icon to the top of the page, linking to website (ux improvement) - order software titles alphabetically - describe provisioning script
1 parent 8e892b7 commit 9ce54ca

File tree

3 files changed

+34
-13
lines changed

3 files changed

+34
-13
lines changed

docs/User-Guide_Autoconfig.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,3 +104,19 @@ PRESET_USER_SHELL="bash"
104104
1. Copy the template with `cp extensions/preset-firstrun.sh userpatches/extensions/`
105105
2. Edit the template `userpatches/extensions/preset-firstrun.sh` according to your situation
106106
3. Build your Armbian image using the additional parameter `ENABLE_EXTENSIONS=preset-firstrun`
107+
108+
## Provisioning script
109+
110+
`/root/provisioning` is executed once as root after the first successful login, either manual or automated. It’s used to perform final system setup tasks like installing packages, configuring the system, or enabling services.
111+
112+
The example script updates package lists, installs htop, sets a custom hostname.
113+
114+
115+
```bash title="/root/provisioning"
116+
#!/bin/bash
117+
set -e
118+
echo "Provisioning started"
119+
apt update && apt install -y htop
120+
hostnamectl set-hostname my-device
121+
echo "Provisioning complete"
122+
```

mkdocs.yml

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -133,26 +133,25 @@ nav:
133133
- 'Network': 'User-Guide_Armbian-Config/Network.md'
134134
- 'Localisation': 'User-Guide_Armbian-Config/Localisation.md'
135135
- 'ARMBIAN SOFTWARE':
136-
- 'Overview': 'User-Guide_Armbian-Software.md'
137-
- 'Web hosting': 'User-Guide_Armbian-Software/WebHosting.md'
138-
- 'Containers': 'User-Guide_Armbian-Software/Containers.md'
136+
- 'Armbian': 'User-Guide_Armbian-Software/Armbian.md'
139137
- 'Backup': 'User-Guide_Armbian-Software/Backup.md'
140-
# - 'Desktops': 'User-Guide_Armbian-Software/Desktops.md'
141-
- 'Music': 'User-Guide_Armbian-Software/Music.md'
142-
- 'Finance': 'User-Guide_Armbian-Software/Finance.md'
138+
- 'Containers': 'User-Guide_Armbian-Software/Containers.md'
143139
- 'Database': 'User-Guide_Armbian-Software/Database.md'
144-
- 'Downloaders': 'User-Guide_Armbian-Software/Downloaders.md'
140+
- 'Development tools': 'User-Guide_Armbian-Software/DevTools.md'
145141
- 'DNS blockers': 'User-Guide_Armbian-Software/DNS.md'
146-
- 'Home Automation': 'User-Guide_Armbian-Software/HomeAutomation.md'
147-
- 'Monitoring': 'User-Guide_Armbian-Software/Monitoring.md'
148-
- 'Armbian': 'User-Guide_Armbian-Software/Armbian.md'
149-
- 'DevTools': 'User-Guide_Armbian-Software/DevTools.md'
142+
- 'Downloaders': 'User-Guide_Armbian-Software/Downloaders.md'
143+
- 'Finance': 'User-Guide_Armbian-Software/Finance.md'
144+
- 'Home automation': 'User-Guide_Armbian-Software/HomeAutomation.md'
150145
- 'Management': 'User-Guide_Armbian-Software/Management.md'
151-
- 'Printing': 'User-Guide_Armbian-Software/Printing.md'
152146
- 'Media': 'User-Guide_Armbian-Software/Media.md'
147+
- 'Monitoring': 'User-Guide_Armbian-Software/Monitoring.md'
148+
- 'Music': 'User-Guide_Armbian-Software/Music.md'
153149
- 'Netconfig': 'User-Guide_Armbian-Software/Netconfig.md'
150+
- 'Overview': 'User-Guide_Armbian-Software.md'
151+
- 'Printing': 'User-Guide_Armbian-Software/Printing.md'
154152
- 'VPN': 'User-Guide_Armbian-Software/VPN.md'
155-
153+
- 'Web hosting': 'User-Guide_Armbian-Software/WebHosting.md'
154+
# - 'Desktops': 'User-Guide_Armbian-Software/Desktops.md'
156155
- 'ARMBIAN BUILD FRAMEWORK' :
157156
- 'Overview' : 'Developer-Guide_Overview.md'
158157
- 'Getting Started' : 'Developer-Guide_Build-Preparation.md'

overrides/main.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
<!-- Announcement bar -->
44
{% block announce %}
5+
<a href="https://www.armbian.com">
6+
<span class="twemoji twitter">
7+
{% include ".icons/fontawesome/solid/house.svg" %}
8+
</span> &nbsp; www.armbian.com
9+
</a>
10+
&nbsp;
511
<a href="https://github.com/sponsors/armbian">
612
<span class="twemoji twitter">
713
{% include ".icons/fontawesome/solid/heart.svg" %}

0 commit comments

Comments
 (0)