emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Felix E. Klee" <felix.klee@inka.de>
To: emacs-orgmode@gnu.org
Subject: Recursive publish bug?
Date: Tue, 03 Aug 2021 11:29:14 -0600	[thread overview]
Message-ID: <87k0l2wi6t.fsf@inka.de> (raw)

I’m using version 9.4.6.  See below what happens when I `org-publish`
to a remote server.  The subdirectory structure is not properly
mapped.  Is this a bug?

On my system:

    project
      .dir-locals.el
      index.org
      images
        a.jpg
      subdir
        index.org
        images
          b.jpg

Result on the server:

    project
      index.html
      images
        a.jpg
        b.jpg
      subdir
        index.html

Contents of `.dir-locals` (manually anonymized):

    ((org-mode
      . ((org-publish-project-alist
          . (("pages"
              :html-doctype "html5"
              :html-html5-fancy t
              :html-head-include-scripts nil
              :html-head-include-default-style nil
              :base-directory "/my/local/computer/project"
              :base-extension "org"
              :recursive t
              :publishing-directory
              "/plink:user@my-server.example.com:/remote/project/"
              :publishing-function org-html-publish-to-html)
             ("static"
              :base-directory "."
              :base-extension "css\\|txt\\|jpg\\|gif\\|png"
              :recursive t
              :publishing-directory
              "/plink:user@my-server.example.com:/remote/project/"
              :exclude "/hires"
              :publishing-function org-publish-attachment)
             ("all" :components ("pages" "static")))))))



             reply	other threads:[~2021-08-03 17:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-03 17:29 Felix E. Klee [this message]
2021-08-06 17:41 ` Recursive publish bug? Felix E. Klee
2021-08-09 14:03 ` Felix E. Klee

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=87k0l2wi6t.fsf@inka.de \
    --to=felix.klee@inka.de \
    --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).