I PUBLISHED ITTTTTT!!!
This was the final cleanup sprint before shipping lexepub v0.1.0, and it ended up being a surprisingly big set of changes across docs, CI, workflows, and the README. Nothing glamorous, but all the stuff that makes a project feel real instead of “a folder on my computer.”
Docs Cleanup + Expansion
I went through the entire docs site and updated everything:
- Rust adapter docs now include resource APIs, TOC APIs, and link normalization notes.
- WASM adapter docs now list the full API surface, including
get_resource()and the chapter‑relative resource helpers. - C/C++ adapter docs got updated with the new functions and a clearer API reference.
- Quickstart now includes useful commands, WASM build instructions, and resource‑loading examples.
- The homepage got a new “Resource + TOC Utilities” card and a clearer adapter parity section.
Basically: the docs now actually reflect what lexepub can do.
README Overhaul
The README got the cleanup it always deserved (and needed)
- Proper formatting
- Clearer feature list
- NPM + crates.io links
- Better installation instructions
- Cleaner demo section
- Updated build instructions
GitHub Pages Workflow Refactor
I rewrote (ahem, copied from Tamaru) the entire Pages deployment workflow:
- fixed Node version
- fixed root/base paths
- fixed demo paths
- fixed docs paths
- fixed the deploy directory structure
- fixed the index redirect
Release CI
I added proper release workflows:
- cargo publish (with dry‑run option)
- wasm-pack build
- C header generation
- release tarball creation
- GitHub Release upload
It even handles platform‑specific artifacts cleanly and doesn’t hardcode paths anymore (I fixed that… again).
Resource API + WASM Updates
I added:
get_resource(path)- better resource resolution
- normalized internal paths
- improved TOC extraction
- updated TypeScript definitions
The WASM adapter is now fully capable of powering the demo without hacks.
I Published It!!!!!!!!!!!!!!
Yep!
lexepub is now on crates.io and npm!
Log in to leave a comment