Variable: org-publish-sitemap-sort-folders

org-publish-sitemap-sort-folders is a customizable variable defined in ox-publish.el.gz.

Value

ignore

Documentation

A symbol, denoting if folders are sorted first in site-maps.

Possible values are first, last, ignore and nil. If first, folders will be sorted before files. If last, folders are sorted to the end after the files. If ignore, folders do not appear in the site-map. Any other value will mix files and folders.

You can overwrite this default per project in your org-publish-project-alist, using :sitemap-sort-folders.

This variable is ignored when site-map style is tree.

This variable was added, or its default value changed, in Org version
9.1.

Source Code

;; Defined in /usr/src/emacs/lisp/org/ox-publish.el.gz
(defcustom org-publish-sitemap-sort-folders 'ignore
  "A symbol, denoting if folders are sorted first in site-maps.

Possible values are `first', `last', `ignore' and nil.
If `first', folders will be sorted before files.
If `last', folders are sorted to the end after the files.
If `ignore', folders do not appear in the site-map.
Any other value will mix files and folders.

You can overwrite this default per project in your
`org-publish-project-alist', using `:sitemap-sort-folders'.

This variable is ignored when site-map style is `tree'."
  :group 'org-export-publish
  :type '(choice
	  (const :tag "Folders before files" first)
	  (const :tag "Folders after files" last)
	  (const :tag "No folder in site-map" ignore)
	  (const :tag "Mix folders and files" nil))
  :version "26.1"
  :package-version '(Org . "9.1")
  :safe #'symbolp)