emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/hyperdrive 23f47f6f78 4/4: Fix: Export only body in README


From: ELPA Syncer
Subject: [nongnu] elpa/hyperdrive 23f47f6f78 4/4: Fix: Export only body in README.html Make target
Date: Thu, 16 May 2024 16:00:01 -0400 (EDT)

branch: elpa/hyperdrive
commit 23f47f6f780c5d22f75437e34aac96b951f96b3e
Author: Joseph Turner <joseph@ushin.org>
Commit: Joseph Turner <joseph@ushin.org>

    Fix: Export only body in README.html Make target
    
    SourceHut's renderer expects README.HTML to be an HTML "snippet" (with
    not <head>).  If README.html contains <head>, then its content will
    be erroneously rendered.
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index fc793b6663..5b4c802ad6 100644
--- a/Makefile
+++ b/Makefile
@@ -24,7 +24,7 @@ TEXI2INFO := makeinfo
 
 README.html: README.org
        $(BATCH) --find-file $< --eval "(require 'ox-html)" \
-         --eval '(org-html-export-to-html)'
+         --eval '(org-html-export-to-html nil nil nil t)'
 
 doc/hyperdrive.texi: doc/hyperdrive.org
        $(BATCH) --find-file $< --eval "(require 'ox-texinfo)" \



reply via email to

[Prev in Thread] Current Thread [Next in Thread]