howtos + blog
  • JavaScript 99.4%
  • CSS 0.6%
Find a file
2026-06-07 11:20:55 -04:00
articles merge 2024-12-25 15:16:58 -05: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 + blog articles w/ forgejo setup 2026-06-07 11:20:55 -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 README.md: + instructions for new host 2024-09-08 18:03:14 -04:00

org-howto

Emacs org git repo with howto articles. Published regularly to github pages here: https://rconybea.github.io/web see https://github.com:Rconybea/web for snapshot of generated html tree

publish content here from emacs, using M-x org-publish-project org-howto See html on roly-laptop-14 at this url: http://localhost/howto

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/*