Skip to content

Commit 773a297

Browse files
committed
Fix CSS URLs
1 parent 4451190 commit 773a297

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

apidoc_header.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434

3535
<!-- BEGIN LEDGER_HEADER -->
3636
<style type="text/css">
37-
@import url("https://ledger-cli.org/stylesheets/site.css");
37+
@import url("https://ledger-cli.org/css/site.css");
3838
header { line-height: 1.3; }
3939
#main-nav { flex-grow: 0; }
4040
header, #main-nav { max-width: 60em; margin: auto; }

flake.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888

8989
postBuild = ''
9090
# Patch web version of ledger manual to support dark mode
91-
sed -e 's@</style>@&\n<link rel="stylesheet" type="text/css" href="https://www.gnu.org/software/gnulib/manual.css"><link rel="stylesheet" type="text/css" href="/stylesheets/doc.css">@' ledger3.html -i
91+
sed -e 's@</style>@&\n<link rel="stylesheet" type="text/css" href="https://www.gnu.org/software/gnulib/manual.css"><link rel="stylesheet" type="text/css" href="/css/doc.css">@' ledger3.html -i
9292
'';
9393
};
9494

@@ -111,7 +111,7 @@
111111
makeinfo --force --html --no-split ledger-mode.texi
112112
makeinfo --force --plaintext --no-split -o ledger-mode.txt ledger-mode.texi
113113
# Patch web version of ledger mode manual to support dark mode
114-
sed -e 's@</style>@&\n<link rel="stylesheet" type="text/css" href="https://www.gnu.org/software/gnulib/manual.css"><link rel="stylesheet" type="text/css" href="/stylesheets/doc.css">@' ledger-mode.html -i
114+
sed -e 's@</style>@&\n<link rel="stylesheet" type="text/css" href="https://www.gnu.org/software/gnulib/manual.css"><link rel="stylesheet" type="text/css" href="/css/doc.css">@' ledger-mode.html -i
115115
runHook postBuild
116116
'';
117117

0 commit comments

Comments
 (0)