Initial Commit

This commit is contained in:
Evan Reichard 2023-04-25 16:31:43 -04:00
commit e77e78f283
7 changed files with 98 additions and 0 deletions

19
.drone.yaml Normal file
View File

@ -0,0 +1,19 @@
---
kind: pipeline
type: docker
name: build
steps:
- name: build
image: squidfunk/mkdocs-material:9.1.8
volumes:
- name: site
path: /site
commands:
- pip install -U -r ./requirements.txt
- mkdocs build
- cp -r site/ /site
- chmod -R 777 /site
volumes:
- name: site
host:
path: /opt/appdata/mkdocswiki

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
site/

View File

@ -0,0 +1,41 @@
.tabbed-set {
display: flex;
position: relative;
flex-wrap: wrap;
}
.tabbed-set .highlight {
background: #ddd;
}
.tabbed-set .tabbed-content {
display: none;
order: 99;
width: 100%;
}
.tabbed-set label {
width: auto;
margin: 0 0.5em;
padding: 0.25em;
font-size: 120%;
cursor: pointer;
color: #ffffff !important;
}
.tabbed-set input {
position: absolute;
opacity: 0;
}
.tabbed-set input:nth-child(n+1) {
color: #333333;
}
.tabbed-set input:nth-child(n+1):checked + label {
color: cyan !important;
}
.tabbed-set input:nth-child(n+1):checked + label + .tabbed-content {
display: block;
}

View File

@ -0,0 +1 @@
@import "extensions/tabbed.css";

3
docs/index.md Normal file
View File

@ -0,0 +1,3 @@
# Welcome
This is my documentation site :)

32
mkdocs.yml Normal file
View File

@ -0,0 +1,32 @@
site_name: Evans Reichard - Documentation
site_description: "This is my 'wiki' - where I record various things related to my homelab or tech in general."
site_author: "Evan Reichard"
site_url: "https://docs.va.reichard.io"
copyright: |
© Evan Reichard
docs_dir: docs/
repo_name: evan/docs
repo_url: https://gitea.va.reichard.io/evan/docs
nav:
- Welcome: index.md
theme:
name: "material"
palette:
scheme: "slate"
primary: "indigo"
accent: "indigo"
features:
- toc.integrate
icon:
logo: "material/library"
repo: "material/library"
plugins:
- search
- offline

1
requirements.txt Normal file
View File

@ -0,0 +1 @@
mkdocs-material==9.1.8