commit 4c68d85825264d9e8e5af203a1b87dbd5efc9db1 Author: Evan Reichard Date: Tue Apr 25 16:31:43 2023 -0400 Initial Commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..45ddf0a --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +site/ diff --git a/docs/assets/css/extensions/tabbed.css b/docs/assets/css/extensions/tabbed.css new file mode 100644 index 0000000..7fc9ae2 --- /dev/null +++ b/docs/assets/css/extensions/tabbed.css @@ -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; +} \ No newline at end of file diff --git a/docs/assets/css/extra.css b/docs/assets/css/extra.css new file mode 100644 index 0000000..7d08509 --- /dev/null +++ b/docs/assets/css/extra.css @@ -0,0 +1 @@ +@import "extensions/tabbed.css"; diff --git a/docs/index.md b/docs/index.md new file mode 100644 index 0000000..f94820d --- /dev/null +++ b/docs/index.md @@ -0,0 +1,3 @@ +# Welcome + +This is my documentation site :) diff --git a/drone.yaml b/drone.yaml new file mode 100644 index 0000000..33a8a0b --- /dev/null +++ b/drone.yaml @@ -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 diff --git a/mkdocs.yml b/mkdocs.yml new file mode 100644 index 0000000..0a4654f --- /dev/null +++ b/mkdocs.yml @@ -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 diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..e64364b --- /dev/null +++ b/requirements.txt @@ -0,0 +1 @@ +mkdocs-material==9.1.8