Revamp the design and Mkdocs conf
This commit is contained in:
parent
a40fa45e58
commit
1f4df2694c
2 changed files with 40 additions and 34 deletions
|
@ -1,4 +0,0 @@
|
||||||
[data-md-color-scheme="slate"][data-md-color-primary="black"] {
|
|
||||||
--md-typeset-a-color: hsl(230.8, 39.9%, 68%);
|
|
||||||
}
|
|
||||||
|
|
70
mkdocs.yml
70
mkdocs.yml
|
@ -1,3 +1,4 @@
|
||||||
|
---
|
||||||
site_name: benoit.jp.net
|
site_name: benoit.jp.net
|
||||||
copyright: <p xmlns:cc="http://creativecommons.org/ns#" xmlns:dct="http://purl.org/dc/terms/"><span property="dct:title">benoit.jp.net</span> is marked with <a href="http://creativecommons.org/publicdomain/zero/1.0?ref=chooser-v1" target="_blank" rel="license noopener noreferrer" style="display:inline-block;">CC0 1.0<img style="height:22px!important;margin-left:3px;vertical-align:text-bottom;" src="https://benoit.jp.net/images/cc.svg"><img style="height:22px!important;margin-left:3px;vertical-align:text-bottom;" src="https://benoit.jp.net/images/zero.svg"></a></p>
|
copyright: <p xmlns:cc="http://creativecommons.org/ns#" xmlns:dct="http://purl.org/dc/terms/"><span property="dct:title">benoit.jp.net</span> is marked with <a href="http://creativecommons.org/publicdomain/zero/1.0?ref=chooser-v1" target="_blank" rel="license noopener noreferrer" style="display:inline-block;">CC0 1.0<img style="height:22px!important;margin-left:3px;vertical-align:text-bottom;" src="https://benoit.jp.net/images/cc.svg"><img style="height:22px!important;margin-left:3px;vertical-align:text-bottom;" src="https://benoit.jp.net/images/zero.svg"></a></p>
|
||||||
repo_url: https://git.benoit.jp.net/benoit/mkdocs-benoit.jp.net
|
repo_url: https://git.benoit.jp.net/benoit/mkdocs-benoit.jp.net
|
||||||
|
@ -6,10 +7,24 @@ edit_uri: _edit/master/docs/
|
||||||
|
|
||||||
theme:
|
theme:
|
||||||
name: material
|
name: material
|
||||||
font: false
|
|
||||||
palette:
|
palette:
|
||||||
scheme: slate
|
# Palette toggle for light mode
|
||||||
primary: black
|
- media: "(prefers-color-scheme: light)"
|
||||||
|
primary: black
|
||||||
|
accent: amber
|
||||||
|
scheme: default
|
||||||
|
toggle:
|
||||||
|
icon: material/brightness-7
|
||||||
|
name: Switch to dark mode
|
||||||
|
# Palette toggle for dark mode
|
||||||
|
- media: "(prefers-color-scheme: dark)"
|
||||||
|
primary: black
|
||||||
|
accent: amber
|
||||||
|
scheme: slate
|
||||||
|
toggle:
|
||||||
|
icon: material/brightness-4
|
||||||
|
name: Switch to light mode
|
||||||
|
font: false
|
||||||
favicon: images/console-network.png
|
favicon: images/console-network.png
|
||||||
icon:
|
icon:
|
||||||
logo: material/console-network
|
logo: material/console-network
|
||||||
|
@ -17,14 +32,13 @@ theme:
|
||||||
features:
|
features:
|
||||||
- navigation.tabs
|
- navigation.tabs
|
||||||
- navigation.sections
|
- navigation.sections
|
||||||
|
- navigation.tracking
|
||||||
- toc.integrate
|
- toc.integrate
|
||||||
|
- content.action.edit
|
||||||
|
|
||||||
extra_css:
|
|
||||||
- stylesheets/extra.css
|
|
||||||
extra_javascript:
|
extra_javascript:
|
||||||
- javascripts/tablesort.min.js
|
- javascripts/tablesort.min.js
|
||||||
- javascripts/tables.js
|
- javascripts/tables.js
|
||||||
- javascripts/mermaid.min.js
|
|
||||||
|
|
||||||
markdown_extensions:
|
markdown_extensions:
|
||||||
- toc:
|
- toc:
|
||||||
|
@ -40,18 +54,14 @@ markdown_extensions:
|
||||||
- pymdownx.snippets
|
- pymdownx.snippets
|
||||||
- pymdownx.highlight
|
- pymdownx.highlight
|
||||||
- pymdownx.superfences:
|
- pymdownx.superfences:
|
||||||
# make exceptions to highlighting of code:
|
|
||||||
custom_fences:
|
custom_fences:
|
||||||
- name: mermaid
|
- name: mermaid
|
||||||
class: mermaid
|
class: mermaid
|
||||||
format: !!python/name:mermaid2.fence_mermaid
|
format: !!python/name:pymdownx.superfences.fence_code_format
|
||||||
|
|
||||||
|
|
||||||
plugins:
|
plugins:
|
||||||
- git-revision-date
|
- git-revision-date-localized:
|
||||||
- mermaid2:
|
enable_creation_date: true
|
||||||
arguments:
|
|
||||||
theme: 'dark'
|
|
||||||
|
|
||||||
extra:
|
extra:
|
||||||
social:
|
social:
|
||||||
|
@ -60,29 +70,29 @@ extra:
|
||||||
name: Mastodon
|
name: Mastodon
|
||||||
- icon: material/git
|
- icon: material/git
|
||||||
link: https://git.benoit.jp.net/benoit
|
link: https://git.benoit.jp.net/benoit
|
||||||
name: Gitea
|
name: Forgejo
|
||||||
- icon: material/github
|
- icon: material/github
|
||||||
link: https://github.com/benoitjpnet
|
link: https://github.com/benoitjpnet
|
||||||
name: Github
|
name: Github
|
||||||
|
|
||||||
nav:
|
nav:
|
||||||
- Homepage:
|
- Homepage:
|
||||||
- index.md
|
- index.md
|
||||||
- Howtos:
|
- Howtos:
|
||||||
- Howto CentOS: Howtos/HowtoCentOS.md
|
- Howto CentOS: Howtos/HowtoCentOS.md
|
||||||
- Howto Crack WPA: Howtos/HowtoCrackWPA.md
|
- Howto Crack WPA: Howtos/HowtoCrackWPA.md
|
||||||
- Howto Encoding: Howtos/HowtoEncoding.md
|
- Howto Encoding: Howtos/HowtoEncoding.md
|
||||||
- Howto GPG: Howtos/HowtoGPG.md
|
- Howto GPG: Howtos/HowtoGPG.md
|
||||||
- Howto LXD: Howtos/HowtoLXD.md
|
- Howto LXD: Howtos/HowtoLXD.md
|
||||||
- Howto MacOS: Howtos/HowtoMacOS.md
|
- Howto MacOS: Howtos/HowtoMacOS.md
|
||||||
- Howto Secure Mail Server: Howtos/HowtoSecureMailServer.md
|
- Howto Secure Mail Server: Howtos/HowtoSecureMailServer.md
|
||||||
- Howto Sysadmin: Howtos/HowtoSysadmin.md
|
- Howto Sysadmin: Howtos/HowtoSysadmin.md
|
||||||
- Howto ZFS: Howtos/HowtoZFS.md
|
- Howto ZFS: Howtos/HowtoZFS.md
|
||||||
- Various:
|
- Various:
|
||||||
- CPU Benchmark: Various/CPUBenchmark.md
|
- CPU Benchmark: Various/CPUBenchmark.md
|
||||||
- Electric Road Trip 2019: Various/ElectricRoadTrip2019.md
|
- Electric Road Trip 2019: Various/ElectricRoadTrip2019.md
|
||||||
- Infra: Various/Infra.md
|
- Infra: Various/Infra.md
|
||||||
- Japonais: Various/Japonais.md
|
- Japonais: Various/Japonais.md
|
||||||
- Mullvad: Various/Mullvad.md
|
- Mullvad: Various/Mullvad.md
|
||||||
- TarifsBanques: Various/TarifsBanques.md
|
- TarifsBanques: Various/TarifsBanques.md
|
||||||
- CV: CV/CV.md
|
- CV: CV/CV.md
|
||||||
|
|
Loading…
Reference in a new issue