Next: , Previous: , Up: Configuration   [Contents][Index]

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-directoryDirectory containing publishing source files
:publishing-directoryDirectory where output files will be published. You can directly publish to a web server 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-functionFunction 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-functionFunction 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.