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,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)}}} ::

View File

@ -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