summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorSergey Trofimov <sarg@sarg.org.ru>2025-04-11 11:03:11 +0200
committerAndreas Enge <andreas@enge.fr>2025-04-14 10:39:55 +0200
commit7fff0c1d6d9a8176a88235f93b18e2ef6040f165 (patch)
tree3d3b2b51a595ce29acf2a7e2ee2ef10cd512c17e /gnu
parentea96f4b0c5410c72dceb0a44d17ea335e47f43f9 (diff)
gnu: qutebrowser: Install docs.
* gnu/packages/web-browsers.scm (qutebrowser): Build and install documentation. Change-Id: I76f1b30282a7822f896c5896ff51c69016768169 Signed-off-by: Andreas Enge <andreas@enge.fr>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/web-browsers.scm6
1 files changed, 6 insertions, 0 deletions
diff --git a/gnu/packages/web-browsers.scm b/gnu/packages/web-browsers.scm
index 1154242a5af..8951b50a875 100644
--- a/gnu/packages/web-browsers.scm
+++ b/gnu/packages/web-browsers.scm
@@ -587,6 +587,12 @@ interface.")
(string-append "os.path.join(\""
(assoc-ref outputs "out")
"\", \"share\", \"qutebrowser\"")))))
+ (add-after 'build 'build-docs
+ (lambda _
+ (substitute* "scripts/asciidoc2html.py"
+ (("sys.executable, \"-m\", \"asciidoc\"")
+ "\"asciidoc\""))
+ (invoke "python" "scripts/asciidoc2html.py")))
(add-before 'check 'set-env-offscreen
(lambda _
(setenv "QT_QPA_PLATFORM" "offscreen")))