Initial Commit
This commit is contained in:
commit
4c68d85825
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
site/
|
41
docs/assets/css/extensions/tabbed.css
Normal file
41
docs/assets/css/extensions/tabbed.css
Normal 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;
|
||||
}
|
1
docs/assets/css/extra.css
Normal file
1
docs/assets/css/extra.css
Normal file
@ -0,0 +1 @@
|
||||
@import "extensions/tabbed.css";
|
3
docs/index.md
Normal file
3
docs/index.md
Normal file
@ -0,0 +1,3 @@
|
||||
# Welcome
|
||||
|
||||
This is my documentation site :)
|
19
drone.yaml
Normal file
19
drone.yaml
Normal 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
|
32
mkdocs.yml
Normal file
32
mkdocs.yml
Normal 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
1
requirements.txt
Normal file
@ -0,0 +1 @@
|
||||
mkdocs-material==9.1.8
|
Loading…
Reference in New Issue
Block a user