docs(*): export

This commit is contained in:
Pavel Korytov 2021-08-22 12:50:42 +03:00
parent bf5ad78647
commit 9148fea7cf
7 changed files with 48 additions and 9 deletions

View file

@ -1,5 +1,6 @@
(specifications->manifest (specifications->manifest
'( '(
"go"
"openjdk" "openjdk"
"node" "node"
"git-filter-repo" "git-filter-repo"

View file

@ -159,6 +159,11 @@
(setq evil-lion-right-align-key (kbd "g A")) (setq evil-lion-right-align-key (kbd "g A"))
(evil-lion-mode)) (evil-lion-mode))
(use-package evil-matchit
:straight t
:config
(global-evil-matchit-mode 1))
(use-package evil-collection (use-package evil-collection
:straight t :straight t
:after evil :after evil
@ -1741,6 +1746,8 @@ then it takes a second \\[keyboard-quit] to abort the minibuffer."
:straight t :straight t
:hook (org-mode . org-superstar-mode)) :hook (org-mode . org-superstar-mode))
(setq org-export-backends '(md html latex beamer org))
(use-package ox-hugo (use-package ox-hugo
:straight t :straight t
:after ox) :after ox)

View file

@ -5,8 +5,11 @@
#+PROPERTY: header-args:conf-toml :comments link #+PROPERTY: header-args:conf-toml :comments link
#+PROPERTY: header-args:sh :tangle-mode (identity #o755) :comments link :shebang "#!/usr/bin/env sh" #+PROPERTY: header-args:sh :tangle-mode (identity #o755) :comments link :shebang "#!/usr/bin/env sh"
#+PROPERTY: header-args:bash :tangle-mode (identity #o755) :comments link :shebang "#!/usr/bin/env bash" #+PROPERTY: header-args:bash :tangle-mode (identity #o755) :comments link :shebang "#!/usr/bin/env bash"
#+OPTIONS: broken-links:auto h:6 toc:nil
* Contents #+TOC headlines 6
* Contents :noexport:
:PROPERTIES: :PROPERTIES:
:TOC: :include all :depth 3 :TOC: :include all :depth 3
:END: :END:
@ -942,7 +945,7 @@ fi
#+end_src #+end_src
* Guix settings * Guix settings
#+NAME: packages #+NAME: packages
#+begin_src emacs-lisp :tangle no #+begin_src emacs-lisp :tangle no :eval never-export
(my/format-guix-dependencies) (my/format-guix-dependencies)
#+end_src #+end_src

View file

@ -1,18 +1,22 @@
#+TITLE: Desktop #+TITLE: Desktop
#+TODO: TODO(t) CHECK(s) | OFF(o) #+TODO: TODO(t) CHECK(s) | OFF(o)
#+PROPERTY: header-args :mkdirp yes #+PROPERTY: header-args :mkdirp yes
#+PROPERTY: header-args:emacs-lisp :eval never-export
#+PROPERTY: header-args:conf-space :comments link #+PROPERTY: header-args:conf-space :comments link
#+PROPERTY: header-args:conf-unix :comments link #+PROPERTY: header-args:conf-unix :comments link
#+PROPERTY: header-args:conf-windows :comments link #+PROPERTY: header-args:conf-windows :comments link
#+PROPERTY: header-args:conf-xdefaults :comments link #+PROPERTY: header-args:conf-xdefaults :comments link
#+PROPERTY: header-args:sh :tangle-mode (identity #o755) :comments link :shebang "#!/usr/bin/env bash" #+PROPERTY: header-args:sh :tangle-mode (identity #o755) :comments link :shebang "#!/usr/bin/env bash"
#+PROPERTY: header-args:bash :tangle-mode (identity #o755) :comments link :shebang "#!/usr/bin/env bash" #+PROPERTY: header-args:bash :tangle-mode (identity #o755) :comments link :shebang "#!/usr/bin/env bash"
#+OPTIONS: broken-links:auto h:6 toc:nil
My general desktop environment configuration. My general desktop environment configuration.
Parts prefixed with (OFF) are not used, but kept for historic purposes. For some reason GitHub's org renderer ignores TODO status, hence such a prefix. Round brackets instead of square ones to prevent GitHub's org renderer from screwing up. Parts prefixed with (OFF) are not used, but kept for historic purposes. For some reason GitHub's org renderer ignores TODO status, hence such a prefix. Round brackets instead of square ones to prevent GitHub's org renderer from screwing up.
* Contents #+TOC: headlines 6
* Contents :noexport:
:PROPERTIES: :PROPERTIES:
:TOC: :include all :depth 3 :TOC: :include all :depth 3
:END: :END:
@ -1345,7 +1349,7 @@ A theme, based on [[https://github.com/dracula/rofi][dracula theme]] for rofi, b
table)) table))
#+end_src #+end_src
#+begin_src conf-colon :tangle ./.config/rofi/config.rasi :noweb yes #+begin_src css :tangle ./.config/rofi/config.rasi :noweb yes
/* Generated from [[file:../../Desktop.org::*Theme][Theme:1]] */ /* Generated from [[file:../../Desktop.org::*Theme][Theme:1]] */
,* { ,* {
<<get-rofi-colors()>> <<get-rofi-colors()>>
@ -2118,6 +2122,7 @@ This section generates manifests for various desktop software that I'm using.
| dev | git-filter-repo | | dev | git-filter-repo |
| dev | node | | dev | node |
| dev | openjdk | | dev | openjdk |
| dev | go |
** Manifests ** Manifests
#+NAME: packages #+NAME: packages
#+begin_src emacs-lisp :tangle no :var category="" #+begin_src emacs-lisp :tangle no :var category=""

View file

@ -1,7 +1,9 @@
#+PROPERTY: header-args :mkdirp yes #+PROPERTY: header-args :mkdirp yes
#+PROPERTY: header-args:bash :tangle-mode (identity #o755) :comments link :shebang "#!/usr/bin/env bash" #+PROPERTY: header-args:bash :tangle-mode (identity #o755) :comments link :shebang "#!/usr/bin/env bash"
#+PROPERTY: header-args:emacs-lisp :tangle ~/.emacs.d/init.el :mkdirp yes #+PROPERTY: header-args:emacs-lisp :tangle ~/.emacs.d/init.el :mkdirp yes :eval never-export
#+TODO: CHECK(s) | OFF(o) #+TODO: CHECK(s) | OFF(o)
#+TITLE: Emacs config
#+OPTIONS: broken-links:auto h:6 toc:nil
#+begin_quote #+begin_quote
One day we won't hate one another, no young boy will march to war and I will clean up my Emacs config. But that day isn't today. One day we won't hate one another, no young boy will march to war and I will clean up my Emacs config. But that day isn't today.
@ -11,7 +13,9 @@ My [[https://www.gnu.org/software/emacs/][Emacs]] configuration.
As with other files in the repo, parts prefixed with (OFF) are not used but kept for historic purposes. As with other files in the repo, parts prefixed with (OFF) are not used but kept for historic purposes.
* Contents #+TOC: headlines 6
* Contents :noexport:
:PROPERTIES: :PROPERTIES:
:TOC: :include all :depth 4 :TOC: :include all :depth 4
:END: :END:
@ -549,6 +553,14 @@ Basic evil configuration.
(setq evil-lion-right-align-key (kbd "g A")) (setq evil-lion-right-align-key (kbd "g A"))
(evil-lion-mode)) (evil-lion-mode))
#+end_src #+end_src
[[https://github.com/redguardtoo/evil-matchit][evil-matchit]] makes "%" to match things like tags.
#+begin_src emacs-lisp
(use-package evil-matchit
:straight t
:config
(global-evil-matchit-mode 1))
#+end_src
*** evil-collection *** evil-collection
[[https://github.com/emacs-evil/evil-collection][evil-collection]] is a package that provides evil bindings for a lot of different packages. One can see the whole list in the [[https://github.com/emacs-evil/evil-collection/tree/master/modes][modes]] folder. [[https://github.com/emacs-evil/evil-collection][evil-collection]] is a package that provides evil bindings for a lot of different packages. One can see the whole list in the [[https://github.com/emacs-evil/evil-collection/tree/master/modes][modes]] folder.
@ -2830,6 +2842,10 @@ Categories are broad labels to group agenda items.
("." ,(list (all-the-icons-faicon "circle-o")) nil nil :ascent center)))) ("." ,(list (all-the-icons-faicon "circle-o")) nil nil :ascent center))))
#+end_src #+end_src
** Export ** Export
*** General settings
#+begin_src emacs-lisp
(setq org-export-backends '(md html latex beamer org))
#+end_src
*** Hugo *** Hugo
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package ox-hugo (use-package ox-hugo

View file

@ -1,8 +1,10 @@
#+TITLE: Guix #+TITLE: Guix
#+PROPERTY: header-args :mkdirp yes #+PROPERTY: header-args :mkdirp yes
#+PROPERTY: header-args:emacs-lisp :eval never-export
#+PROPERTY: header-args:bash :tangle-mode (identity #o755) :comments link :shebang "#!/usr/bin/env bash" #+PROPERTY: header-args:bash :tangle-mode (identity #o755) :comments link :shebang "#!/usr/bin/env bash"
#+PROPERTY: header-args:sh :tangle-mode (identity #o755) :comments link :shebang "#!/bin/sh" #+PROPERTY: header-args:sh :tangle-mode (identity #o755) :comments link :shebang "#!/bin/sh"
#+PROPERTY: header-args:scheme :comments link #+PROPERTY: header-args:scheme :comments link
#+OPTIONS: broken-links:auto h:6 toc:nil
[[https://guix.gnu.org/][GNU Guix]] is (1) a transactional package manager and (2) a GNU/Linux distribution. [[https://guix.gnu.org/][GNU Guix]] is (1) a transactional package manager and (2) a GNU/Linux distribution.
@ -14,6 +16,7 @@ References:
- [[https://gitlab.com/pjotrp/guix-notes][Pjotr Prins' Guix notes]] - [[https://gitlab.com/pjotrp/guix-notes][Pjotr Prins' Guix notes]]
- [[https://www.youtube.com/watch?v=iBaqOK75cho&list=PLEoMzSkcN8oNxnj7jm5V2ZcGc52002pQU][Davil Wilson's YouTube series]] - [[https://www.youtube.com/watch?v=iBaqOK75cho&list=PLEoMzSkcN8oNxnj7jm5V2ZcGc52002pQU][Davil Wilson's YouTube series]]
#+TOC: headlines 6
* Contents * Contents
:PROPERTIES: :PROPERTIES:

View file

@ -3,9 +3,11 @@
:END: :END:
#+TITLE: Mail #+TITLE: Mail
#+PROPERTY: header-args :mkdirp yes #+PROPERTY: header-args :mkdirp yes
#+PROPERTY: header-args:emacs-lisp :eval never-export
#+PROPERTY: header-args:conf-unix :comments link #+PROPERTY: header-args:conf-unix :comments link
#+PROPERTY: header-args:conf-space :comments link #+PROPERTY: header-args:conf-space :comments link
#+PROPERTY: header-args:bash :tangle-mode (identity #o755) :comments link :shebang "#!/usr/bin/env bash" #+PROPERTY: header-args:bash :tangle-mode (identity #o755) :comments link :shebang "#!/usr/bin/env bash"
#+OPTIONS: broken-links:auto h:6 toc:nil
My email configration. Currently uses [[https://github.com/gauteh/lieer][lieer]] to fetch emails from Gmail, [[http://davmail.sourceforge.net/][davmail]] & [[http://www.offlineimap.org/][offlineimap]] to fetch emails from MS Exchange, [[https://notmuchmail.org/][notmuch]] to index, [[https://marlam.de/msmtp/][msmtp]] to send emails. Also using notmuch frontend from Emacs. My email configration. Currently uses [[https://github.com/gauteh/lieer][lieer]] to fetch emails from Gmail, [[http://davmail.sourceforge.net/][davmail]] & [[http://www.offlineimap.org/][offlineimap]] to fetch emails from MS Exchange, [[https://notmuchmail.org/][notmuch]] to index, [[https://marlam.de/msmtp/][msmtp]] to send emails. Also using notmuch frontend from Emacs.
@ -16,7 +18,9 @@ But I also have an Exchange account, with which I communicate via IMAP/SMTP adap
References: References:
- [[https://sqrtminusone.xyz/posts/2021-02-27-gmail/][My post]] about email configuration. I wrote it some time ago, but the general idea remains. - [[https://sqrtminusone.xyz/posts/2021-02-27-gmail/][My post]] about email configuration. I wrote it some time ago, but the general idea remains.
* Contents #+TOC: headlines 6
* Contents :noexport:
:PROPERTIES: :PROPERTIES:
:TOC: :include all :TOC: :include all
:END: :END: