From 323771dc6b775f20a933a761f7736db59beaadc2 Mon Sep 17 00:00:00 2001 From: andryyy Date: Sat, 6 May 2017 08:41:38 +0200 Subject: [PATCH] Be more readable --- docs/extra.css | 13 +++++++++++++ docs/install.md | 3 ++- mkdocs.yml | 10 ++++++++-- 3 files changed, 23 insertions(+), 3 deletions(-) create mode 100644 docs/extra.css diff --git a/docs/extra.css b/docs/extra.css new file mode 100644 index 000000000..f03e2f9e4 --- /dev/null +++ b/docs/extra.css @@ -0,0 +1,13 @@ +@import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400i,700,700i'); +.md-nav { + font-size: 14px; + line-height: 1.4; +} +.md-typeset { + font-size: 14px; + line-height: 1.5; +} +body, input { + font-family: "Source Sans Pro", "Roboto","Helvetica Neue",Helvetica,Arial,sans-serif; + color: black; +} diff --git a/docs/install.md b/docs/install.md index 38c792b22..bdb2b381d 100644 --- a/docs/install.md +++ b/docs/install.md @@ -1,4 +1,5 @@ -**WARNING**: Please use Ubuntu 16.04 instead of Debian 8 or [switch to the kernel 4.9 from jessie backports](https://packages.debian.org/jessie-backports/linux-image-amd64) because there is a bug (kernel panic) with the kernel 3.16 when running docker containers with healthchecks! Full details here: [github.com/docker/docker/issues/30402](https://github.com/docker/docker/issues/30402) and [forum.mailcow.email/t/solved-mailcow-docker-causes-kernel-panic-edit/448](https://forum.mailcow.email/t/solved-mailcow-docker-causes-kernel-panic-edit/448) +!!! warning + Please use Ubuntu 16.04 instead of Debian 8 or [switch to the kernel 4.9 from jessie backports](https://packages.debian.org/jessie-backports/linux-image-amd64) because there is a bug (kernel panic) with the kernel 3.16 when running docker containers with healthchecks! Full details here: [github.com/docker/docker/issues/30402](https://github.com/docker/docker/issues/30402) and [forum.mailcow.email/t/solved-mailcow-docker-causes-kernel-panic-edit/448](https://forum.mailcow.email/t/solved-mailcow-docker-causes-kernel-panic-edit/448) You need Docker and Docker Compose. diff --git a/mkdocs.yml b/mkdocs.yml index 02e7859bf..a1d8a167f 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -5,16 +5,21 @@ theme: material markdown_extensions: - codehilite(guess_lang=true) - toc(permalink=true) + - admonition + - pymdownx.magiclink + - pymdownx.tasklist(custom_checkbox=true) + - pymdownx.mark + - pymdownx.tilde pages: - 'Information and support': 'index.md' - 'Installation & update': - 'Installation': 'install.md' - 'Update': 'update.md' -- 'First Steps': +- 'First Steps (optional)': - 'SSL': 'ssl.md' - 'Rspamd Web UI': 'rspamd_ui.md' - 'Reverse Proxy': 'rp.md' - - 'Setup a relayhost (optional)': 'relayhost.md' + - 'Setup a relayhost': 'relayhost.md' - 'Log to Syslog': 'syslog.md' - 'Local MTA on Docker host': 'local_mta.md' - 'Sender and receiver model': 'sender_rcv.md' @@ -45,3 +50,4 @@ extra: palette: primary: 'indigo' accent: 'orange' +extra_css: [extra.css]