lix-releng-staging/src
terru - a33c95be5b avoid markdown which the repl's :doc cannot handle
code blocks, if not surrounded by empty lines, have the language
tags (in these cases, always `nix`) show up in the output of :doc.

for example:

  nix-repl> :doc builtins.parseFlakeRef
  Synopsis: builtins.parseFlakeRef flake-ref

    Parse a flake reference, and return its exploded form.

    For example: nix builtins.parseFlakeRef
    "github:NixOS/nixpkgs/23.05?dir=lib"  evaluates to: nix { dir =
    "lib"; owner = "NixOS"; ref = "23.05"; repo = "nixpkgs"; type =
    "github"; }

is now instead:
  nix-repl> :doc builtins.parseFlakeRef
  Synopsis: builtins.parseFlakeRef flake-ref

    Parse a flake reference, and return its exploded form.

    For example:

      | builtins.parseFlakeRef "github:NixOS/nixpkgs/23.05?dir=lib"

    evaluates to:

      | { dir = "lib"; owner = "NixOS"; ref = "23.05"; repo = "nixpkgs"; type = "github"; }

(closes #225)

Change-Id: I0741aeb1006a5376bb2f663d202c7a4da7e38cce
2024-04-06 13:14:14 +00:00
..
build-remote Remove HintFmt::operator% 2024-03-26 15:40:05 -07:00
libcmd repl: improve :doc builtin repl command to support lambdas. 2024-04-03 13:47:22 -06:00
libexpr avoid markdown which the repl's :doc cannot handle 2024-04-06 13:14:14 +00:00
libfetchers meson: add missing explicit dependency on nlohmann_json 2024-03-29 14:16:58 -04:00
libmain meson: install pkg-config files for libraries 2024-03-29 02:45:48 +00:00
libstore Revert "libutil: remove Pool::Handle::bad" 2024-04-05 20:13:02 +00:00
libutil Revert "libutil: drop Pool resources on exceptional free" 2024-04-05 20:13:02 +00:00
nix meson: install libexec binaries 2024-03-30 14:34:22 +00:00
nix-build Move shell_words into its own file 2024-03-26 16:44:04 -07:00
nix-channel meson: implement functional tests 2024-03-27 18:37:50 -06:00
nix-collect-garbage util.hh: split out signals stuff 2024-03-11 00:52:09 -07:00
nix-copy-closure Merge pull request #9277 from keszybz/file-permissions 2024-03-04 05:26:17 +01:00
nix-env Delete hasPrefix and hasSuffix from the codebase 2024-03-17 20:17:19 -07:00
nix-instantiate Unify and refactor value printing 2024-03-09 03:50:06 +01:00
nix-store libexpr: Support structured error classes 2024-03-09 04:47:05 -07:00
resolve-system-dependencies libutil: make AutoCloseFD a better resource 2024-03-18 15:42:52 -06:00
meson.build meson: implement functional tests 2024-03-27 18:37:50 -06:00