diff --git a/book.toml b/book.toml index 8d52c75a..82c2966d 100644 --- a/book.toml +++ b/book.toml @@ -2,12 +2,18 @@ title = "conduwuit" description = "conduwuit, which is a well-maintained fork of Conduit, is a simple, fast and reliable chat server for the Matrix protocol" language = "en" +authors = ["strawberry (June)"] +text-direction = "ltr" multilingual = false src = "docs" [build] build-dir = "public" create-missing = true +extra-watch-dirs = ["debian", "docs"] + +[rust] +edition = "2021" [output.html] git-repository-url = "https://github.com/girlbossceo/conduwuit" diff --git a/nix/pkgs/book/default.nix b/nix/pkgs/book/default.nix index c1e5b8e4..4745e432 100644 --- a/nix/pkgs/book/default.nix +++ b/nix/pkgs/book/default.nix @@ -19,6 +19,7 @@ stdenv.mkDerivation { "debian/conduwuit.service" "debian/README.md" "docs" + "theme" ]; }; @@ -27,7 +28,6 @@ stdenv.mkDerivation { ]; buildPhase = '' - mdbook build - mv public $out + mdbook build -d $out ''; } diff --git a/theme/favicon.png b/theme/favicon.png new file mode 100644 index 00000000..150aea82 Binary files /dev/null and b/theme/favicon.png differ