Next: , Previous: Project alist, Up: Configuration

13.1.2 Sources and destinations for files

Most properties are optional, but some should always be set. In particular, Org needs to know where to look for source files, and where to put published files.

:base-directory Directory containing publishing source files
:publishing-directory Directory where output files will be published. You can directly publish to a webserver using a file name syntax appropriate for the Emacs tramp package. Or you can publish to a local directory and use external tools to upload your website (see Uploading files).
:preparation-function Function or list of functions to be called before starting the publishing process, for example, to run make for updating files to be published. The project property list is scoped into this call as the variable project-plist.
:completion-function Function or list of functions called after finishing the publishing process, for example, to change permissions of the resulting files. The project property list is scoped into this call as the variable project-plist.