Skip to content

Releases: sam0x17/docify

v0.1.5

17 May 03:46
78d2651
Compare
Choose a tag to compare
  • several internal performance improvements (combined Vec is now a Vec<bool> and EntityType has been removed since it wasn't used)
  • fix issue where docify embed HTML comments that are inside of a markdown codeblock were still expanding

v0.1.4

17 May 00:17
95983fa
Compare
Choose a tag to compare
  • fixes some bugs with compile_markdown! when input directory and output directory aren't at the same level
  • adds integration tests for compile_markdown!

v0.1.3

16 May 15:31
7ee6cfb
Compare
Choose a tag to compare

adds compile_markdown!(..) macro. This is meant to run with #[cfg(doc)] attached to it, and will take in the path to a markdown file or a directory of markdown files, and a target directory (optional). All markdown files will be processed at compile-time such that comments of the form <!-- docify::embed!(..) --> will be processed like regular docify::embed!(..) calls, allowing you to embed examples from throughout your project directly in markdown files. This is particularly useful for keeping examples in README.md up-to-date.

v0.1.1

11 May 13:11
180261c
Compare
Choose a tag to compare

tweak docs

v0.1.2

11 May 13:15
4dc9176
Compare
Choose a tag to compare
  • major re-work of how source code is extracted
  • now uses a string compression technique to step through the original source string and extract the original item source code, unmodified after it has been identified by syn
  • this means that all types of comments now work in exported examples, previously only doc comments worked 🎉
  • if this process fails for whatever reason, a compile-error will be issued, but hopefully there are no pathological examples I haven't considered. If you run into an issue please follow the prompt in the compile error and submit an issue accordingly 🙏🏻

v0.1.0

09 May 03:08
d718372
Compare
Choose a tag to compare

Initial release. Supports all basic features and includes completel documentation.