chrisg,
@chrisg@fosstodon.org avatar

Wrote a quick and dirty utility that extracts all Glowdust snippets from the markdown files of the documentation and runs them.

It runs as an integration test, so if I make a mistake in the docs, normal cargo test will let me know.

Also supports tags to skip examples that don't compile on purpose.

Helped me catch a few issues immediately, and I now know that my documentation is up to data with the actual implementation.

For the curious:

https://codeberg.org/glowdust/glowdust/src/branch/master/tests/book/check_book.rs

  • All
  • Subscribed
  • Moderated
  • Favorites
  • rust
  • DreamBathrooms
  • ngwrru68w68
  • tester
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • InstantRegret
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • mdbf
  • tacticalgear
  • JUstTest
  • osvaldo12
  • normalnudes
  • cubers
  • cisconetworking
  • everett
  • GTA5RPClips
  • ethstaker
  • Leos
  • provamag3
  • anitta
  • modclub
  • megavids
  • lostlight
  • All magazines