feat: link man pages like how NixOS does it
1 file changed, 21 insertions(+), 1 deletion(-)
changed files
M internal/config/default.go → internal/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, },