File tree Expand file tree Collapse file tree 3 files changed +6
-17
lines changed
modules/flake/packages/docs Expand file tree Collapse file tree 3 files changed +6
-17
lines changed Original file line number Diff line number Diff line change 11[book ]
22authors = [" isabel roses" ]
33language = " en"
4- multilingual = false
54src = " src"
65title = " dotfiles"
76
@@ -13,8 +12,6 @@ create-missing = false
1312default-theme = " latte"
1413preferred-dark-theme = " mocha"
1514git-repository-url = " https://github.com/isabelroses/dotfiles"
16- git-repository-icon = " fa-code-fork"
15+ # git-repository-icon = "fa-code-fork"
1716cname = " dotfiles.isabelroses.com"
18- additional-css = [" ./theme/catppuccin.css" , " ./theme/catppuccin-alerts.css" ]
19-
20- [preprocessor .alerts ]
17+ additional-css = [" ./theme/catppuccin.css" ]
Original file line number Diff line number Diff line change 1010
1111<br />
1212
13- ![ Preview image] ( ./docs/src/ images/main.webp )
13+ ![ Preview image] ( ./images/main.webp )
1414
15- ![ image of my flakes topology] ( ./docs/src/ images/topology.png )
15+ ![ image of my flakes topology] ( ./images/topology.png )
1616
1717### Foreword
1818
Original file line number Diff line number Diff line change @@ -16,17 +16,13 @@ stdenvNoCC.mkDerivation (finalAttrs: {
1616
1717 src = self + /docs ;
1818
19- nativeBuildInputs = [
20- mdbook
21- mdbook-alerts
22- ] ;
19+ nativeBuildInputs = [ mdbook ] ;
2320
2421 buildPhase = ''
2522 runHook preBuild
2623
2724 mkdir -p theme
2825 cp ${ finalAttrs . passthru . catppuccin-mdbook } theme/catppuccin.css
29- cp ${ finalAttrs . passthru . catppuccin-alerts } theme/catppuccin-alerts.css
3026
3127 cp -r ${ libdoc } src/lib
3228
@@ -45,16 +41,12 @@ stdenvNoCC.mkDerivation (finalAttrs: {
4541 '' ;
4642
4743 passthru = {
44+ # TODO: update me when a new version is released
4845 catppuccin-mdbook = fetchurl {
4946 url = "https://github.com/catppuccin/mdBook/releases/download/v3.1.1/catppuccin.css" ;
5047 hash = "sha256-WSl6UaRfx2jwcDg/ZlDlRbB5zwBD7YIuHHPwFj5ldKM=" ;
5148 } ;
5249
53- catppuccin-alerts = fetchurl {
54- url = "https://github.com/catppuccin/mdBook/releases/download/v3.1.1/catppuccin-alerts.css" ;
55- hash = "sha256-TnOuFi/0LeIj9pwg9dgfyDpd1oZVCN18dvjp8uB+K78=" ;
56- } ;
57-
5850 serve = writeShellApplication {
5951 name = "serve" ;
6052
You can’t perform that action at this time.
0 commit comments