add social plugin

This commit is contained in:
simon 2023-04-01 19:16:09 +07:00
parent 384b58bc34
commit a78cb2b614
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4
5 changed files with 15 additions and 2 deletions

3
.gitignore vendored
View File

@ -1,2 +1,5 @@
# ignore test builds
mkdocs/site
# ignore local cache
mkdocs/.cache/

View File

@ -3,6 +3,8 @@
FROM python:3.10.9-slim-bullseye AS builder
ENV PATH=/root/.local/bin:$PATH
RUN apt-get update -y && apt-get install -y libcairo2
COPY requirements.txt /requirements.txt
RUN pip install --user -r requirements.txt

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

View File

@ -35,7 +35,7 @@ markdown_extensions:
- pymdownx.superfences
theme:
name: material
logo: assets/favicon.ico
logo: assets/logo-dark.jpg
favicon: assets/favicon.ico
font: false
custom_dir: overrides
@ -48,3 +48,9 @@ extra_css:
extra:
analytics:
provider: custom
plugins:
- social:
cards_color:
fill: "#00202f"
text: "#eeeeee"
cards_font: Sen-Bold

View File

@ -1,2 +1,4 @@
cairosvg==2.7.0
mkdocs==1.4.2
mkdocs-material==9.1.3
mkdocs-material==9.1.5
pillow==9.5.0