diff --git a/doc/org-guide.org b/doc/org-guide.org
index 0b2d57faa..e06fa10d8 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 61f4372d3..d1eba2072 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 "")))
+ :with-toc nil
+ :html-head "")))
#+end_src
*** Example: complex publishing configuration