10 Commits (02fafb76a02a52719f4fc73909ddb5552633f156)

Author SHA1 Message Date
alex c6fe95a36b output: print results in very basic colors unless suppressed
zig now outputs dimmed comments and bold identifiers, where supported.
suppressed by NO_COLOR env var or --nocolor flag.
2 years ago
alex 8c2b7543b1 docs: mention explicitely no semantic analysis is run 2 years ago
alex 19b427b665 output: skip top level doc comments on exact/sub queries
the assumption is top level doc comments are of litte to no interest
if an exact/sub query is specified.

a side effect of this change is, if -s option is specified but no
identifier arg is provided, zdoc outputs only top level doc comments.
for example,

    zdoc -s std.log
2 years ago
alex 78607c3a96 readme: delete outdated info about 'unimplemented' errors
most of them work now. if anything still shows up, it's probably more of
a bug now.
2 years ago
alex af1b591672 docs: correct optional vs required positional args format
the source arg is always required, identifier is optional.
the opposite was remnant from an earlier version.
2 years ago
alex a684fbb425 cmd: search across the whole zig stdlib if source is exactly 'std'
sometimes, it may be unclear which module a certain type is in.
searching the whole stdlib makes it easier:

    zdoc std ipv6
2 years ago
alex 802fda7cf7 analyze: add a -s option to search for identifier substring
for example, all expectXxx from the testing module:

    zdoc -s std.testing expect
2 years ago
alex 40b8da106a readme: mention zig build test before sending a patch 2 years ago
alex 6c8e03ebd8 readme: mention unimplemented rendering output 2 years ago
alex 0a505782aa initial import 2 years ago