Commit graph

10452 commits

Author SHA1 Message Date
Vincent Ambo
d6c255a35d feat(cheddar): Render Markdown via Comrak
Renders any ".md" file by pushing it through the Comrak rendering
pipeline.

This does not yet implement syntax highlighting of fenced blocks, but
we're getting there.
2019-12-21 14:49:35 +00:00
Vincent Ambo
d35aa4ae46 refactor(cheddar): Set up scaffolding for Markdown rendering
Generalises the two bits of the program that will be required either
way (extension parsing and syntax loading).

A dependency on Comrak is introduced as I think GitHub-flavoured
Markdown (with all its fancy extensions) is desirable!
2019-12-21 14:09:12 +00:00
Vincent Ambo
eb650eb8d8 docs(nix/readTree): Add a very descriptive README for readTree 2019-12-21 05:42:52 +00:00
Vincent Ambo
4a9c6ab6a2 refactor(nix/readTree): Move readTree to its own subfolder 2019-12-21 05:42:49 +00:00
Vincent Ambo
cbc3409ce0 feat(cgit-taz): Make use of cheddar for syntax highlighting 2019-12-21 04:57:55 +00:00
Vincent Ambo
81d9b81b06 feat(cheddar): Use syntax highlighting assets from bat
This uses Nix to inject the path to the syntax highlighting assets
that ship with the bat source code into the cheddar build at compile
time, where the Rust compiler then inserts it into the binary via
macros.

bat has a lot of custom syntax highlighting definitions that they
collected from all over the place (including for languages like Nix!)
and this makes them accessible to cheddar.

Also if you're reading this, can you just take a moment to appreciate
how incredible it is that Nix just lets us do something like this?!
2019-12-21 04:55:10 +00:00
Vincent Ambo
4681c07bde feat(tools/cheddar): Check in new syntax highlighting tool
The first step with this tool will be to use it as a source-filter for
cgit. The second step is to use it as the Markdown renderer by
depending on one of the Markdown libraries, with integration for
rendering code snippets directly.
2019-12-21 04:54:57 +00:00
Vincent Ambo
87cf3a2c6f chore(net/stomp_erl): Remove erlang.mk
The project should be migrated to one of the newer mechanisms, like
rebar.
2019-12-21 03:05:51 +00:00
Vincent Ambo
bec4eb23d0 feat(cgit-taz): Use pulldown-cmark as the about filter
It renders GitHub-flavoured Markdown, which is nice for most
use-cases.
2019-12-21 03:01:41 +00:00
Vincent Ambo
19ced1ac41 feat(third_party): Add derivation for pulldown-cmark 2019-12-21 02:55:48 +00:00
Vincent Ambo
b6a3490816 docs(README): Fix link to dottime overview page 2019-12-21 01:48:11 +00:00
Vincent Ambo
d820b4d6bf docs(README): Update list of highlights
Now that a whole bunch more stuff has been checked in, there's a few
worthy mentions in this list.
2019-12-21 01:46:54 +00:00
Vincent Ambo
ad07fc31ed merge(crimp): Integrate at //net/crimp 2019-12-21 01:28:09 +00:00
Vincent Ambo
48c738b1b5 chore(crimp): Prepare for depot merge 2019-12-21 01:27:49 +00:00
Vincent Ambo
ec826db87a merge(alcoholic_jwt): Integrate at //net/alcoholic_jwt 2019-12-21 01:24:22 +00:00
Vincent Ambo
14462d5ecd chore(alcoholic_jwt): Prepare for depot merge 2019-12-21 01:24:02 +00:00
Vincent Ambo
1a281d3bb9 merge(stomp.erl): Integrate at //net/stomp_erl
This currently has no build configuration.
2019-12-21 01:21:19 +00:00
Vincent Ambo
32d16e2b02 chore(stomp.erl): Prepare for depot merge 2019-12-21 01:20:41 +00:00
Vincent Ambo
5f4924cfa7 feat(watchblob): Check in Nix expression with buildGo 2019-12-21 01:13:58 +00:00
Vincent Ambo
96b82a8033 merge(watchblob): Integrate at //fun/watchblob 2019-12-21 01:11:40 +00:00
Vincent Ambo
24b075bdeb chore(watchblob): Prepare for depot merge 2019-12-21 01:11:29 +00:00
Vincent Ambo
58f2f6f12d feat(bootstrapping-2018): Fix build and check in built presentation
This lets people browse the folder more easily, should they be so
inclined for whatever reason.
2019-12-21 01:07:29 +00:00
Vincent Ambo
5a28a1a94c merge(bs-talk): Integrate at //presentations/bootstrapping-2018 2019-12-21 00:59:46 +00:00
Vincent Ambo
28200fb059 chore(bootstrapping-2018): Prepare for depot merge 2019-12-21 00:59:27 +00:00
Vincent Ambo
1c767a1748 merge(elblog): Integrate at //fun/elblog 2019-12-21 00:56:26 +00:00
Vincent Ambo
3253e4c4fb chore(elblog): Prepare for depot merge 2019-12-21 00:56:13 +00:00
Vincent Ambo
fbdc9b1d60 merge(defer.rs): Integrate at //fun/defer_rs 2019-12-21 00:53:42 +00:00
Vincent Ambo
426780060d chore(defer.rs): Prepare for depot merge 2019-12-21 00:53:28 +00:00
Vincent Ambo
acdd21f8f4 feat(quinistry): Add Nix build instructions 2019-12-21 00:51:23 +00:00
Vincent Ambo
cdf25193a4 merge(quinistry): Integrate at //fun/quinistry
This is too historically interesting for me to lose it.
2019-12-21 00:49:11 +00:00
Vincent Ambo
86ff65a36c chore(quinistry): Prepare for depot merge 2019-12-21 00:48:37 +00:00
Vincent Ambo
47fc60a032 docs(presos/erlang-2016): Add a little bit of background info 2019-12-21 00:45:14 +00:00
Vincent Ambo
8c5335a7b5 merge(erlang-presentation): Merge at //presentations/erlang-2016 2019-12-21 00:38:42 +00:00
Vincent Ambo
8ab71587a7 chore(erlang-presentation): Prepare for depot merge 2019-12-21 00:38:28 +00:00
Vincent Ambo
fcf6ab2d9f merge(servant-presentation): Integrate at //presentations/servant-2016 2019-12-21 00:34:25 +00:00
Vincent Ambo
aecd6fda70 chore(servant-presentation): Prepare for depot merge 2019-12-21 00:34:11 +00:00
Vincent Ambo
10f9c4c208 merge(systemd-presentation): Merge at //presentations/systemd-2016
I figured that adding old presentations in here might actually be a
useful thing to do, no matter what format they're in.
2019-12-21 00:26:53 +00:00
Vincent Ambo
8db37e3959 chore(systemd-presentation): Prepare for depot merge 2019-12-21 00:26:34 +00:00
Vincent Ambo
c0b28fb866 fix(best-tools): Fix broken link anchors 2019-12-20 23:30:13 +00:00
Vincent Ambo
5dcf4c0d45 feat(fun): Add a document with information about the tools I use
Been meaning to publish this for a while and //depot/fun seems like
exactly the right place for it!
2019-12-20 23:25:41 +00:00
Landon Spear
98f8b660e2 docs(cluster-config): Correct term in cluster config doc
Including external variables does not work. You must import them. This
change corrects the External Variables section of the cluster-config
README.

Signed-off-by: Vincent Ambo <tazjin@google.com>
2019-12-20 22:32:06 +00:00
Vincent Ambo
db30770101 fix(kontemplate): Make build compatible with readTree
The kontemplate build will keep using `buildGoPackage` for now until
I've had the time to add tests to //nix/buildGo
2019-12-20 22:19:52 +00:00
Vincent Ambo
a9f5c63707 merge(kontemplate): Integrate kontemplate at //depot/ops/kontemplate 2019-12-20 22:14:40 +00:00
Vincent Ambo
795a974665 chore(kontemplate): Prepare kontemplate for depot-merge
This merge will not yet include moving over to buildGo.nix, as support
for testing and such is not present in that library yet.
2019-12-20 22:13:07 +00:00
Vincent Ambo
9885036eec chore(yants): Move tests into subfolder & add to CI builds 2019-12-20 21:53:19 +00:00
Vincent Ambo
902500c4ea fix(yants): Allow extra import arguments
Required for readTree compatibility.
2019-12-20 21:49:00 +00:00
Vincent Ambo
b98c60ecca merge(yants): Integrate yants into depot at //depot/nix/yants 2019-12-20 21:47:38 +00:00
Vincent Ambo
210893ce09 chore(yants): Prepare for depot-merge
Yants is being integrated at //depot/nix/yants
2019-12-20 21:46:59 +00:00
Vincent Ambo
0e175cbe88 style(fun/logo): Use a much lighter colour for the logo quote
The dark one is quite visually aggressive. This colour is also taken
from Gruber Darker.
2019-12-20 21:34:18 +00:00
Vincent Ambo
004df296ed docs: Update review address to depot@tazj.in 2019-12-20 21:29:16 +00:00