feat: add basic mkdocs site

This commit is contained in:
Kasper Juul Hermansen 2024-09-25 21:11:19 +02:00
parent a0009e270a
commit ed882463f4
Signed by: kjuulh
SSH Key Fingerprint: SHA256:RjXh0p7U6opxnfd3ga/Y9TCo18FYlHFdSpRIV72S/QM
14 changed files with 103 additions and 1 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.cuddle/

View File

@ -1,4 +1,4 @@
# No Workshop Scripts # no-workshop-scripts
This repository contains all video scripts for the nonothing channel This repository contains all video scripts for the nonothing channel

11
cuddle.yaml Normal file
View File

@ -0,0 +1,11 @@
# yaml-language-server: $schema=https://git.front.kjuulh.io/kjuulh/cuddle/raw/branch/main/schemas/base.json
base: "git@git.front.kjuulh.io:kjuulh/cuddle-empty-plan.git"
vars:
service: "no-workshop-scripts"
registry: kasperhermansen
scripts:
dev:
type: shell

1
docs/blog/index.md Normal file
View File

@ -0,0 +1 @@
# scripts

View File

@ -0,0 +1,7 @@
authors:
kjuulh:
name: "kjuulh" # Author name
description: "No/Nothing" # Author description
avatar: https://git.front.kjuulh.io/avatars/260eef75e2c53962646a315683a1d1e5?size=512
# slug: url # Author profile slug
# url: url # Author website URL

View File

@ -0,0 +1,2 @@
authors:
kjuulh

16
docs/blog/posts/intro.md Normal file
View File

@ -0,0 +1,16 @@
---
date: 2024-08-25
authors:
- kjuulh
draft: false
#categories:
# - Hello
# - World
#tags:
# - Foo
# - Bar
---
# Introduction
Le Kasper

1
docs/index.md Normal file
View File

@ -0,0 +1 @@
# no/nothing scripts

1
docs/scratchpad.md Normal file
View File

@ -0,0 +1 @@
# scratch-pad

39
mkdocs.yml Normal file
View File

@ -0,0 +1,39 @@
site_name: no/nothing
repo_url: https://github.com/nogitplease/no-workshop-scripts
plugins:
- blog:
authors: true
authors_file: "{blog}/posts/.authors.yml"
blog_toc: true
- search:
nav:
- index.md
- scratchpad.md
- Blog:
- blog/index.md
theme:
name: material
palette:
# Palette toggle for automatic mode
- media: "(prefers-color-scheme)"
toggle:
icon: material/brightness-auto
name: Switch to light mode
# Palette toggle for light mode
- media: "(prefers-color-scheme: light)"
scheme: default
toggle:
icon: material/brightness-7
name: Switch to dark mode
# Palette toggle for dark mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
toggle:
icon: material/brightness-4
name: Switch to system preference

3
renovate.json Normal file
View File

@ -0,0 +1,3 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json"
}

7
scripts/dev.sh Executable file
View File

@ -0,0 +1,7 @@
#!/usr/bin/env zsh
set -e
echo "$PWD"
docker compose -f templates/docker-compose.yml up --build

3
templates/Dockerfile Normal file
View File

@ -0,0 +1,3 @@
FROM squidfunk/mkdocs-material:9.5
#RUN pip install

View File

@ -0,0 +1,10 @@
services:
mkdocs:
build:
context: ../
dockerfile: ./templates/Dockerfile
ports:
- "8000:8000"
volumes:
- ${PWD}:/docs
command: serve -a 0.0.0.0:8000