Adding org-publish to Doom Emacs.
This commit is contained in:
parent
2f328fc0f5
commit
08e3fa7e17
|
@ -435,12 +435,15 @@
|
||||||
(use-package ox-gemini)
|
(use-package ox-gemini)
|
||||||
(use-package ox-publish)
|
(use-package ox-publish)
|
||||||
|
|
||||||
|
(setq org-publish-use-timestamps-flag nil)
|
||||||
|
(setq org-export-with-broken-links t)
|
||||||
(setq org-publish-project-alist
|
(setq org-publish-project-alist
|
||||||
'(("org-notes"
|
'(("distro.tube"
|
||||||
:base-directory "~/Org/website"
|
:base-directory "~/gitlab-repos/distro.tube/"
|
||||||
:base-extension "org"
|
:base-extension "org"
|
||||||
:publishing-directory "~/public_html/"
|
:publishing-directory "~/gitlab-repos/distro.tube/html/"
|
||||||
:recursive t
|
:recursive t
|
||||||
|
:exclude "org-html-themes/.*"
|
||||||
:publishing-function org-html-publish-to-html
|
:publishing-function org-html-publish-to-html
|
||||||
:headline-levels 4 ; Just the default for this project.
|
:headline-levels 4 ; Just the default for this project.
|
||||||
:auto-preamble t)
|
:auto-preamble t)
|
||||||
|
@ -449,6 +452,7 @@
|
||||||
:base-extension "css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf"
|
:base-extension "css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf"
|
||||||
:publishing-directory "~/public_html/"
|
:publishing-directory "~/public_html/"
|
||||||
:recursive t
|
:recursive t
|
||||||
|
:exclude ".*/org-html-themes/.*"
|
||||||
:publishing-function org-publish-attachment)
|
:publishing-function org-publish-attachment)
|
||||||
))
|
))
|
||||||
|
|
||||||
|
@ -470,8 +474,8 @@
|
||||||
|
|
||||||
(map! :leader
|
(map! :leader
|
||||||
(:prefix ("\\" . "ssh")
|
(:prefix ("\\" . "ssh")
|
||||||
:desc "Ssh into distrotube.com" "\\ d" #'(lambda () (interactive) (find-file "/scp:derek@distrotube.com"))
|
:desc "Ssh into distrotube.com" "\ d" #'(lambda () (interactive) (find-file "/scp:derek@distrotube.com"))
|
||||||
:desc "Ssh into my nextcloud" "\\ n" #'(lambda () (interactive) (find-file "/scp:derek@distrotube.net"))))
|
:desc "Ssh into my nextcloud" "\ n" #'(lambda () (interactive) (find-file "/scp:derek@distrotube.net"))))
|
||||||
|
|
||||||
(setq shell-file-name "/bin/fish"
|
(setq shell-file-name "/bin/fish"
|
||||||
vterm-max-scrollback 5000)
|
vterm-max-scrollback 5000)
|
||||||
|
|
|
@ -718,13 +718,15 @@ We need ox-man for "Org eXporting" to manpage format.
|
||||||
|
|
||||||
Org-publish
|
Org-publish
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
|
(setq org-publish-use-timestamps-flag nil)
|
||||||
|
(setq org-export-with-broken-links t)
|
||||||
(setq org-publish-project-alist
|
(setq org-publish-project-alist
|
||||||
'(("org-notes"
|
'(("distro.tube"
|
||||||
:base-directory "~/Org/website"
|
:base-directory "~/gitlab-repos/distro.tube/"
|
||||||
:base-extension "org"
|
:base-extension "org"
|
||||||
:publishing-directory "~/public_html/"
|
:publishing-directory "~/gitlab-repos/distro.tube/html/"
|
||||||
:recursive t
|
:recursive t
|
||||||
|
:exclude "org-html-themes/.*"
|
||||||
:publishing-function org-html-publish-to-html
|
:publishing-function org-html-publish-to-html
|
||||||
:headline-levels 4 ; Just the default for this project.
|
:headline-levels 4 ; Just the default for this project.
|
||||||
:auto-preamble t)
|
:auto-preamble t)
|
||||||
|
@ -733,6 +735,7 @@ Org-publish
|
||||||
:base-extension "css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf"
|
:base-extension "css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf"
|
||||||
:publishing-directory "~/public_html/"
|
:publishing-directory "~/public_html/"
|
||||||
:recursive t
|
:recursive t
|
||||||
|
:exclude ".*/org-html-themes/.*"
|
||||||
:publishing-function org-publish-attachment)
|
:publishing-function org-publish-attachment)
|
||||||
))
|
))
|
||||||
|
|
||||||
|
@ -789,8 +792,8 @@ Keybindings for ssh'ing into remote machines. By default, Doom Emacs does not u
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(map! :leader
|
(map! :leader
|
||||||
(:prefix ("\\" . "ssh")
|
(:prefix ("\\" . "ssh")
|
||||||
:desc "Ssh into distrotube.com" "\\ d" #'(lambda () (interactive) (find-file "/scp:derek@distrotube.com"))
|
:desc "Ssh into distrotube.com" "\ d" #'(lambda () (interactive) (find-file "/scp:derek@distrotube.com"))
|
||||||
:desc "Ssh into my nextcloud" "\\ n" #'(lambda () (interactive) (find-file "/scp:derek@distrotube.net"))))
|
:desc "Ssh into my nextcloud" "\ n" #'(lambda () (interactive) (find-file "/scp:derek@distrotube.net"))))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
* SHELLS
|
* SHELLS
|
||||||
|
|
Loading…
Reference in New Issue