Add user manual to site
This commit is contained in:
parent
e027f3c7e6
commit
1027b3c7d6
2 changed files with 15 additions and 2 deletions
|
@ -2,9 +2,16 @@
|
||||||
|
|
||||||
all:
|
all:
|
||||||
|
|
||||||
export:
|
export: manual
|
||||||
emacs -batch -l project.el -f org-publish-all
|
emacs -batch -l project.el -f org-publish-all
|
||||||
|
|
||||||
publish: export
|
publish: export
|
||||||
rsync -avuz --delete --exclude='*~' _publish/ \
|
rsync -avuz --delete --exclude='*~' _publish/ \
|
||||||
ryuslash.org:public_html/orgweb/projects/gitto
|
ryuslash.org:public_html/orgweb/projects/gitto
|
||||||
|
|
||||||
|
manual:
|
||||||
|
$(MAKE) -C "$(CURDIR)"/../doc html
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -f *.elc
|
||||||
|
rm -rf _publish
|
||||||
|
|
|
@ -1,7 +1,13 @@
|
||||||
(require 'org-publish)
|
(require 'org-publish)
|
||||||
|
|
||||||
(setq org-publish-project-alist
|
(setq org-publish-project-alist
|
||||||
'(("gitto-files"
|
'(("gitto-docs"
|
||||||
|
:base-directory "../doc/html"
|
||||||
|
:publishing-directory "_publish/manual"
|
||||||
|
:recursive t
|
||||||
|
:base-extension "html"
|
||||||
|
:publishing-function org-publish-attachment)
|
||||||
|
("gitto-files"
|
||||||
:base-directory "./"
|
:base-directory "./"
|
||||||
:publishing-directory "_publish/"
|
:publishing-directory "_publish/"
|
||||||
:recursive nil
|
:recursive nil
|
||||||
|
|
Loading…
Reference in a new issue