From 8489fb370e63d52b318a14870dbe6b369e8f2f68 Mon Sep 17 00:00:00 2001 From: Eshel Yaron Date: Sun, 28 Jul 2024 13:25:10 +0200 Subject: [PATCH] Add Kubed project and submodule --- .gitmodules | 4 ++++ esy-publish.el | 16 ++++++++++++---- kubed | 1 + source/index.org | 10 ++++++++++ 4 files changed, 27 insertions(+), 4 deletions(-) create mode 160000 kubed diff --git a/.gitmodules b/.gitmodules index 1802f40..791fec7 100644 --- a/.gitmodules +++ b/.gitmodules @@ -8,3 +8,7 @@ [submodule "dict"] path = dict url = git://git.eshelyaron.com/dict.git +[submodule "kubed"] + path = kubed + url = git://git.eshelyaron.com/kubed.git + branch = master diff --git a/esy-publish.el b/esy-publish.el index 9924fef..853007b 100644 --- a/esy-publish.el +++ b/esy-publish.el @@ -453,11 +453,12 @@ (kill-buffer src) (rename-file tmp file t))) -(defun esy-publish--sweep-texinfo (plist) +(defun esy-publish--texinfo (module-name) (make-directory esy-publish-local-man-directory t) - (let* ((in (expand-file-name "sweep/sweep.texi" esy-publish-root-directory)) - (no-split (expand-file-name "sweep.html" esy-publish-local-directory)) - (out (expand-file-name "sweep" esy-publish-local-man-directory)) + (let* ((in (expand-file-name (concat module-name "/" module-name ".texi") + esy-publish-root-directory)) + (no-split (expand-file-name (concat module-name ".html") esy-publish-local-directory)) + (out (expand-file-name module-name esy-publish-local-man-directory)) (args (list "--html" "--css-ref" "../../style.css" "-c" "TREE_TRANSFORMATIONS=regenerate_master_menu" @@ -511,6 +512,12 @@ (dolist (file (cons no-split (directory-files out t (rx ".html" eos)))) (esy-publish-fontify-examples file)))) +(defun esy-publish--sweep-texinfo (_plist) + (esy-publish--texinfo "sweep")) + +(defun esy-publish--kubed-texinfo (_plist) + (esy-publish--texinfo "kubed")) + (defun esy-publish--prepare-indices (&rest _) (dolist (dir (list esy-publish-notes-source-directory esy-publish-posts-source-directory @@ -548,6 +555,7 @@ (defun esy-publish--finalize (plist) (esy-publish--sweep-texinfo plist) + (esy-publish--kubed-texinfo plist) (esy-publish--finalize-feed plist) (esy-publish--add-canonical-tags plist) (esy-publish--finalize-sitemap plist)) diff --git a/kubed b/kubed new file mode 160000 index 0000000..22ba7fb --- /dev/null +++ b/kubed @@ -0,0 +1 @@ +Subproject commit 22ba7fb5257771a07f21975bf307d4455b920a84 diff --git a/source/index.org b/source/index.org index dc85542..168f5ad 100644 --- a/source/index.org +++ b/source/index.org @@ -37,6 +37,16 @@ this website itself. :CUSTOM_ID: projects :END: +** Kubed: Kubernetes, Emacs, done! +:PROPERTIES: +:CUSTOM_ID: kubed +:END: + +[[https://eshelyaron.com/kubed.html][Kubed]] is my Emacs-based interface for working with Kubernetes. It +makes interacting with Kubernetes easy and intuitive. If you consider +Emacs easy and intuitive, that is. See [[https://eshelyaron.com/kubed.html][the Kubed manual]] for more +information. The manual is also available in [[./man/kubed/][multi-page format]]. + ** Sweep: SWI-Prolog Embedded in Emacs :PROPERTIES: :CUSTOM_ID: sweep -- 2.39.2