feat: add basic mkdocs site
This commit is contained in:
parent
a0009e270a
commit
ed882463f4
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.cuddle/
|
@ -1,4 +1,4 @@
|
||||
# No Workshop Scripts
|
||||
# no-workshop-scripts
|
||||
|
||||
This repository contains all video scripts for the nonothing channel
|
||||
|
||||
|
11
cuddle.yaml
Normal file
11
cuddle.yaml
Normal 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
1
docs/blog/index.md
Normal file
@ -0,0 +1 @@
|
||||
# scripts
|
7
docs/blog/posts/.authors.yml
Normal file
7
docs/blog/posts/.authors.yml
Normal 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
|
2
docs/blog/posts/.meta.yml
Normal file
2
docs/blog/posts/.meta.yml
Normal file
@ -0,0 +1,2 @@
|
||||
authors:
|
||||
kjuulh
|
16
docs/blog/posts/intro.md
Normal file
16
docs/blog/posts/intro.md
Normal 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
1
docs/index.md
Normal file
@ -0,0 +1 @@
|
||||
# no/nothing scripts
|
1
docs/scratchpad.md
Normal file
1
docs/scratchpad.md
Normal file
@ -0,0 +1 @@
|
||||
# scratch-pad
|
39
mkdocs.yml
Normal file
39
mkdocs.yml
Normal 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
3
renovate.json
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json"
|
||||
}
|
7
scripts/dev.sh
Executable file
7
scripts/dev.sh
Executable 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
3
templates/Dockerfile
Normal file
@ -0,0 +1,3 @@
|
||||
FROM squidfunk/mkdocs-material:9.5
|
||||
|
||||
#RUN pip install
|
10
templates/docker-compose.yml
Normal file
10
templates/docker-compose.yml
Normal 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
|
Loading…
Reference in New Issue
Block a user