From 60619f7bae467860fcc021f5f9a15d0726a15dd4 Mon Sep 17 00:00:00 2001 From: Liu-Cheng Xu Date: Tue, 31 Oct 2023 14:21:25 +0800 Subject: [PATCH] Add custom.css --- docs/book.toml | 9 +++++++++ docs/custom.css | 3 +++ docs/src/README.md | 1 - 3 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 docs/custom.css diff --git a/docs/book.toml b/docs/book.toml index 58cae9f07..e9b48bdcc 100644 --- a/docs/book.toml +++ b/docs/book.toml @@ -4,3 +4,12 @@ language = "en" multilingual = false src = "src" title = "Vim-Clap Documentation" + +[rust] +edition = "2021" + +[output.html] +mathjax-support = true +additional-css = ["custom.css"] +edit-url-template = "https://github.com/liuchengxu/vim-clap/edit/master/docs/{path}" +git-repository-url = "https://github.com/liuchengxu/vim-clap/tree/master/docs" diff --git a/docs/custom.css b/docs/custom.css new file mode 100644 index 000000000..a6ade392a --- /dev/null +++ b/docs/custom.css @@ -0,0 +1,3 @@ +h2, h3 { + margin-block-start: 1.5em; +} diff --git a/docs/src/README.md b/docs/src/README.md index 0d5e9636d..3b3408f0d 100644 --- a/docs/src/README.md +++ b/docs/src/README.md @@ -2,7 +2,6 @@ [![CI](https://github.com/liuchengxu/vim-clap/workflows/ci/badge.svg)](https://github.com/liuchengxu/vim-clap/actions?workflow=ci) [![Gitter][g1]][g2] -[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://paypal.me/liuchengxu) [g1]: https://badges.gitter.im/liuchengxu/vim-clap.svg [g2]: https://gitter.im/liuchengxu/vim-clap?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge