emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Feng Shu <tumashu@163.com>
To: emacs-orgmode@gnu.org
Cc: Feng Shu <tumashu@163.com>
Subject: Re: Question about org-publish-project-alist
Date: Tue, 14 Apr 2015 21:38:48 +0800	[thread overview]
Message-ID: <87618ylthz.fsf@163.com> (raw)
In-Reply-To: <CAJMnJ1UOGw5z7MD0ci9_-FM4De_-9rpQ0cw4xT98D69UefTiLQ@mail.gmail.com> (Thomas Moyer's message of "Tue, 14 Apr 2015 08:51:57 -0400")



(defvar base-dir "~/Documents/org/")
(defvar pub-dir "~/Public/notes/")

(setq org-publish-project-alist
      `(("org"
         :base-directory ,base-dir
         :base-extension "org"
         :publishing-directory ,pub-dir
         :recursive t
         :publishing-function org-html-publish-to-html
         :exclude "level-..org"
         )
        ("static"
         :base-directory base-dir
         :base-extension "css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf"
         :publishing-directory pub-dir
         :recursive t
         :publishing-function org-publish-attachment
         )
        ("project-root" :components ("org" "static"))))

-- 

  parent reply	other threads:[~2015-04-14 13:49 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-14 12:51 Question about org-publish-project-alist Thomas Moyer
2015-04-14 13:05 ` Marcin Borkowski
2015-04-14 13:10 ` Nick Dokos
2015-04-14 13:38 ` Feng Shu [this message]
2015-04-15 11:20   ` Thomas Moyer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87618ylthz.fsf@163.com \
    --to=tumashu@163.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).