fix drone
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Sthope 2023-08-19 22:54:57 +02:00
parent 867b94ffa2
commit 833f6e35ae
3 changed files with 186 additions and 17 deletions

125
mkdocs copy.yml Normal file
View File

@ -0,0 +1,125 @@
site_name: Sthope Wiki
repo_url: https://git.sthope.dev/sthope/wiki
repo_name: sthope/wiki
edit_uri: _edit/master/docs/
site_url: https://wiki.sthope.dev
site_author: sthope
theme:
name: material
language: en
logo: images/sthope_wiki.png
favicon: images/assets/favicon.png
icon:
repo: fontawesome/brands/github
logo: fontawesome/regular/folder-open
palette:
- scheme: slate
toggle:
icon: material/weather-sunny
name: Switch to light mode
- scheme: default
toggle:
icon: material/weather-night
name: Switch to dark mode
font:
code: Jet Brains Mono
features:
- navigation.instant
#- navigation.sections # prevents collapsible sections
#- navigation.expand #expands sections by default
# insiders only
- search.suggest
plugins:
- git-revision-date
- search
- minify:
minify_html: true
- external-markdown
markdown_extensions:
- abbr
- admonition # enables coloured blocks mid article
- attr_list # improves image handling
- pymdownx.details # enables collapsible admonitions
- footnotes
- meta # adds support for front matter
- toc:
permalink: true
toc_depth: 4
- pymdownx.highlight: # code highlighting
linenums: true
# anchor_linenums: true
- pymdownx.tabbed # enables tabs for embedded blocks
# - pymdownx.inlinehilite
- pymdownx.snippets
- pymdownx.superfences # allows for the nesting of code blocks inside other blocks
- pymdownx.keys
copyright: Sthope © 2022
extra:
social:
- icon: 'fontawesome/brands/github'
link: 'https://github.com/sthopeless'
name: GitHub
- icon: 'fontawesome/brands/git'
link: 'https://git.sthope.dev/sthope'
name: Gitea
- icon: 'fontawesome/brands/discord'
link: 'https://discordapp.com/users/365825462074605569/'
name: Message me on Discord
nav:
# - Tutorials:
# - MKDocs with Gitea and Drone: tutorials/mkdocs-with-gitea-and-drone.md
- Proxmox:
# - Debian VM: proxmox/Debian-VM.md
- Home Assistant on Proxmox: proxmox/how-to-install-home-assistant.md
- LXC Debian: proxmox/LXC-Debian.md
- LXC Passthrough: proxmox/Passthrough.md
- Proxmox send CPU Temp to Home-Assistant/MQTT: proxmox/send-cpu-temp-to-ha.md
- Ubuntu VM Resize Disk: proxmox/ubuntu-vm-resize-disk.md
# - VM Passthrough Harddrives: proxmox/vm-passthrough-harddrives.md
- Portainer Stacks:
- Authentik: portainer-stacks/Authentik.md
- Bazarr: portainer-stacks/bazarr.md
- Bitwarden: portainer-stacks/Bitwarden.md
- CrowdSec: portainer-stacks/CrowdSec.md
- dashy: portainer-stacks/dashy.md
- digiKam: portainer-stacks/digiKam.md
- Drone: portainer-stacks/Drone.md
- Gitea: portainer-stacks/Gitea.md
- Heimdall: portainer-stacks/heimdall.md
- Jellyfin: portainer-stacks/jellyfin.md
- LibrePhotos: portainer-stacks/LibrePhotos.md
- mealie: portainer-stacks/mealie.md
- MQTT-Explorer: portainer-stacks/mqtt-explorer.md
- MQTT Mosquitto: portainer-stacks/MQTT-Mosquitto.md
- n8n: portainer-stacks/n8n.md
- Nextcloud: portainer-stacks/Nextcloud.md
- Octoprint: portainer-stacks/octoprint.md
- PhotoView: portainer-stacks/PhotoView.md
- qBittorrent: portainer-stacks/qbittorrent.md
- Samba: portainer-stacks/samba.md
- shlink: portainer-stacks/shlink.md
- tailscale: portainer-stacks/tailscale.md
- TasmoBackup: portainer-stacks/TasmoBackup.md
- Tasmota-Device-Manager: portainer-stacks/Tasmota-Device-Manager.md
- Transmission: portainer-stacks/Transmission.md
- tvheadend: portainer-stacks/tvheadend.md
- Uptime-Kuma: portainer-stacks/uptime-kuma.md
- VSCode: portainer-stacks/VSCode.md
- Zigbee2MQTT: portainer-stacks/Zigbee2MQTT.md
- Swag:
- Swag: portainer-stacks/Swag/Swag.md
- Swag MODs: portainer-stacks/Swag/Swag-MODS.md
- Authelia: portainer-stacks/Swag/authelia.md
- Theme-Park: portainer-stacks/Swag/adding-theme-park.md
- cmnds:
- 101: cmnds/101.md
- AddUser 1Line: cmnds/adduser-1line.md
- Tasmota Backlogs: cmnds/tasmota-backlogs.md
- sthope: '/portainer-stacks/'

View File

@ -84,34 +84,50 @@ nav:
- Ubuntu VM Resize Disk: proxmox/ubuntu-vm-resize-disk.md
# - VM Passthrough Harddrives: proxmox/vm-passthrough-harddrives.md
- Portainer Stacks:
- Airsonic: portainer-stacks/Airsonic.md
- Authentik: portainer-stacks/Authentik.md
- Bazarr: portainer-stacks/bazarr.md
- bazarr: portainer-stacks/bazarr.md
- Bitwarden: portainer-stacks/Bitwarden.md
- CrowdSec: portainer-stacks/CrowdSec.md
- cryptpad: portainer-stacks/cryptpad.md
- dashy: portainer-stacks/dashy.md
- digiKam: portainer-stacks/digiKam.md
- Dillinger: portainer-stacks/Dillinger.md
- Drone: portainer-stacks/Drone.md
- ethercalc: portainer-stacks/ethercalc.md
- Gitea: portainer-stacks/Gitea.md
- Heimdall: portainer-stacks/heimdall.md
- Jellyfin: portainer-stacks/jellyfin.md
- guacamole: portainer-stacks/guacamole.md
- heimdall: portainer-stacks/heimdall.md
- invidious: portainer-stacks/invidious.md
- jellyfin: portainer-stacks/jellyfin.md
- LibrePhotos: portainer-stacks/LibrePhotos.md
- Librespeed: portainer-stacks/Librespeed.md
- mealie: portainer-stacks/mealie.md
- MQTT-Explorer: portainer-stacks/mqtt-explorer.md
- MQTT Mosquitto: portainer-stacks/MQTT-Mosquitto.md
- mqtt-explorer: portainer-stacks/mqtt-explorer.md
- MQTT-Mosquitto: portainer-stacks/MQTT-Mosquitto.md
- n8n: portainer-stacks/n8n.md
- Nextcloud: portainer-stacks/Nextcloud.md
- Octoprint: portainer-stacks/octoprint.md
- PhotoView: portainer-stacks/PhotoView.md
- qBittorrent: portainer-stacks/qbittorrent.md
- Samba: portainer-stacks/samba.md
- shlink: portainer-stacks/shlink.md
- tailscale: portainer-stacks/tailscale.md
- TasmoBackup: portainer-stacks/TasmoBackup.md
- Tasmota-Device-Manager: portainer-stacks/Tasmota-Device-Manager.md
- Transmission: portainer-stacks/Transmission.md
- tvheadend: portainer-stacks/tvheadend.md
- Uptime-Kuma: portainer-stacks/uptime-kuma.md
- Nextcloud: portainer-stacks/Nextcloud.md
- octoprint: portainer-stacks/octoprint.md
- Ombi: portainer-stacks/Ombi.md
- onlyoffice: portainer-stacks/onlyoffice.md
- Overseerr: portainer-stacks/Overseerr.md
- phoneinfoga: portainer-stacks/phoneinfoga.md
- PhotoView: portainer-stacks/PhotoView.md
- piped: portainer-stacks/piped.md
- Prowlarr: portainer-stacks/Prowlarr.md
- qbittorrent: portainer-stacks/qbittorrent.md
- rustdesk: portainer-stacks/rustdesk.md
- samba: portainer-stacks/samba.md
- shlink: portainer-stacks/shlink.md
- tailscale: portainer-stacks/tailscale.md
- TasmoBackup: portainer-stacks/TasmoBackup.md
- Tasmota-Device-Manager: portainer-stacks/Tasmota-Device-Manager.md
- Transmission: portainer-stacks/Transmission.md
- tvheadend: portainer-stacks/tvheadend.md
- uptime-kuma: portainer-stacks/uptime-kuma.md
- VSCode: portainer-stacks/VSCode.md
- Whisparr: portainer-stacks/Whisparr.md
- WireGuard: portainer-stacks/WireGuard.md
- Zigbee2MQTT: portainer-stacks/Zigbee2MQTT.md
- Swag:
- Swag: portainer-stacks/Swag/Swag.md

View File

@ -0,0 +1,28 @@
import os
# Define the directory containing Portainer Stack Markdown files
markdown_dir = "./docs/portainer-stacks"
# Define the relative path prefix used in mkdocs.yml
relative_path_prefix = "portainer-stacks/"
# Generate navigation entries
nav_entries = []
for filename in os.listdir(markdown_dir):
if filename.endswith(".md"):
title = filename[:-3] # Remove ".md" extension
relative_path = f"{relative_path_prefix}{filename}" # Generate relative path
nav_entries.append(f" - {title}: {relative_path}") # Add 4 spaces
# List of names to ignore
names_to_ignore = ["template"] # Add names you want to ignore here
# Filter out entries to ignore
filtered_nav_entries = [entry for entry in nav_entries if not any(name in entry for name in names_to_ignore)]
# Sort the navigation entries alphabetically (case-insensitive)
sorted_nav_entries = sorted(filtered_nav_entries, key=lambda entry: entry.lower())
# Print the sorted navigation entries with 4 spaces
for entry in sorted_nav_entries:
print(entry)