org: generate a sitemap
* doc/org/.dir-locals.el.in, doc/org/init.el.in: Enable sitemap generation.
This commit is contained in:
parent
5b82978449
commit
ad8b964520
2 changed files with 6 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue