Commit ad8b9645 authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz

org: generate a sitemap

* doc/org/.dir-locals.el.in, doc/org/init.el.in: Enable sitemap
generation.
parent 5b829784
......@@ -32,6 +32,9 @@
:base-extension "org"
:publishing-directory "../userdoc/"
:recursive t
:exclude "setup.org"
:auto-sitemap t
:sitemap-title "Sitemap for Spot"
:publishing-function org-publish-org-to-html
; Org 8
:html-head "<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n<link rel=\"stylesheet\" type=\"text/css\" href=\"spot.css\" />"
......
......@@ -53,6 +53,9 @@
:base-extension "org"
:publishing-directory "@abs_top_srcdir@/doc/userdoc/"
:recursive t
:exclude "setup.org"
:auto-sitemap t
:sitemap-title "Sitemap for Spot"
:publishing-function
,(if (require 'org-publish nil t) 'org-publish-org-to-html ; Org 7
'org-html-publish-to-html) ; Org 8
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment