1
0
Commit Graph

22 Commits

Author SHA1 Message Date
Simon Michael
da3efcedd7 workaround for pandoc not being present in Cloudflare Pages platform V2 part 2 2023-11-28 08:35:28 -10:00
Simon Michael
e4d5a07fac workaround for pandoc not being present in Cloudflare Pages platform V2 2023-11-28 08:33:48 -10:00
Simon Michael
d8ad51442c makefile cleanups 2023-11-28 01:03:24 -10:00
Simon Michael
150e08c462 render double-bracketed wiki links, roughly in Obsidian style 2023-11-27 23:41:20 -10:00
Simon Michael
60f7c63f04 move the wiki content into the main site
(keeping the current filenames and Obsidian pseudo-compatibility)
2023-11-27 19:31:36 -10:00
Simon Michael
6f67b1bc2c switch to a mdbook-like file layout, using src/ and out/
Unlike mdbook, the out/ directory contains needed assets and is not expendable.
2023-11-27 19:10:08 -10:00
Simon Michael
eca3a08a6e make: forgot markdown is whatever we want, fix $ in a better way 2022-06-18 16:26:15 +01:00
Simon Michael
fcff3374dc make: render preview as github markdown like live site; also watch quickref 2022-06-18 15:59:35 +01:00
Simon Michael
35e3ba839c standard make rules: watch, auto 2019-11-03 10:39:52 -08:00
Simon Michael
76a650d47e make: liverender -> html-auto, livereload -> html-watch 2019-10-01 06:21:32 -10:00
Simon Michael
84494fdecc generate README.html again; can be useful for local preview.
I added it to .gitignore, though git was already ignoring it for some
reason.
2019-04-17 15:50:43 -07:00
Felix Crux
1f0dc89123 Exclude README and CONTRIBUTING from automatic HTML conversion
When running `make` to generate the HTML version of the site, all
Markdown files are automatically found and converted - including
README.md and CONTRIBUTING.md.

These two aren't really wanted, and the resulting HTML versions need to
be ignored or deleted. It's not sufficient to add them to .gitignore,
because they'll still be there in the filesystem causing confusion, even
if the risk of committing them to Git is minimized.

This change filters them out of the Makefile's argument list of Markdown
files that should be automatically converted to HTML, so the unwanted
versions don't get generated in the first place.

Before:

```
$ make
pandoc -f markdown-smart+autolink_bare_uris --template index.tmpl CONTRIBUTING.md -o CONTRIBUTING.html
pandoc -f markdown-smart+autolink_bare_uris --template index.tmpl README.md -o README.html
```

After:

```
$ make
make: Nothing to be done for 'all'.
```
2018-11-28 06:41:11 -08:00
Simon Michael
e136d63975 pandoc: ensure "smart" quotes stay off 2018-02-26 10:19:49 -08:00
Simon Michael
5adfbb24c0 start converting the quickref to separate files
An experimental plan for easier maintenance. There will be one linear
quickref-NAME.md file per ledger-like, with similar headings and
content across all quickref files. A script will take the sections and
tabulate them nicely to give a layout like the current page. And
perhaps there'll be some javascript to show/hide each format.
2017-12-17 18:24:17 -08:00
Simon Michael
8b5f67859c clean up makefile, replace fswatch with easier entr 2017-04-20 17:05:20 -07:00
Simon Michael
f59c7322f2 rename make target 2016-05-17 06:24:47 -07:00
Simon Michael
17cf059fe2 quickref fixes 2016-03-14 08:55:17 -07:00
Simon Michael
b6bf2ee405 a combined quick reference, aka "rosetta stone"
Covers the essentials of Ledger/hledger/Beancount journal format.
The master copy is in google docs for easier table editing,
but this will likely change in future.
2016-03-14 08:49:45 -07:00
Simon Michael
e0d238f662 make livereload: run on port 10000 2016-02-24 10:37:16 -08:00
Simon Michael
76c538365e live reloading; allow other pages 2016-02-17 08:33:47 -08:00
Simon Michael
0e84737449 make watch, readme updates 2016-02-14 08:27:14 -08:00
Simon Michael
63d8388ffb initial site template
Using the Skeleton CSS framework and a markdown/HTML page rendered by
pandoc (because I couldn't live with just a static HTML file).
2016-02-11 14:43:57 -08:00