Commit Graph
100 Commits
Author SHA1 Message Date
Jacky Zhao fbb4523853 fix(folder): use memoized trie instead of handrolled path solution (closes #1767) 2025-03-14 15:08:23 -07:00
Jacky Zhao da1b6b37fe fix(explorer): fix incorrect recursive case for folder rendering 2025-03-14 10:05:26 -07:00
Jacky Zhao e26658f4ed fix(description): calculate description properly when first sentence is longer than max 2025-03-13 14:22:11 -07:00
Jacky Zhao b579950ae5 fix(og): adjust line clamp 2025-03-13 14:05:26 -07:00
Jacky Zhao 0babbdf780 fix(contentPage): dont emit folders 2025-03-13 13:57:00 -07:00
Jacky Zhao 1efe2e20a4 fix(graph): avoid keeping stroke in gfx 2025-03-13 12:29:30 -07:00
Jacky Zhao 5928d82a56 fix(og): search for font family properly 2025-03-13 12:11:27 -07:00
Jacky Zhao 696403d3fa chore: bump version to 4.4.1 2025-03-13 10:55:37 -07:00
Jacky Zhao 2c30abe457 fix(analytics): always use defer over async to account for document nav event 2025-03-13 10:48:03 -07:00
Jacky Zhao 80c3196fee feat(og): add reading time to default, improve logging 2025-03-13 10:41:50 -07:00
Jacky ZhaoandGitHub d9159e0ac9 feat: make og images an emitter to properly await image generation (#1826)
* checkpoint

* make emitters async generators

* fix

* custom font spec

* replace spinner, use disk cache for fonts

* use readline instead

* make og images look nice
2025-03-13 10:27:46 -07:00
Jacky Zhao c005fe4408 fix(explorer): properly respect folderDefaultState (closes #1827) 2025-03-12 22:31:44 -07:00
Jacky Zhao 270a5dc14a fix(explorer): show file name instead of slug if no file data (closes #1822) 2025-03-12 11:24:28 -07:00
Jacky Zhao bfa938cc62 fix(explorer): allow setting displayName (closes #1824) 2025-03-12 10:42:07 -07:00
Jacky Zhao e3c50caf13 fix(explorer): dont invert mobile css, properly toggle .collapsed 2025-03-12 10:15:54 -07:00
Jacky Zhao 2718ab9019 feat: flex component, document higher-order layout components 2025-03-11 14:56:43 -07:00
Jacky Zhao 87b803790c fix(mermaid): themechange detector + expand simplification 2025-03-11 11:45:45 -07:00
Jacky Zhao e59181c3aa docs(explorer): update to account for new client side explorer) 2025-03-11 10:20:15 -07:00
Jacky Zhao b00198b888 fix: load mermaid as normal now that inline is safely below bundle size 2025-03-10 16:42:08 -07:00
Jacky Zhao 9e3e711646 fix: mermaid script load order 2025-03-10 16:20:08 -07:00
Jacky Zhao a8001e9554 feat: support non-singleton explorer 2025-03-10 15:13:22 -07:00
Jacky Zhao dcaf806190 feat: support non-singleton darkmode 2025-03-10 11:44:47 -07:00
Jacky Zhao 23df17233d fix(graph): make graph non-singleton, proper cleanup, fix radial 2025-03-10 11:39:08 -07:00
Jacky Zhao 8d33608808 fix(popovers): clear id to avoid anchor jumps within popover 2025-03-10 00:08:06 -07:00
Jacky Zhao d618a4e3f3 fix(explorer): dont rely on data to get slug, compute it in trie 2025-03-09 23:36:10 -07:00
Jacky Zhao 9c8fec06d2 feat: support non-singleton search 2025-03-09 15:33:15 -07:00
Jacky Zhao 1cd8e7f0d5 feat: support non-singleton table of contents 2025-03-09 15:06:36 -07:00
Jacky ZhaoandGitHub 5480269d38 perf(explorer): client side explorer (#1810)
* start work on client side explorer

* fix tests

* fmt

* generic test flag

* add prenav hook

* add highlight class

* make flex more consistent, remove transition

* open folders that are prefixes of current path

* make mobile look nice

* more style fixes
2025-03-09 14:58:26 -07:00
Jacky ZhaoandGitHub a201105442 fix(docker): instructions + bump deps + bind mount (#1809)
* fix docker

* test with docs folder
2025-03-06 10:01:25 -08:00
Jacky Zhao cc9704becc chore(deps): bump deps, silence internal punycode deprecation 2025-03-06 09:41:26 -08:00
Jacky Zhao 6d195fd40a feat: font specification flexibility 2025-03-06 09:21:50 -08:00
Jacky Zhao 2213424195 docs: make role of getQuartzComponents more clear and also make it optional 2025-03-05 18:34:02 -08:00
Jacky Zhao 5b13ff2199 feat: support emitters defining external resources, emit link from contentindex directly 2025-03-05 18:16:24 -08:00
Jacky Zhao 3c8ccde624 chore(og-image): force twemoji for emoji util 2025-03-05 17:21:19 -08:00
Jacky Zhao 2acfa0fa23 fix(og-image): overflow ellipses in title and description 2025-03-05 17:13:19 -08:00
Jacky Zhao f6f417a505 fix: engine reqiurements 2025-03-05 16:49:43 -08:00
Jacky Zhao a1162b978a fix(analytics): spa tracking for other providers 2025-03-05 16:27:08 -08:00
Jacky Zhao e3162f7a7e chore: joinSegments fix + tests 2025-01-01 12:11:16 -08:00
Jacky Zhao e1c9eabef4 fix(css): oops fit-content not no width specification for codeblock title 2024-12-30 09:28:02 -08:00
Jacky Zhao 7d4bed64a9 fix(css): allow proper width on code block title (closes #1683) 2024-12-28 15:17:58 -08:00
Jacky ZhaoandGitHub c91cf97f99 feat(spa): add loading bar (#1684) 2024-12-26 22:18:17 -07:00
Jacky ZhaoandGitHub 410001b942 docs: add the pond (#1598) 2024-11-18 11:39:44 -08:00
Jacky Zhao a6b2967df8 fix: account for chokidar v4 glob deprecation in source watching 2024-11-07 16:32:26 -08:00
Jacky Zhao f84a6554f6 fix(style): remove flex end to fix tag alignment in content meta 2024-11-07 15:13:28 -08:00
Jacky Zhao b3a02909ba fix: make filter checks more strict (closes #1519) 2024-10-15 09:34:46 -07:00
Jacky Zhao 8889ab63eb fix: provide default pageTitleSuffix (closes #1452) 2024-09-28 09:38:19 -07:00
Jacky Zhao 9cefcd0dd1 Revert "perf: eagerly compute explorer nodes to avoid re-render in memoized value"
This reverts commit 16a9caa555.
2024-09-20 15:48:14 -07:00
Jacky Zhao 16a9caa555 perf: eagerly compute explorer nodes to avoid re-render in memoized value 2024-09-15 18:05:17 -07:00
Jacky Zhao 50a78bafa5 docs: clarify prod hosting 2024-09-15 16:47:11 -07:00
Jacky Zhao 6ea359e55e perf: have more than 1ms granularity for rebuild detection 2024-09-15 16:42:07 -07:00
Jacky Zhao 6215dd5565 docs: fix roam research docs 2024-09-11 14:45:04 -07:00
Jacky Zhao 6715079a89 fix: only apply z-index on left sidebar 2024-08-28 12:50:25 -07:00
Jacky Zhao 195fc5134c fix: pass buildId to worker 2024-08-08 19:33:27 -07:00
Jacky Zhao e89c395f7c fix: unmemoize explorer on rebuild (closes #1077) 2024-08-08 19:17:20 -07:00
Jacky Zhao 2db735a150 docs: recommend at least node 20 in gh 2024-08-08 18:38:17 -07:00
Jacky Zhao 39eebca3cf chore: ts fixes 2024-08-08 18:28:13 -07:00
Jacky Zhao 9acaa1c8ac feat: custom global latex macros (closes #1325) 2024-08-08 18:19:45 -07:00
Jacky Zhao 4bbcc0c50a pkg: minor bump for breaking nodejs bump :) 2024-08-05 19:33:23 -07:00
Jacky Zhao 3938904cd0 fix: embed pdf aspect ratio (closes #1310) 2024-08-05 19:31:54 -07:00
Jacky Zhao 407fad384c fix: only one h1 on a page (closes #1269) 2024-08-05 19:18:48 -07:00
Jacky Zhao ca3943b500 fix: responsive youtube embed (closes #1167) 2024-08-05 19:14:14 -07:00
Jacky Zhao 563ab4aaaf docs: update node version in hosting docs 2024-08-05 18:49:20 -07:00
Jacky Zhao 1c2d542138 build: add .node-version 2024-08-05 18:48:29 -07:00
Jacky Zhao 3d156b8497 deps(dev): bump nodejs in ci 2024-08-05 18:43:05 -07:00
Jacky Zhao 38361aaf48 deps: change min required nodejs to v20 (breaking) 2024-08-05 18:41:46 -07:00
Jacky ZhaoandGitHub 6264f5685c fix: comments on spa should work (closes #1296) (#1298)
* fix comments on spa

* fix giscus
2024-07-30 01:13:13 -07:00
Jacky Zhao e1a9661be7 docs: cleanup showcase 2024-07-29 16:33:50 -07:00
Jacky Zhao 5f10df4d05 pkg 2024-07-21 17:49:28 -07:00
Jacky Zhao 03f23e5054 feat: comments (giscus) 2024-07-20 23:05:45 -07:00
Jacky Zhao b9ee44aad7 i18n: disambiguate en-us and en-gb 2024-07-20 20:24:17 -07:00
Jacky Zhao 247625c4f5 feat(layout): add afterBody 2024-07-09 19:09:31 -07:00
Jacky Zhao 4b407e786f chore: format 2024-07-09 18:08:21 -07:00
Jacky Zhao 9cabf2b416 chore: update features 2024-07-09 18:07:00 -07:00
Jacky Zhao 965425d54d docs + chore: cleanup custom sort ordering for folder + tag listings, add docs 2024-07-09 17:55:19 -07:00
Jacky Zhao 2154d36d99 chore: use regex flag instead of string in regexp ctor 2024-07-09 17:20:13 -07:00
Jacky Zhao 1d94e9c303 css: use fit-content (closes #1194) 2024-06-17 22:13:31 -07:00
Jacky Zhao 48e16c943a chore(deps-dev): bump prettier 2024-06-17 21:46:43 -07:00
Jacky Zhao cc5913b75c fix(ci): only publish tag on v4 origin 2024-06-17 21:45:58 -07:00
Jacky Zhao 265faef4e8 fix: properly compute relative path for explorer (closes #1055, #1066) 2024-06-17 21:43:32 -07:00
Jacky Zhao 541b470cfc fix: overflow fade for good (closes #1218) 2024-06-17 21:33:53 -07:00
Jacky Zhao 73a5ec87f1 docs: fix link to path tests (closes #1163) 2024-05-29 13:04:58 -07:00
Jacky Zhao 520acbbf6f docs: inline code syntax highlighting (closes #1162) 2024-05-29 13:04:03 -07:00
Jacky Zhao 0a2b52f618 simpler katex fix 2024-03-24 15:50:38 -07:00
Jacky Zhao daa8796554 fix: format 2024-03-17 18:15:42 -07:00
Jacky Zhao 91f0a2abb2 feat: support rich descriptions in tag listing page (closes #908) 2024-03-17 18:00:04 -07:00
Jacky Zhao ba6c7a73d1 fix: remove extra # from tag content 2024-03-06 19:00:37 -08:00
Jacky Zhao 0ca8a2ac7c chore: transclude subsection without dynamic regex construction 2024-03-05 22:17:58 -08:00
Jacky Zhao 2a7e61ae2a feat: support transcluding codeblocks and blockquotes (closes #940) 2024-03-03 12:31:55 -08:00
Jacky Zhao 67647d9167 ci: also checkout and install node before tagging 2024-02-23 19:08:39 -08:00
Jacky Zhao b88d3d292b ci: fix typo in runs-on 2024-02-23 19:05:26 -08:00
Jacky Zhao c53fd5b56f ci: tag as a separate step 2024-02-23 19:04:38 -08:00
Jacky Zhao d0c0daa4aa ci: fix autotag 2024-02-23 19:00:47 -08:00
Jacky Zhao ea7122dd5a pkg: bump to 4.2.3 2024-02-23 18:52:28 -08:00
Jacky Zhao 2c74b05d1b fix(ci): autotag 2024-02-23 18:48:25 -08:00
Jacky Zhao 6be1ed1ea2 docs(latex): mhchem 2024-02-23 17:45:41 -08:00
Jacky Zhao 421718958f fix(callouts): use user provided title instead of canonical for default title 2024-02-23 11:20:35 -08:00
Jacky Zhao be9b6b3a1e fix(docs): make docs accurate to callout behaviour (closes #920) 2024-02-23 09:32:22 -08:00
Jacky Zhao aa24a62ae7 fix(breadcrumbs): calculate trailing slash for tag hierarchies (closes #873) 2024-02-17 11:12:35 -08:00
Jacky Zhao a6690c6503 fix(style): bold should use semibold 2024-02-17 10:57:59 -08:00
Jacky Zhao 06e3f8b93d fix(style): introduce semiBoldWeight and various improvements to reduce CLS 2024-02-17 10:34:51 -08:00