branch: elpa/gptel
commit 73e7d4b9b57f0acebb924a0ce1f09d975ac51a49
Author: Karthik Chikmagalur <karthikchikmaga...@gmail.com>
Commit: Karthik Chikmagalur <karthikchikmaga...@gmail.com>

    github: Fix exclude-tags for manual HTML export
    
    * .github/workflows/publish-manual.yml (jobs):  Exclude headings
    with the "nohtmlexport" tag when exporting the manual to HTML.
---
 .github/workflows/publish-manual.yml | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/publish-manual.yml 
b/.github/workflows/publish-manual.yml
index cd0feb67a01..8779151148f 100644
--- a/.github/workflows/publish-manual.yml
+++ b/.github/workflows/publish-manual.yml
@@ -44,13 +44,14 @@ jobs:
                       (load-theme 'modus-operandi t)
                       (package-initialize)
                       (unless (require 'htmlize nil t)
-                      (add-to-list 'package-archives '(\"melpa\" . 
\"https://melpa.org/packages/\";) t)
-                      (package-refresh-contents)
-                      (package-install 'htmlize))
+                        (add-to-list 'package-archives '(\"melpa\" . 
\"https://melpa.org/packages/\";) t)
+                        (package-refresh-contents)
+                        (package-install 'htmlize))
                       (require 'ox-html)
                       (require 'ox-texinfo)
                       (require 'htmlize)
                       (setq org-html-postamble nil)
+                      (setq org-export-exclude-tags '(\"noexport\" 
\"nohtmlexport\"))
                       (find-file \"manual.org\")
                       (org-html-export-to-html)
                       (kill-emacs))"

Reply via email to