Skip to content

Commit

Permalink
Add custom.css
Browse files Browse the repository at this point in the history
  • Loading branch information
liuchengxu committed Oct 31, 2023
1 parent 90789c1 commit 60619f7
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
9 changes: 9 additions & 0 deletions docs/book.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
3 changes: 3 additions & 0 deletions docs/custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
h2, h3 {
margin-block-start: 1.5em;
}
1 change: 0 additions & 1 deletion docs/src/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 60619f7

Please sign in to comment.