Merge remote-tracking branch 'commwiki/main'
This commit is contained in:
commit
bfdec1088e
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -11,7 +11,7 @@ jobs:
|
||||
image: docker.io/rockylinux:9
|
||||
steps:
|
||||
- name: Install deps
|
||||
run: dnf -y install git python3 python3-pip cairo-devel
|
||||
run: dnf -y upgrade && dnf -y install git python3 python3-pip cairo-devel
|
||||
|
||||
- name: setup ssh
|
||||
env:
|
||||
|
@ -6,7 +6,7 @@ services:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Containerfile
|
||||
command: ["mkdocs", "serve","--dev-addr", "0.0.0.0:${PORT:-8000}"]
|
||||
command: ["mkdocs", "serve", "-w", "/wiki", "--dev-addr", "0.0.0.0:${PORT:-8000}"]
|
||||
volumes:
|
||||
- .:/wiki:z,rw
|
||||
ports:
|
||||
|
25
docs/assets/extra.css
Normal file
25
docs/assets/extra.css
Normal file
@ -0,0 +1,25 @@
|
||||
[data-md-color-scheme="resf"] {
|
||||
--md-accent-fg-color: #0e7391;
|
||||
--md-primary-fg-color--dark: #107fa1;
|
||||
--md-primary-fg-color--light: #FFFFFF;
|
||||
--md-primary-fg-color: #107fa1;
|
||||
--md-typeset-a-color: #107fa1;
|
||||
}
|
||||
[data-md-color-scheme="resf-dark"] {
|
||||
color-scheme: dark;
|
||||
--md-default-fg-color: #FFFFFF;
|
||||
--md-default-bg-color: rgb(30, 33, 41);
|
||||
|
||||
--md-primary-fg-color: #107fa1;
|
||||
--md-primary-bg-color: #FFFFFF;
|
||||
--md-primary-fg-color--dark: #107fa1;
|
||||
|
||||
--md-accent-fg-color: #0e7391;
|
||||
|
||||
--md-default-fg-color--light: rgba(226, 228, 233, 0.56);
|
||||
|
||||
--md-typeset-table-color: rgba(240, 241, 244, 0.12);
|
||||
|
||||
--md-typeset-color: rgba(226, 228, 233, 0.82);
|
||||
--md-typeset-a-color: #107fa1;
|
||||
}
|
BIN
docs/assets/resf-icon-w-bg.png
Normal file
BIN
docs/assets/resf-icon-w-bg.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 381 KiB |
BIN
docs/assets/resf-icon.png
Normal file
BIN
docs/assets/resf-icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.3 MiB |
13
mkdocs.yml
13
mkdocs.yml
@ -13,22 +13,21 @@ edit_uri: _edit/main/docs/
|
||||
# Copyright
|
||||
copyright: Copyright © 2024 Rocky Enterprise Software Foundation
|
||||
|
||||
extra_css:
|
||||
- assets/extra.css
|
||||
|
||||
# Configuration
|
||||
theme:
|
||||
name: material
|
||||
logo: assets/icon-white.svg
|
||||
logo: assets/resf-icon-w-bg.png
|
||||
palette:
|
||||
- media: "(prefers-color-scheme: light)"
|
||||
scheme: default
|
||||
primary: teal
|
||||
accent: teal
|
||||
scheme: resf
|
||||
toggle:
|
||||
icon: material/weather-night
|
||||
name: Switch to dark mode
|
||||
- media: "(prefers-color-scheme: dark)"
|
||||
scheme: slate
|
||||
primary: teal
|
||||
accent: teal
|
||||
scheme: resf-dark
|
||||
toggle:
|
||||
icon: material/weather-sunny
|
||||
name: Switch to light mode
|
||||
|
Loading…
Reference in New Issue
Block a user