From 1437582ccd3c4af51f34e43a77df5c8622e24d6c Mon Sep 17 00:00:00 2001 From: Robert Hensing Date: Tue, 20 Dec 2022 16:29:32 +0100 Subject: [PATCH] doc/book.toml: Improve config (#7300) * doc/book.toml: Improve config - `title` value will be added to the HTML - here - `git-repository-url` adds a link to the GitHub repo in the top right corner - `edit-url-template` adds an edit link, inviting contributions Co-authored-by: Valentin Gagarin --- doc/manual/book.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/manual/book.toml b/doc/manual/book.toml index 5f78a7614..46ced7ff7 100644 --- a/doc/manual/book.toml +++ b/doc/manual/book.toml @@ -1,6 +1,11 @@ +[book] +title = "Nix Reference Manual" + [output.html] additional-css = ["custom.css"] additional-js = ["redirects.js"] +edit-url-template = "https://github.com/NixOS/nix/tree/master/doc/manual/{path}" +git-repository-url = "https://github.com/NixOS/nix" [preprocessor.anchors] renderers = ["html"]