我正在尝试找到从导出树中排除多个文件的方法。例如,在以下示例中,我在org-publish-project-alist
中排除了level-0.org
,因此它将不会在/foo/bar/pub
创建,也不会在站点地图中显示。
("somewebproject"
:base-directory "/foo/bar/src"
:base-extension "org"
:publishing-directory "/foo/bar/pub"
:recursive t
:exclude "level-0.org"
:publishing-function org-html-publish-to-html
:headline-levels 4 ; Just the default for this project.
:auto-preamble t
:auto-sitemap t
:html-link-up "sitemap.html"
:html-link-home "index.html"
:sitemap-title "My Sitemap"
)
然而,我还有另一个文件,例如level-1.org,我也想要排除它,使得文件列表变成类似于'("level-0.org" "level-1.org")
的形式,但这样好像并不能解决问题。
能否给一些让这段代码起作用的提示?或者是否有更好的方法来实现这个功能?非常感谢!