summaryrefslogtreecommitdiff
path: root/tests/ci-build-stage-two.el
diff options
context:
space:
mode:
authorPreston Pan <ret2pop@nullring.xyz>2026-03-15 18:50:46 -0700
committerPreston Pan <ret2pop@nullring.xyz>2026-03-15 18:50:46 -0700
commitedc7f724ff6b7b323fd06d7c3cbb2e56a2a214b8 (patch)
treec9c06fcb0f8fe19b3a586fb2385d899e560af422 /tests/ci-build-stage-two.el
parent10c9e7c106566f852f33f1eaac413a24ea89d448 (diff)
parent48e818808429e98e7db1f78b3e10537d829d2861 (diff)
Merge branch 'feat/quic-and-other'
Diffstat (limited to 'tests/ci-build-stage-two.el')
-rw-r--r--tests/ci-build-stage-two.el43
1 files changed, 43 insertions, 0 deletions
diff --git a/tests/ci-build-stage-two.el b/tests/ci-build-stage-two.el
new file mode 100644
index 0000000..aca425d
--- /dev/null
+++ b/tests/ci-build-stage-two.el
@@ -0,0 +1,43 @@
+(princ "STEP 2: init.el.\n" (quote external-debugging-output))
+
+(setq org-id-track-globally t)
+
+(princ "STEP 3: after org roam\n" (quote external-debugging-output))
+
+(setq term-file-prefix nil)
+
+(princ "STEP 4: after org roam\n" (quote external-debugging-output))
+
+(force-mode-line-update)
+
+(setq org-html-link-use-abs-url nil)
+(setq default-directory (expand-file-name "~/monorepo"))
+(setq org-html-link-use-abs-url nil)
+(setq org-html-link-org-files-as-html t)
+
+(require (quote htmlize))
+(require (quote nix-mode))
+
+(setq org-html-htmlize-output-type (quote css))
+
+(princ "STEP 5: before catppuccin\n" (quote external-debugging-output))
+
+(defun my-ci-force-fontification ()
+ "Ensure the buffer is fully colorized before htmlize touches it."
+ (font-lock-ensure)
+ (font-lock-flush)
+ (font-lock-ensure))
+
+(add-hook 'org-publish-before-export-hook #'my-ci-force-fontification)
+
+(face-spec-recalc 'default (selected-frame))
+(when (fboundp 'redisplay) (redisplay t))
+
+(princ (format "THEME CHECK - Default background: %s\n"
+ (face-attribute 'default :background))
+ 'external-debugging-output)
+
+(princ "STEP 6: before publish-all\n" (quote external-debugging-output))
+
+(org-publish-all t)
+(org-publish-all nil)