Function: org-publish-sitemap-default-entry
org-publish-sitemap-default-entry is a byte-compiled function defined
in ox-publish.el.gz.
Signature
(org-publish-sitemap-default-entry ENTRY STYLE PROJECT)
Documentation
Default format for site map ENTRY, as a string.
ENTRY is a file name. STYLE is the style of the sitemap. PROJECT is the current project.
Source Code
;; Defined in /usr/src/emacs/lisp/org/ox-publish.el.gz
(defun org-publish-sitemap-default-entry (entry style project)
"Default format for site map ENTRY, as a string.
ENTRY is a file name. STYLE is the style of the sitemap.
PROJECT is the current project."
(cond ((not (directory-name-p entry))
(format "[[file:%s][%s]]"
entry
(org-publish-find-title entry project)))
((eq style 'tree)
;; Return only last subdir.
(file-name-nondirectory (directory-file-name entry)))
(t entry)))