h4sh3d / mdbook-api

Small Rust port of Slate template for mdBook

Home Page:https://github.com/rust-lang/mdBook

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

License: MIT

THIS PROJECT HAS BEEN ARCHIVED

mdbook-api

mdbook-api is a mdBook backend that ports the work of Slate.

Assets in the theme/ folder come from Slate project.

Usage

Install mdbook-api backend with

cargo install --git https://github.com/h4sh3d/mdbook-api.git

and configure your book.toml

[book]
# ...

[output.api]

# A list of links for TOC footer
[[output.api.toc_footer]]
link_url = "https://example.com"
content = "Get in touch"

# A list of languages for constructing the menu
[[output.api.lang]]
# Language id
id = "rust"
# Display name, optional
name = "Rust"

[[output.api.lang]]
id = "go"
name = "Go"

Licence

All the code in this repository is released under the MIT, for more information take a look at the LICENSE file.

About

Small Rust port of Slate template for mdBook

https://github.com/rust-lang/mdBook

License:MIT License


Languages

Language:Rust 83.7%Language:Handlebars 8.9%Language:CSS 7.3%