doc/org-manual.org: Improve example of publishing configuration
* doc/org-manual.org (Example: complex publishing configuration): Show how to use evaluated expression with backquotes and `rx' macro in the example. Link: https://orgmode.org/list/LV8P223MB0920398F1619C446752BB1E1A2E42@LV8P223MB0920.NAMP223.PROD.OUTLOOK.COM
This commit is contained in:
parent
51aff8a11b
commit
773bba92a8
|
@ -17415,12 +17415,12 @@ place on the web server, and publishing images to it.
|
|||
|
||||
#+begin_src emacs-lisp
|
||||
(setq org-publish-project-alist
|
||||
'(("orgfiles"
|
||||
`(("orgfiles"
|
||||
:base-directory "~/org/"
|
||||
:base-extension "org"
|
||||
:publishing-directory "/ssh:user@host:~/html/notebook/"
|
||||
:publishing-function org-html-publish-to-html
|
||||
:exclude "PrivatePage.org" ;; regexp
|
||||
:exclude ,(rx (or "PrivateFile.org" (seq line-start "private/"))) ;; regexp
|
||||
:headline-levels 3
|
||||
:section-numbers nil
|
||||
:with-toc nil
|
||||
|
|
Loading…
Reference in New Issue