kinode-dao / kinode-book

"Rust Book"-style introduction and documentation for Kinode OS
Apache License 2.0
12 stars 8 forks source link

lightification #244

Closed nick1udwig closed 3 months ago

nick1udwig commented 3 months ago

Make the book lighter-weight:

  1. use lighter font file (~9MB savings)
  2. remove Cargo.locks (~1MB savings; could simply not send src/code/ with book at all, which would save another ~2.5MB)
  3. don't duplicate the search index (~2.5MB savings). Requires you use a different version of mdbook:
    cargo install --git https://github.com/nick1udwig/mdBook --branch hf/dont-write-searchindex-json --locked mdbook
nick1udwig commented 3 months ago

I'm asking our users to poke around a version of the book that uses these changes, https://book.yael.solutions/ to see if search breaks for anyone.

nick1udwig commented 3 months ago

tar'd book size is now 3.1MB down from 6MB