From 885dcab45a48e2a083247841fb387feb731f11b5 Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Tue, 27 Dec 2022 13:37:10 +0000 Subject: Update README and upload build for README --- .build.yml | 23 +++++++++++++++++++++++ README.org | 11 ++++++----- 2 files changed, 29 insertions(+), 5 deletions(-) create mode 100644 .build.yml diff --git a/.build.yml b/.build.yml new file mode 100644 index 0000000..c4abcb4 --- /dev/null +++ b/.build.yml @@ -0,0 +1,23 @@ +image: alpine/latest +packages: + - jq + - curl + - emacs-nox +secrets: + - 1bacd0af-209e-4277-9309-cf9c188c3114 +sources: + - https://git.sr.ht/~ymherklotz/org-zettelkasten +tasks: + - html: | + cd org-zettelkasten + emacs --batch --find-file README.org --eval '(progn (setq org-html-head-include-default-style nil) + (setq org-html-head-include-scripts nil) + (setq org-html-doctype "html5") + (setq org-html-html5-fancy t) + (setq org-html-postamble nil))' \ + --funcall org-html-export-to-html + - build: | + cd org-zettelkasten + set +x + . ~/.bearer-token + jq -sR '{ "query": "mutation UpdateRepo($id: Int!, $readme: String!) { updateRepository(id: $id, input: { readme: $readme }) { id } }", "variables": { "id": '241492', "readme": . } }' < README.html | curl --oauth2-bearer $BEARER_TOKEN -H "Content-Type: application/json" -d@- https://git.sr.ht/query >/dev/null 2>&1 diff --git a/README.org b/README.org index 8eadc73..833c00f 100644 --- a/README.org +++ b/README.org @@ -1,5 +1,6 @@ #+title: Zettelkasten for Org #+author: Yann Herklotz +#+options: num:nil toc:nil [[https://zettelkasten.de/][Zettelkasten]] is a note-taking technique designed to keep, and create new links between all the notes as they are written. This allows them to develop over @@ -8,14 +9,14 @@ network over time. This helps draw connections between different fields. The idea of this mode is to integrate fully into Emacs Org mode, trying to leverage most of its preexisting features. It is split into two modes, the main -one being `org-zettelkasten`, and a secondary standalone mode called -`zettelkasten` which is a minimal implementation of existing Zettelkasten modes. +one being =org-zettelkasten=, and a secondary standalone mode called +=zettelkasten= which is a minimal implementation of existing Zettelkasten modes. -* How to use `org-zettelkasten` +* How to use =org-zettelkasten= -The method implemented in `org-zettelkasten` has been described in detail in a [blog +The method implemented in =org-zettelkasten= has been described in detail in a [blog article](https://yannherklotz.com/blog/2020-12-21-introduction-to-luhmanns-zettelkasten.html). It -leverages `org-mode` features such as `CUSTOM_ID`, +leverages Org features such as =CUSTOM_ID=. *Manual Installation* -- cgit