howtos + blog
  • JavaScript 99.4%
  • CSS 0.6%
Find a file
Roland Conybeare 5bd4ace9fe
All checks were successful
Deploy / publish (push) Successful in 21s
bugfix: base-extension in bin/howto-publish
need \\| for emacs regex
2026-06-21 21:05:16 -04:00
.forgejo/workflows .forgejo workflow: fix branch! main->master 2026-06-07 11:54:43 -04:00
articles + nix binary cache article 2026-06-21 17:57:36 -04:00
bin bugfix: base-extension in bin/howto-publish 2026-06-21 21:05:16 -04:00
cmake-examples + placeholders for generated docs (from some github projects) 2024-06-08 16:09:01 -04:00
css readtheorgs theme + misc additions 2023-10-05 15:06:26 -04:00
ctl +ctl, vue 2020-12-20 16:40:44 -05:00
d3 + dedicated d3 page 2023-10-06 12:30:09 -04:00
env * vpn / ssh setup edits 2024-12-25 15:16:18 -05:00
ext + dedicated d3 page 2023-10-06 12:30:09 -04:00
img + favicon 2024-06-08 16:12:19 -04:00
lessons + nix binary cache article 2026-06-21 17:57:36 -04:00
nix link fix 2024-03-08 17:29:54 -05:00
octave assorted fixes. now works when published to github pages 2023-10-01 16:58:48 -04:00
option/blackscholes assorted fixes. now works when published to github pages 2023-10-01 16:58:48 -04:00
orgpub assorted fixes -- upgrade to work in 2023 2023-09-29 14:07:46 -04:00
sw org-howto: fix url typo 2024-06-19 19:34:24 -04:00
vue +ctl, vue 2020-12-20 16:40:44 -05:00
web + 2x jit articles 2024-06-23 13:29:11 -04:00
xo-flatstring + placeholders for generated docs (from some github projects) 2024-06-08 16:09:01 -04:00
xo-ratio + placeholders for generated docs (from some github projects) 2024-06-08 16:09:01 -04:00
xo-unit + placeholders for generated docs (from some github projects) 2024-06-08 16:09:01 -04:00
.gitignore + gitignore 2020-12-20 16:41:07 -05:00
index-src.org add howto homepage 2016-04-09 13:21:26 -04:00
index.org + corner case page 2024-06-08 16:10:54 -04:00
links.org ++ links 2026-06-07 11:20:44 -04:00
miscellany.org + links.org + miscellany.org 2024-06-19 19:30:49 -04:00
README.md + article: nix-from-scratch on ubuntu 2026-06-21 17:09:25 -04:00
shell.nix bugfix: forgejo workflow batch-mode emacs fixes for fontify color 2026-06-18 00:17:15 -04:00

org-howto

Emacs org git repo with howto articles.

Published to https://conybeare.us/web regularly. Also from time-to-time to github pages here: https://rconybea.github.io/web

Publish content here by pushing to ssh://forgejo@conybeare.us:2222/roland/org-howto.git

Publish to local html tree:

$ cd path/to/org-howto
$ nix-shell shell.nix --run "./bin/howto-publish ~/proj/public_html/org-howto"

Alternatively from emacs using M-x org-publish-project org-howto.

automatic publishing via forgejo

See forgejo runner in .forgejo/workflows/deploy.yaml The runner generates html into /var/www/org-howto on new commits

host configuration for publishing

mkdir -p ~/proj
mkdir -p ~/proj/public_html
(cd ~/proj && git clone git@github.com:Rconybea/org-howto.git)
(cd ~/proj/public_html && git clone git@github.com:Rconybea/web.git org-howto)

interactive emacs configuration

assuming:

  1. contents of this repo is at ~/proj/org-howto
  2. publishing html to ~/proj/public_html/org-howto we need the following in ~/.emacs:
;; ----------------------------------------------------------------
;; org-mode publishing
;;
(require 'ox-publish)

;; publishing setup -- this is a kitchen sink -- it's intended to cover
;; everything we want org-mode to publish
;;
(setq org-publish-project-alist
      '(
        ("org-howto"
         :components ("org-howto-notes" "org-howto-static"))

        ("org-howto-notes"
         :base-directory "~/proj/org-howto"
         :base-extension "org"
         :publishing-directory "~/proj/public_html/org-howto"
         :recursive t
         :publishing-function org-html-publish-to-html
         :headling-levels 4
         :auto-preamble t
         )

        ("org-howto-static"
         :base-directory "~/org/"
         :base-extension "css\\|js\\|svg\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf"
         :publishing-directory "~/proj/public_html/org-howto"
         :recursive t
         :publishing-function org-publish-attachment
        )))

create html tree with

M-x org-publish-project org-howto

To serve html content locally:

python3 -m http.server 8000 --directory ~/proj/public_html/org-howto

To publish updated html tree to github

cd ~/proj/public_html/org-howto
git add .
git commit -m update
git push

To reset org-mode publishing cache (e.g. because futzing with host setup)

rm -rf ~/.org-timestamps/*