all repos — searchix @ 2f2d86922ba23c4b7f92b115f4e8d26e5058bd23

Search engine for NixOS, nix-darwin, home-manager and NUR users

feat: link man pages like how NixOS does it

Alan Pearce
commit

2f2d86922ba23c4b7f92b115f4e8d26e5058bd23

parent

813e5a26b629d4c27b6ce0a8de2e3d04308ef535

1 file changed, 21 insertions(+), 1 deletion(-)

changed files
M internal/config/default.gointernal/config/default.go
@@ -67,7 +67,11 @@ Attribute: "options",
OutputPath: "share/doc/nixos", Timeout: Duration{5 * time.Minute}, Repo: nixpkgs, - JSONDepth: 1, + Manpages: Manpages{ + Enable: false, + Path: "", + }, + JSONDepth: 1, }, "darwin": { Name: "Darwin",
@@ -87,6 +91,10 @@ Type: GitHub,
Owner: "LnL7", Repo: "nix-darwin", }, + Manpages: Manpages{ + Enable: false, + Path: "", + }, JSONDepth: 1, }, "home-manager": {
@@ -107,6 +115,10 @@ Type: GitHub,
Owner: "nix-community", Repo: "home-manager", }, + Manpages: Manpages{ + Enable: false, + Path: "", + }, JSONDepth: 1, }, "nixpkgs": {
@@ -124,6 +136,10 @@ Programs: ProgramsDB{
Enable: true, Attribute: "programs.sqlite", }, + Manpages: Manpages{ + Enable: true, + Path: "/doc/manpage-urls.json", + }, JSONDepth: 2, }, "nur": {
@@ -139,6 +155,10 @@ Repo: Repository{
Type: GitHub, Owner: "nix-community", Repo: "nur", + }, + Manpages: Manpages{ + Enable: false, + Path: "", }, JSONDepth: 1, },