From 14de709f224a45cb1beee5b1c1444b1454161891 Mon Sep 17 00:00:00 2001 From: Erik Hetzner Date: Sun, 18 Apr 2021 21:47:04 -0700 Subject: [PATCH] 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 ea3040bba..3daf8d3c7 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 ""))) + :with-toc nil + :html-head ""))) #+end_src - {{{kbd(C-c C-e P x)}}} :: diff --git a/doc/org-manual.org b/doc/org-manual.org index 914649f6e..b4eff22ad 100644 --- a/doc/org-manual.org +++ b/doc/org-manual.org @@ -16324,10 +16324,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 ""))) + :with-toc nil + :html-head ""))) #+end_src *** Example: complex publishing configuration -- 2.30.2