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

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

[elpa] externals-release/org f6eca65: manual: Fix publish options


From: ELPA Syncer
Subject: [elpa] externals-release/org f6eca65: manual: Fix publish options
Date: Mon, 19 Apr 2021 04:57:09 -0400 (EDT)

branch: externals-release/org
commit f6eca6505dbcc78a03d17076c898703855ea9946
Author: Erik Hetzner <egh@e6h.org>
Commit: Nicolas Goaziou <mail@nicolasgoaziou.fr>

    manual: Fix publish options
    
    * doc/org-manual.org (Publishing sample configuration):
    * doc/org-guide.org (Publishing):
    Fix stylesheet setting in publish: :style is not a valid option; use
    :html-head instead. :table-of-contents is not a valid option; use
    :with-toc instead. :publishing-function is required.
---
 doc/org-guide.org  | 9 +++++----
 doc/org-manual.org | 8 ++++----
 2 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/doc/org-guide.org b/doc/org-guide.org
index 0b2d57f..e06fa10 100644
--- a/doc/org-guide.org
+++ b/doc/org-guide.org
@@ -2334,12 +2334,13 @@ example:
 (setq org-publish-project-alist
       '(("org"
          :base-directory "~/org/"
+         :publishing-function org-html-publish-to-html
          :publishing-directory "~/public_html"
          :section-numbers nil
-         :table-of-contents nil
-         :style "<link rel=\"stylesheet\"
-                href=\"../other/mystyle.css\"
-                type=\"text/css\"/>")))
+         :with-toc nil
+         :html-head "<link rel=\"stylesheet\"
+                    href=\"../other/mystyle.css\"
+                    type=\"text/css\"/>")))
 #+end_src
 
 - {{{kbd(C-c C-e P x)}}} ::
diff --git a/doc/org-manual.org b/doc/org-manual.org
index 61f4372..d1eba20 100644
--- a/doc/org-manual.org
+++ b/doc/org-manual.org
@@ -16250,10 +16250,10 @@ directory on the local machine.
          :publishing-function org-html-publish-to-html
          :publishing-directory "~/public_html"
          :section-numbers nil
-         :table-of-contents nil
-         :style "<link rel=\"stylesheet\"
-                href=\"../other/mystyle.css\"
-                type=\"text/css\"/>")))
+         :with-toc nil
+         :html-head "<link rel=\"stylesheet\"
+                    href=\"../other/mystyle.css\"
+                    type=\"text/css\"/>")))
 #+end_src
 
 *** Example: complex publishing configuration



reply via email to

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