Nicolas Goaziou
8e0295a318
ox-publish: Add test
...
* testing/lisp/test-ox-publish.el (test-org-publish/get-project-from-filename):
New test.
2016-12-31 12:29:32 +01:00
Nicolas Goaziou
ccf2b988af
ox-publish: Fix :base-extension (part 2)
...
* lisp/ox-publish.el (org-publish-get-base-files): Make sure to remove
directories.
* testing/examples/pub/file.txt:
* testing/examples/pub/noextension: New files.
* testing/lisp/test-ox-publish.el (test-org-publish/base-extension):
New test.
2016-12-29 21:48:02 +01:00
Nicolas Goaziou
83827952db
ox-publish: Provide relative file in sitemap generation
...
* doc/org.texi (Sitemap):
* lisp/ox-publish.el (org-publish-project-alist): Document change.
(org-publish-property):
(org-publish--expand-file-name): New functions
(org-publish-get-base-files):
(org-publish-file):
(org-publish-projects):
(org-publish--sitemap-files-to-lisp):
(org-publish-sitemap):
(org-publish-find-property):
(org-publish-find-title):
(org-publish-find-date):
(org-publish-sitemap-default-entry):
(org-publish-sitemap-default): Use new functions.
* testing/lisp/test-ox-publish.el (test-org-publish/sitemap): Update
test.
2016-12-19 17:36:19 +01:00
Nicolas Goaziou
baf2e0e5ee
ox-publish: Add tests
...
* testing/examples/pub/a.org:
* testing/examples/pub/b.org:
* testing/examples/pub/sub/c.org:
* testing/lisp/test-ox-publish.el: New files.
2016-12-19 12:19:59 +01:00