From c2c34e03c5c5d050cfe9cb6faab472d86f681dfb Mon Sep 17 00:00:00 2001
From: Roland Crosby
Date: Sat, 12 Feb 2022 18:53:59 -0500
Subject: [PATCH] Add consolidated package manager info to docs
---
README.md | 6 ++++++
docs/index.html | 49 +++++++++++++++++++++++++++++++++++++++++--------
2 files changed, 47 insertions(+), 8 deletions(-)
diff --git a/README.md b/README.md
index 5e292b4..e8665b4 100644
--- a/README.md
+++ b/README.md
@@ -27,6 +27,12 @@ The [releases](https://github.com/PaulJuliusMartinez/jless/releases)
contains links to the latest release. If you have a Rust toolchain
installed, you can build from source by running `cargo install jless`.
+JLess is also available via several package managers:
+- [Homebrew](https://formulae.brew.sh/formula/jless)
+- [MacPorts](https://ports.macports.org/port/jless/)
+- [Nix](https://search.nixos.org/packages?channel=unstable&show=jless)
+- [NetBSD](https://pkgsrc.se/textproc/jless)
+
## Logo
The mascot of the `jless` project is Jules the jellyfish.
diff --git a/docs/index.html b/docs/index.html
index 37a6c78..106986c 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -70,11 +70,22 @@
}
.code-snippet.multi .code-block { display: none; }
- #mac-install:checked ~ #mac-install-block { display: block; }
- #linux-install:checked ~ #linux-install-block { display: block; }
- #mac-install:checked ~ div #mac-install-label { background-color: #cacaca; }
- #linux-install:checked ~ div #linux-install-label { background-color: #cacaca; }
+ #mac-install:checked ~ #mac-install-block,
+ #linux-install:checked ~ #linux-install-block,
+ #homebrew-install:checked ~ #homebrew-install-block,
+ #macports-install:checked ~ #macports-install-block,
+ #nix-install:checked ~ #nix-install-block,
+ #netbsdport-install:checked ~ #netbsdport-install-block { display: block; }
+
+ #mac-install:checked ~ div #mac-install-label,
+ #linux-install:checked ~ div #linux-install-label,
+ #homebrew-install:checked ~ div #homebrew-install-label,
+ #macports-install:checked ~ div #macports-install-label,
+ #nix-install:checked ~ div #nix-install-label,
+ #netbsdport-install:checked ~ div #netbsdport-install-label { background-color: #cacaca; }
+
+ .code-snippet .tabs { display: flex; }
.code-snippet label {
background-color: #dddddd;
@@ -171,11 +182,12 @@
jless — a command-line JSON viewer
Installation
- The latest JLess releases are available on GitHub. Jless currently supports macOS and Linux.
+ macOS and Linux binaries for the latest JLess releases are available on GitHub.
+