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
|
image: docker.io/rockylinux:9
|
||||||
steps:
|
steps:
|
||||||
- name: Install deps
|
- 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
|
- name: setup ssh
|
||||||
env:
|
env:
|
||||||
|
@ -6,7 +6,7 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: Containerfile
|
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:
|
volumes:
|
||||||
- .:/wiki:z,rw
|
- .:/wiki:z,rw
|
||||||
ports:
|
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: Copyright © 2024 Rocky Enterprise Software Foundation
|
copyright: Copyright © 2024 Rocky Enterprise Software Foundation
|
||||||
|
|
||||||
|
extra_css:
|
||||||
|
- assets/extra.css
|
||||||
|
|
||||||
# Configuration
|
# Configuration
|
||||||
theme:
|
theme:
|
||||||
name: material
|
name: material
|
||||||
logo: assets/icon-white.svg
|
logo: assets/resf-icon-w-bg.png
|
||||||
palette:
|
palette:
|
||||||
- media: "(prefers-color-scheme: light)"
|
- media: "(prefers-color-scheme: light)"
|
||||||
scheme: default
|
scheme: resf
|
||||||
primary: teal
|
|
||||||
accent: teal
|
|
||||||
toggle:
|
toggle:
|
||||||
icon: material/weather-night
|
icon: material/weather-night
|
||||||
name: Switch to dark mode
|
name: Switch to dark mode
|
||||||
- media: "(prefers-color-scheme: dark)"
|
- media: "(prefers-color-scheme: dark)"
|
||||||
scheme: slate
|
scheme: resf-dark
|
||||||
primary: teal
|
|
||||||
accent: teal
|
|
||||||
toggle:
|
toggle:
|
||||||
icon: material/weather-sunny
|
icon: material/weather-sunny
|
||||||
name: Switch to light mode
|
name: Switch to light mode
|
||||||
|
Loading…
Reference in New Issue
Block a user