Commit Graph

7 Commits

Author SHA1 Message Date
Robin Krahl
45a1a3d1f5
Add top-level heading to changelog 2020-07-25 13:24:11 +02:00
Robin Krahl
34857816e1
Add -e/--example option to only show examples
As requested here [0], this patch adds a new -e/--example option that
extracts the examples from the documentation string instead of printing
the full documentation for an item.  Syntax highlighting will be added
in the future.

[0] https://old.reddit.com/r/rust/comments/hx16j0/rustyman_a_commandline_viewer_for_rustdoc/fz3utjf/
2020-07-25 12:58:52 +02:00
Robin Krahl
1a242e5474
Fix definition selector for functions
Previosuly, we always used the selector ".docblock.type-decl" to select
the definition for an item.  But this did not work for functions.
Therefore we change the selector to "pre.fn" for functions.
2020-07-25 12:23:29 +02:00
Robin Krahl
221c345e1c
Add changelog entry for logging functionality
We introduced basic logging in commit e69e4af but didn’t update the
changelog.  This patch adds the missing changelog entry.
2020-07-25 11:44:57 +02:00
Robin Krahl
c00a04b179
Fix v0.1.1 release date in changelog 2020-07-25 11:42:26 +02:00
Robin Krahl
af1b81dd57
Release v0.1.1
This patch release fixes some minor issues with the documentation
displayed on crates.io.
2020-07-24 14:26:25 +02:00
Robin Krahl
0c22a6d393
Release v0.1.0 2020-07-24 14:16:34 +02:00