From 11a16521c1232cd179000e5ac892ac92c7346537 Mon Sep 17 00:00:00 2001 From: Crazazy Date: Sun, 27 Feb 2022 11:18:55 +0100 Subject: prevent export of shell and elisp links --- readme.org | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/readme.org b/readme.org index 914af88..95bccb2 100644 --- a/readme.org +++ b/readme.org @@ -5,9 +5,11 @@ This is my collection of literal config for my global and emacs setup you can =git clone= the org files at [[https://crazazy.tilde.cafe/literal-config.git][this link]] In this document I'm mostly going to set up some prerequisites for tangling other files and setting up dependencies - -It is assumed that you have nix and emacs installed for this config to work. You can tangle all files [[elisp:(dolist (i (directory-files (file-name-directory (buffer-file-name (current-buffer))) t "\\.org$")) (org-babel-tangle-file i))][with this link]] -You can then install required dependencies with [[shell:./bootstrap.sh &][the bootstrap link]] +* Maintenance links :noexport: + This is for the org-mode side only + It is assumed that you have nix and emacs installed for this config to work. You can tangle all files [[elisp:(dolist (i (directory-files (file-name-directory (buffer-file-name (current-buffer))) t "\\.org$")) (org-babel-tangle-file i))][with this lisp]] + You can export all org files to html with a [[shell:for i in *.org; do emacs $i --batch --eval "(org-html-export-to-html)"; done; rm style.html*; scp *.html cafe:public_html/][this small script]] + You can then install required dependencies with [[shell:./bootstrap.sh &][the bootstrap link]] * Dependencies Dependencies are handled by [[https://github.com/nmattia/niv][niv]]. I have put the dependencies in a shell file, rather than the output of niv itself, as I prefer that this configuration setup declares what I as a user would otherwise be doing -- cgit 1.4.1-2-gfad0