summaryrefslogtreecommitdiff
path: root/lang/nim/files/patch-compiler_docgen.nim
blob: edac356dbad6a591a8d740080d01792511fc7cad (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- compiler/docgen.nim.orig	2020-08-21 12:50:46 UTC
+++ compiler/docgen.nim
@@ -1163,7 +1163,7 @@ proc writeOutput*(d: PDoc, useWarning = false) =
       rawMessage(d.conf, if useWarning: warnCannotOpenFile else: errCannotOpenFile,
         outfile.string)
     elif not d.wroteCss:
-      let cssSource = $d.conf.getPrefixDir() / "doc" / "nimdoc.css"
+      let cssSource = $d.conf.getPrefixDir() / "share/doc/nim" / "nimdoc.css"
       let cssDest = $dir / nimdocOutCss
       copyFile(cssSource, cssDest)
       d.wroteCss = true