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.
This commit is contained in:
Erik Hetzner 2021-04-18 21:47:04 -07:00 committed by Nicolas Goaziou
parent 140df469ed
commit f6eca6505d
2 changed files with 9 additions and 8 deletions

View File

@ -2334,10 +2334,11 @@ 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\"
:with-toc nil
:html-head "<link rel=\"stylesheet\"
href=\"../other/mystyle.css\"
type=\"text/css\"/>")))
#+end_src

View File

@ -16250,8 +16250,8 @@ 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\"
:with-toc nil
:html-head "<link rel=\"stylesheet\"
href=\"../other/mystyle.css\"
type=\"text/css\"/>")))
#+end_src