emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Recursive publish bug?
@ 2021-08-03 17:29 Felix E. Klee
  2021-08-06 17:41 ` Felix E. Klee
  2021-08-09 14:03 ` Felix E. Klee
  0 siblings, 2 replies; 3+ messages in thread
From: Felix E. Klee @ 2021-08-03 17:29 UTC (permalink / raw)
  To: emacs-orgmode

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")))))))



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Recursive publish bug?
  2021-08-03 17:29 Recursive publish bug? Felix E. Klee
@ 2021-08-06 17:41 ` Felix E. Klee
  2021-08-09 14:03 ` Felix E. Klee
  1 sibling, 0 replies; 3+ messages in thread
From: Felix E. Klee @ 2021-08-06 17:41 UTC (permalink / raw)
  To: emacs-orgmode

After a recent system update, I cannot replicate the issue anymore. 😃



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Recursive publish bug?
  2021-08-03 17:29 Recursive publish bug? Felix E. Klee
  2021-08-06 17:41 ` Felix E. Klee
@ 2021-08-09 14:03 ` Felix E. Klee
  1 sibling, 0 replies; 3+ messages in thread
From: Felix E. Klee @ 2021-08-09 14:03 UTC (permalink / raw)
  To: emacs-orgmode

"Felix E. Klee" <felix.klee@inka.de> writes:
>              ("static"
>               :base-directory "."
                                 ^
                                 This!

no bug



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-08-09 14:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-03 17:29 Recursive publish bug? Felix E. Klee
2021-08-06 17:41 ` Felix E. Klee
2021-08-09 14:03 ` Felix E. Klee

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).