howtos + blog
  • JavaScript 99.4%
  • CSS 0.6%
Find a file
2024-03-06 19:48:10 -05: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 all the changes 2024-03-06 18:25:13 -05:00
ext + dedicated d3 page 2023-10-06 12:30:09 -04:00
img added master-bedroom-av.org 2016-12-31 15:19:04 -05:00
lessons all the changes 2024-03-06 18:25:13 -05:00
nix tiny edits 2024-03-06 19:48:10 -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
vue +ctl, vue 2020-12-20 16:40:44 -05:00
web assorted fixes. now works when published to github pages 2023-10-01 16:58:48 -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 all the changes 2024-03-06 18:25:13 -05:00
README.md all the changes 2024-03-06 18:25:13 -05:00

org-howto

Emacs org git repo with howto articles. Published regularly to github pages here: https://rconybea.github.io/web see github://Rconybea/org-howto 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

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