From faa43a19419d6dc239cd660b2874ac7665f9ffeb Mon Sep 17 00:00:00 2001 From: torque Date: Thu, 11 May 2023 11:06:28 -0700 Subject: [PATCH] documentation: semi-minimally-functional zed It can load things from files now, but the cmark dependency needs to be properly integrated into the build still. --- .../templates/post-body.fragment.html | 5 + .../templates/post-nav.fragment.html | 4 + documentation/templates/pre-nav.fragment.html | 14 + documentation/{ => templates}/style.css | 21 +- documentation/zed.zig | 249 ++++++++++++++++-- 5 files changed, 270 insertions(+), 23 deletions(-) create mode 100644 documentation/templates/post-body.fragment.html create mode 100644 documentation/templates/post-nav.fragment.html create mode 100644 documentation/templates/pre-nav.fragment.html rename documentation/{ => templates}/style.css (94%) diff --git a/documentation/templates/post-body.fragment.html b/documentation/templates/post-body.fragment.html new file mode 100644 index 0000000..a791213 --- /dev/null +++ b/documentation/templates/post-body.fragment.html @@ -0,0 +1,5 @@ + + + + + diff --git a/documentation/templates/post-nav.fragment.html b/documentation/templates/post-nav.fragment.html new file mode 100644 index 0000000..e24d595 --- /dev/null +++ b/documentation/templates/post-nav.fragment.html @@ -0,0 +1,4 @@ + + +
+
diff --git a/documentation/templates/pre-nav.fragment.html b/documentation/templates/pre-nav.fragment.html new file mode 100644 index 0000000..11aadcb --- /dev/null +++ b/documentation/templates/pre-nav.fragment.html @@ -0,0 +1,14 @@ + + + + + {[0]s} + + + +
+