An extensive Minecraft Server Handbook (400,000+ characters) which you can read here.
Important
You are not allowed to publish the book, see license.
- Install mdbook: https://rust-lang.github.io/mdBook/guide/installation.html
- Build the book using
mdbook build
command
After performing mdbook build
command, static content will be generated in /book/
directory.
- Install mdbook: https://rust-lang.github.io/mdBook/guide/installation.html
- Install preprocessors
$ cargo install mdbook-catppuccin && mdbook-catppuccin install
$ cargo install mdbook-alerts && echo "[preprocessor.alerts]" >> book.toml
$ cargo install mdbook-hints && echo "[preprocessor.hints]" >> book.toml
- Copy hints.css, hints.js (eventually ko-fi.js) files from
/theme/
directory in this repository into the mdBook's/theme/
directory and updateadditional-css
andadditional-js
keys within thebook.toml
as shown below
[output.html]
-additional-css = ["..."]
+additional-css = ["...", "theme/hints.css"]
-additional-js = ["..."]
+additional-js = ["...", "theme/hints.js"]
- In the
/theme/index.hbs
file, add following lines to the div with right-buttons class.
and following lines before the custom JS scripts
<!-- Here -->
<script src="https://unpkg.com/@popperjs/core@2"></script>
<script src="https://unpkg.com/tippy.js@6"></script>
<!-- Custom JS scripts -->
- Create
hints.toml
file in your mdBook's root directory (same location where the book.toml lives) - Build the book using
mdbook build
command
After performing last command, static content will be generated in /book/
directory.
If you want to remove image metadata and convert Typst files (usually diagrams) into images, perform sh images.sh
command in terminal.
Following tools must be installed:
- rsvg-convert
- ImageMagick
- Typst
- exiftool
More information about contributing can be found here.
License can be found here.