Lunaphied
7a1054fa5f
For a long time `nix repl` has supported displaying documentation set on
builtins, however, it has long been convention to use Markdown comments
on Nix functions themselves for documentation. This exposes that
information to `nix repl` users in a nice and formatted way.
NixOS/rfcs#145 doc-comments are primarily what this feature is intended
to consume, however, support for lambda documentation in the repl is
experimental. We do our best effort to support the RFC here.
These changes are based on [the nix-doc library](https://github.com/lf-/nix-doc) and
are licensed under the terms described in the relevant source files.
Change-Id:
|
||
---|---|---|
.. | ||
better-errors-in-nix-repl.md | ||
debugger-locals-for-let-expressions.md | ||
debugger-on-trace.md | ||
drop-vendored-toml11.md | ||
drv-string-parse-hang.md | ||
dup-attr-errors.md | ||
empty-search-regex.md | ||
enter-debugger-more-reliably-in-let-and-calls.md | ||
env-size-reduction.md | ||
eval-system.md | ||
forbid-nested-debuggers.md | ||
formal-order.md | ||
inherit-error-positions.md | ||
inherit-from-by-need.md | ||
nix-env-json-drv-path.md | ||
nix-flake-check-logs-actions.md | ||
nix-flake-update-ux.md | ||
nixversion-fake.md | ||
print-value-in-coercion-error.md | ||
print-value-in-type-error.md | ||
reduce-debugger-clutter.md | ||
repl-doc-command.md | ||
short-expr-flag.md | ||
source-location-in-while-evaluating-attribute.md | ||
source-positions-in-errors.md | ||
stack-overflow-segfaults.md | ||
upstart-removal.md | ||
with-error-reporting.md |