|
54 | 54 | }) wlib.wrapperModules; |
55 | 55 | in |
56 | 56 | { |
57 | | - imports = [ wlib.wrapperModules.mdbook ]; |
| 57 | + imports = [ |
| 58 | + wlib.wrapperModules.mdbook |
| 59 | + ./redirects.nix |
| 60 | + ]; |
58 | 61 | mainBook = "nix-wrapper-modules"; |
59 | 62 | books.nix-wrapper-modules = { |
60 | | - book.book = { |
61 | | - src = "src"; |
62 | | - authors = [ "BirdeeHub" ]; |
63 | | - language = "en"; |
64 | | - title = "nix-wrapper-modules"; |
65 | | - description = "Make wrapper derivations with the module system! Use the existing modules, or write your own!"; |
| 63 | + book = { |
| 64 | + book = { |
| 65 | + src = "src"; |
| 66 | + authors = [ "BirdeeHub" ]; |
| 67 | + language = "en"; |
| 68 | + title = "nix-wrapper-modules"; |
| 69 | + description = "Make wrapper derivations with the module system! Use the existing modules, or write your own!"; |
| 70 | + }; |
| 71 | + output.html.git-repository-url = "https://github.com/BirdeeHub/nix-wrapper-modules"; |
66 | 72 | }; |
67 | | - book.output.html.git-repository-url = "https://github.com/BirdeeHub/nix-wrapper-modules"; |
68 | | - book.output.html.redirect = |
69 | | - lib.pipe |
70 | | - [ |
71 | | - "alacritty" |
72 | | - "atool" |
73 | | - "btop" |
74 | | - "claude-code" |
75 | | - "foot" |
76 | | - "fuzzel" |
77 | | - "git" |
78 | | - "helix" |
79 | | - "jujutsu" |
80 | | - "mako" |
81 | | - "mpv" |
82 | | - "neovim" |
83 | | - "niri" |
84 | | - "notmuch" |
85 | | - "nushell" |
86 | | - "opencode" |
87 | | - "ov" |
88 | | - "rofi" |
89 | | - "tealdeer" |
90 | | - "tmux" |
91 | | - "vim" |
92 | | - "waybar" |
93 | | - "wezterm" |
94 | | - "xplr" |
95 | | - "yazi" |
96 | | - ] |
97 | | - [ |
98 | | - (map (n: { |
99 | | - name = "/${n}.html"; |
100 | | - value = "wrapperModules/${n}.html"; |
101 | | - })) |
102 | | - builtins.listToAttrs |
103 | | - ( |
104 | | - v: |
105 | | - v |
106 | | - // { |
107 | | - "/home.html" = "/md/intro.html"; |
108 | | - "/getting-started.html" = "/md/getting-started.html"; |
109 | | - "/lib-intro.html" = "/md/lib-intro.html"; |
110 | | - "/wlib.html" = "/lib/wlib.html"; |
111 | | - "/types.html" = "/lib/types.html"; |
112 | | - "/dag.html" = "/lib/dag.html"; |
113 | | - "/core.html" = "/lib/core.html"; |
114 | | - "/helper-modules.html" = "/md/helper-modules.html"; |
115 | | - "/wrapper-modules.html" = "/md/wrapper-modules.html"; |
116 | | - "/default.html" = "/modules/default.html"; |
117 | | - "/makeWrapper.html" = "/modules/makeWrapper.html"; |
118 | | - "/symlinkScript.html" = "/modules/symlinkScript.html"; |
119 | | - } |
120 | | - ) |
121 | | - ]; |
122 | 73 | summary = [ |
123 | 74 | { |
124 | 75 | data = "title"; |
|
0 commit comments