Commit Graph

589 Commits

Author SHA1 Message Date
Jacky Zhao
98d82415dc fix: lock to never read when site is building 2023-08-24 08:31:12 -07:00
bfahrenfort
8200c8d040
Revert contentIndex to RSS 2.0 (#407) 2023-08-23 22:57:49 -07:00
Jacky Zhao
2e0e518f5d format 2023-08-23 15:16:04 -07:00
Zane Helton
632c27b7ec
docs: update hosting.md with Vercel hosting instructions (#406)
* Update hosting.md with Vercel hosting instructions

* Update docs/hosting.md

Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>

* Update docs/hosting.md

Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>

* Run npm run format

---------

Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>
2023-08-23 15:14:23 -07:00
Jacky Zhao
bfb416b35a fix: text wrap in popover 2023-08-23 13:10:23 -07:00
Jacky Zhao
eed4472aee fix: use proper full base for links.ts 2023-08-23 12:18:50 -07:00
kanpov
0aaf88b852
Fix #403 by moving documentation to separate directory to avoid merge conflicts (#405) 2023-08-23 12:09:04 -07:00
Jacky Zhao
a1a1e7e1e0 fix: builds should no accumulate on repeated changes (closes #404) 2023-08-23 11:36:34 -07:00
Jacky Zhao
b444c5c13b fix: percent-encoding for files with %, contentIndex for non-latin chars (closes #397, closes #399) 2023-08-22 23:34:28 -07:00
Jacky Zhao
36548d5986 fix: toc for cyrillic and other non-latin alphabets (closes #396) 2023-08-22 22:41:50 -07:00
Jacky Zhao
99dbe525d9 fix: properly lock across source and content refresh by sharing a mutex 2023-08-22 22:27:41 -07:00
Jacky Zhao
8b63ff882a fix: tag support for non-latin alphabets (fixes #398) 2023-08-22 22:14:16 -07:00
Jacky Zhao
b991cf2ee8 fix: spa hijacks back button (closes #400) 2023-08-22 21:30:31 -07:00
bb677840fc
fixed broken CJK links (#390) 2023-08-22 09:16:55 -07:00
Ikko Eltociear Ashimine
c60b3d5e34
fix: typo in bootstrap-cli.mjs (#394) 2023-08-22 09:16:21 -07:00
Jacky Zhao
e10de3febf fix: server-handler crash from filename (closes #386) 2023-08-21 17:01:18 -07:00
Jacky Zhao
b69556c918 fix: async-mutex not exclusively locking correectly 2023-08-21 16:43:32 -07:00
Jacky Zhao
ce70571072 docs: use canonical quartz.jzhao.xyz, update bootstrap script to point to correct hosting link 2023-08-21 09:15:01 -07:00
Jacky Zhao
8c943f47d6 format, update default sidepanel width 2023-08-21 09:00:13 -07:00
2774e976d2
fix: opts being overriden in graph option (#384) 2023-08-21 08:45:47 -07:00
Jacky Zhao
777ff51c7a format 2023-08-20 20:48:35 -07:00
Jacky Zhao
4e42d52e16 fix: ctrl + k breaking after page nav 2023-08-20 20:47:07 -07:00
Jacky Zhao
d0f67d9935 move wss server start after http 2023-08-20 18:41:37 -07:00
Jacky Zhao
952d6cb3dd fix: nav event with spa off, anchor nav refresh page 2023-08-20 18:08:44 -07:00
Jacky Zhao
173ec240d2 fix: jump to anchor on deployed site triggering spa refresh 2023-08-20 17:50:56 -07:00
Jacky Zhao
425c9789a4 remove checkout step from instructions as v4 is the default branch 2023-08-20 16:59:25 -07:00
Jacky Zhao
7b7064ad2b fix: ensure code exists inside pre before adding clipboard 2023-08-20 15:38:37 -07:00
Jacky Zhao
ca17af4ae2 fix: dont show index page for folder in its own listing 2023-08-20 15:02:24 -07:00
Jacky Zhao
e65ea48fae fix: add async-mutex to builds on large vaults 2023-08-20 14:27:44 -07:00
Jacky Zhao
b99d4cd8ce recent notes css fixes 2023-08-20 14:05:37 -07:00
Jacky Zhao
236130ac22 css fixes, add recent notes, more robust quartz update 2023-08-20 12:46:37 -07:00
Jacky Zhao
9d77edaf94 fix description not being used in folder and tag listings 2023-08-20 01:08:18 -07:00
Jacky Zhao
cfb7d1232e docs: update notes for tag and folder listings 2023-08-20 00:52:49 -07:00
Jacky Zhao
96a3bfeafb fix: put quotations around font 2023-08-19 22:04:29 -07:00
Jacky Zhao
e262482921 fix: string for aliases being treated as array of chars 2023-08-19 21:59:01 -07:00
Jacky Zhao
eb4d3dc5b4 css: fix scrollbars on windows 2023-08-19 21:55:09 -07:00
Jacky Zhao
7b8017413c impl baseDir option for quartz build --serve for local testing 2023-08-19 18:04:17 -07:00
Jacky Zhao
6681f28af0 fix trailing slash causing folder listing to not fetch content correctly 2023-08-19 16:55:36 -07:00
Jacky Zhao
78f4cdbe10 avoid 404 on icon for spa navigations with anchors 2023-08-19 16:40:02 -07:00
Jacky Zhao
dd47be1bc6 improve path resolution stability 2023-08-19 16:28:44 -07:00
Jacky Zhao
c874e7e937 base path refactor to better support subpath hosting 2023-08-19 15:52:25 -07:00
Jacky Zhao
3201f83b70 v4-alpha -> v4 2023-08-18 18:24:09 -07:00
Jacky Zhao
8bc7a50dfa format 2023-08-17 21:54:42 -07:00
Jacky Zhao
569beb410b ensure sync includes untracked files 2023-08-17 21:49:58 -07:00
Jacky Zhao
5713d30670 ensure contentfolder is passed to popContentFolder 2023-08-17 21:24:41 -07:00
Jacky Zhao
a130945443 fix when symlink targ is calculated and added npx quartz restore 2023-08-17 21:20:15 -07:00
Jacky Zhao
e10f6da011 format 2023-08-17 21:08:26 -07:00
Jacky Zhao
a7cca3242a deref symlink on quartz sync 2023-08-17 21:07:40 -07:00
Jacky Zhao
0998bc355e fix rebuild debouncing 2023-08-17 01:58:11 -07:00
Jacky Zhao
07a327e05a fix back button in spa not working between two pages that both have hash fragments 2023-08-17 01:34:50 -07:00
Jacky Zhao
58d9dc0528 format 2023-08-17 00:55:52 -07:00
Jacky Zhao
0c199975f2 various path fixes for links to extensions, fix relative paths in links 2023-08-17 00:55:28 -07:00
Jacky Zhao
2dc0ae279c fix import paths 2023-08-16 22:09:11 -07:00
Jacky Zhao
2f6747b166 fix relative path resolution in router and link crawling 2023-08-16 22:04:15 -07:00
Jacky Zhao
7bde99b4e2 fix: add trailing slash to local serving 2023-08-13 17:47:18 -07:00
Jacky Zhao
d6e73f221c fix relative path resolution logic, add more path tests 2023-08-12 21:16:43 -07:00
Jacky Zhao
6d9ffd6da5 404 page styling on local 2023-08-12 21:16:43 -07:00
Jacky Zhao
c89f8b1a9a fix nested callout folding 2023-08-12 21:16:43 -07:00
Jacky Zhao
aed3f5fccb fmt 2023-08-12 10:17:07 -07:00
Jacky Zhao
c55d54f068 enable rich text in callout title 2023-08-12 10:16:55 -07:00
Jacky Zhao
7bffc2183e include home page in search 2023-08-12 00:24:30 -07:00
Jacky Zhao
827dd91847 format, make search async 2023-08-12 00:03:11 -07:00
Jacky Zhao
e1dd6aee86 fix wikilinks to anchors in the same document 2023-08-11 23:55:17 -07:00
Jacky Zhao
83269ac26e fix scanning for tags in content 2023-08-11 23:40:06 -07:00
Jacky Zhao
ed62ece491 fix broken tag listing links to tags 2023-08-11 23:27:59 -07:00
Jacky Zhao
736c3981c4 fix emit filepaths, tag emit being overriden by content 2023-08-11 23:25:44 -07:00
Jacky Zhao
259d0a6d9a more documentation 2023-08-11 00:31:44 -07:00
Jacky Zhao
21cc6a5da9 run prettier 2023-08-10 21:29:11 -07:00
Jacky Zhao
cefbca4753 docs on making plugins 2023-08-10 21:16:07 -07:00
Jacky Zhao
ad3f7b2d5f format 2023-08-09 09:18:44 -07:00
Jacky Zhao
ebf3263b7e update npx quartz update script 2023-08-09 09:10:40 -07:00
Jacky Zhao
cea6834fef profiling, better concurrency heuristics 2023-08-09 00:26:33 -07:00
Jacky Zhao
68ccd1d79d format 2023-08-08 22:53:01 -07:00
Jacky Zhao
49bd6bc3ff better concurrency debugging, --concurrency flag for npx quartz build 2023-08-08 22:52:49 -07:00
Jacky Zhao
e4950e06a1 fix getFileExtension missing numeric extensions (e.g. mp4) 2023-08-08 21:31:36 -07:00
Jacky Zhao
e21f0f9bb9 change reading time to content meta 2023-08-08 21:28:09 -07:00
Jacky Zhao
ee9ed4f287 fix head.tsx 2023-08-08 20:36:24 -07:00
Jacky Zhao
09d4eb0684 fix notes 2023-08-07 23:57:24 -07:00
Jacky Zhao
533d68e642 most of creating components, increase legibility of bold in article and callouts 2023-08-07 23:56:50 -07:00
Jacky Zhao
774a162850 format 2023-08-07 21:51:23 -07:00
Jacky Zhao
2ac5dd49da fix regression in code block font-size boosting on safari mobile 2023-08-07 21:51:06 -07:00
Jacky Zhao
527ce6546e various css fixes, fix new image loading bug when previewing, path docs 2023-08-07 21:41:18 -07:00
Jacky Zhao
d02af6a8ae architecture, fix vendor prefixing 2023-08-07 17:34:38 -07:00
Jacky Zhao
b4cacd5956 format 2023-08-06 22:07:33 -07:00
Jacky Zhao
cd9dc6ecb5 fix css transforms for mobile 2023-08-06 22:07:08 -07:00
Jacky Zhao
d8d9dd22c9 fix shortest path for non-md files, mobile fix 2023-08-06 20:52:17 -07:00
Jacky Zhao
3adc73a703 docs upgrade, ci changes 2023-08-06 19:52:30 -07:00
Jacky Zhao
028bcec62c mobile fixes, fix bug when linking to anchor on home, docs 2023-08-06 17:09:29 -07:00
Jacky Zhao
db6054a8c1 format, remove markdown from being procesed 2023-08-05 18:00:52 -07:00
Jacky Zhao
a0d651d64d reverse query param hack to re-add sourcemap support 2023-08-05 17:53:29 -07:00
Jacky Zhao
1da467d214 non-admonition callout fix 2023-08-05 16:43:50 -07:00
Jacky Zhao
7c09627df4 improve hot reload robustness 2023-08-05 15:34:10 -07:00
Jacky Zhao
c402f0c385 more robust error handling, config hotreload 2023-08-05 11:28:09 -07:00
Jacky Zhao
9e76b257d4 fix mermaid initialization 2023-08-04 22:35:21 -07:00
Jacky Zhao
6423f85614 fix execsync 2023-08-03 23:28:34 -07:00
Jacky Zhao
3a2eae0a16 fix fetch flags 2023-08-03 23:24:34 -07:00
Jacky Zhao
2acfb9e870 format, add upstream 2023-08-03 23:08:04 -07:00
Jacky Zhao
93986c6e7c update pull strategy 2023-08-03 22:29:46 -07:00
Jacky Zhao
4877a9c934 fix callout aliases not being used properly 2023-08-03 00:08:13 -07:00
Jacky Zhao
6457496b4b readme fixes, force 2023-08-02 23:42:49 -07:00
Jacky Zhao
fdf1e2a41d use checkout for pulling updates 2023-08-02 23:29:28 -07:00
Jacky Zhao
663c41fa41 use posix style paths for all path ops 2023-08-02 23:04:26 -07:00
Jacky Zhao
de72dd4e4a format 2023-08-02 22:16:46 -07:00
Jacky Zhao
5537ca41e0 use autostash and pull 2023-08-02 22:16:32 -07:00
Jacky Zhao
558a509164 format 2023-08-02 22:11:46 -07:00
Jacky Zhao
d7842e0ce7 make path and globbing more platform invariant 2023-08-02 22:10:13 -07:00
Jacky Zhao
429f331c21 make ci also run on windows, re-add css minification 2023-08-02 20:53:13 -07:00
Jacky Zhao
9a0f20012a windows patches 2023-08-02 00:07:41 -07:00
Jacky Zhao
c8c108c7f7 change default strategy to be rebase 2023-08-01 23:29:58 -07:00
Jacky Zhao
aaae7d46c2 Merge branch 'v4-alpha' of https://github.com/jackyzha0/quartz into v4-alpha 2023-08-01 22:48:32 -07:00
Jacky Zhao
a70e846b0a flag to allow ofm replace in html embed 2023-08-01 22:47:16 -07:00
Adam Brangenberg
cbae88fc4e
Removing redundant properties (#356) 2023-07-30 21:08:32 -07:00
Jacky Zhao
cc79502670 make layouts simpler to think about 2023-07-25 23:37:24 -07:00
Jacky Zhao
45f9087f03 fix checkbox/tasklist styling 2023-07-25 22:27:59 -07:00
Jacky Zhao
1c1a569023 fix formatting 2023-07-25 21:11:06 -07:00
Jacky Zhao
cee2883c08 nested tag support and tag index page 2023-07-25 21:10:37 -07:00
Jacky Zhao
c0278a8c65 font loading options, optimize css 2023-07-24 21:54:47 -07:00
Jacky Zhao
e82ba97a39 actually add processed tag to frontmatter 2023-07-24 00:07:58 -07:00
Jacky Zhao
041a4ce7bc fix watch-mode batching 2023-07-24 00:04:01 -07:00
Jacky Zhao
569ff1a801 npm i on quartz update 2023-07-23 21:53:34 -07:00
Jacky Zhao
351b4ab13b styling fixes for stacking order and overflow 2023-07-23 21:41:09 -07:00
Jacky Zhao
4811500b1b make component resources a proper emitter 2023-07-23 18:20:43 -07:00
Jacky Zhao
7c2bb4ee4c bundleinfo flag, minify scripts 2023-07-23 17:58:35 -07:00
Jacky Zhao
8fd75ffbfd support attachments folder 2023-07-23 17:42:00 -07:00
Jacky Zhao
55a1fb8c41 format 2023-07-23 17:09:12 -07:00
Jacky Zhao
9e83af04a7 refactor static and asset emission to be actual emitter plugins 2023-07-23 17:07:19 -07:00
Jacky Zhao
000eb4c3c0 update feature list 2023-07-23 15:37:06 -07:00
Jacky Zhao
5599eb590e feat: process tags in content 2023-07-23 14:02:57 -07:00
Jacky Zhao
ae2e3b463a improve error handling while serving 2023-07-23 11:49:26 -07:00
Jacky Zhao
fd7c33c537 style fixes for search bar and title on mobile 2023-07-23 11:19:15 -07:00
Jacky Zhao
76fdb3b4d8 fix styles 2023-07-23 11:04:20 -07:00
Jacky Zhao
27a5f7ef8e various typography and styling fixes 2023-07-23 11:02:45 -07:00
Jacky Zhao
7db2eda76c run prettier 2023-07-22 17:27:41 -07:00
Jacky Zhao
8dd73704e6 hot content reload 2023-07-22 16:06:36 -07:00
Jacky Zhao
b7966ff7fa update features list 2023-07-20 21:51:55 -07:00
Jacky Zhao
01d7d8e554 fix tag pages to emit to tag/index.html to override content and folder pages 2023-07-19 23:03:59 -07:00
Jacky Zhao
76c092dcf2 add custom.scss 2023-07-19 21:59:48 -07:00
Jacky Zhao
410fc9c8d3 quartz update and quartz sync 2023-07-19 21:59:39 -07:00
Jacky Zhao
8e0ba45789 add link resolution prompt to quartz create 2023-07-16 10:39:35 -07:00
Jacky Zhao
f82282367e treat _index as index 2023-07-15 23:33:06 -07:00
Jacky Zhao
a3e4c86a4c fix ci, disable strict path type checks by default 2023-07-15 23:05:17 -07:00
Jacky Zhao
3ac6b42e16 finish path refactoring, add sourcemap + better trace support 2023-07-15 23:02:12 -07:00
Jacky Zhao
906f91f8ee base path refactor, more docs 2023-07-13 00:19:35 -07:00
Jacky Zhao
08f8e3b4a4 docs + various polish 2023-07-09 19:32:24 -07:00
Jacky Zhao
b90590b9f4 polish 2023-07-08 14:36:02 -07:00
Jacky Zhao
b3480bdc49 fix styling for bullet points 2023-07-06 19:18:18 -07:00
Jacky Zhao
9cbacca2d4 handle dates as tags 2023-07-06 18:45:38 -07:00
Jacky Zhao
05d1ca01c3 handle string tags 2023-07-06 18:32:48 -07:00
Jacky Zhao
f7bf4038dc fix path parsing 2023-07-06 16:56:30 -07:00
Jacky Zhao
465804a389 basic docs, remove publish, add quartz create 2023-07-05 00:16:06 -07:00
Jacky Zhao
92ca787092 fix default callout state 2023-07-04 18:26:11 -07:00
Jacky Zhao
974b0da308 folder and tag descriptions, re-enable relative pathing 2023-07-04 18:02:59 -07:00
Jacky Zhao
2a17431460 fix popover zindex 2023-07-04 17:14:15 -07:00
Jacky Zhao
38cff2d670 more visual polish, adjust colours and spacing 2023-07-04 16:48:36 -07:00
Jacky Zhao
ab9da02c60 fix indexing causing main thread freeze, various polish 2023-07-04 10:08:32 -07:00
Jacky Zhao
e0ebee5aa9 various polish 2023-07-02 13:08:29 -07:00
Jacky Zhao
4c904d88ab rss + sitemap 2023-07-01 13:35:27 -07:00
Jacky Zhao
ba9f243728 tag and folder pages 2023-07-01 00:03:01 -07:00
Jacky Zhao
24348b24a9 fix: parsing wikilinks that have codeblock anchors, scroll to anchor 2023-06-19 22:50:25 -07:00
Jacky Zhao
fd5c8d17d3 basic search implementation 2023-06-19 20:37:45 -07:00
Jacky Zhao
c4cf0dcb02 local and global graph 2023-06-18 10:47:07 -07:00
Jacky Zhao
8bfee04c8c popovers 2023-06-17 16:05:46 -07:00
Jacky Zhao
cb89cce183 basic left,right layout 2023-06-17 14:36:06 -07:00
Jacky Zhao
b587782450 collapsible callout 2023-06-17 13:08:06 -07:00
Jacky Zhao
6d5491fdcb collapsible toc 2023-06-17 12:07:40 -07:00
Jacky Zhao
917d5791ac modern toc tweaks 2023-06-16 19:41:59 -07:00
Jacky Zhao
9d2024b11c taglist, mermaid 2023-06-12 22:41:42 -07:00
Jacky Zhao
2bfe90b7e6 add config to components 2023-06-11 23:46:38 -07:00
Jacky Zhao
352075ae81 refactor plugins to be functions instead of classes 2023-06-11 23:26:43 -07:00
Jacky Zhao
b8c011410d toc 2023-06-09 23:06:02 -07:00
Jacky Zhao
3a29f4c86e add custom spa solution 2023-06-09 19:58:58 -07:00
Jacky Zhao
59109a8c1d add flamethrower router 2023-06-07 22:38:45 -07:00
Jacky Zhao
317cce9314 generic quartz component for layout 2023-06-07 22:27:32 -07:00
Jacky Zhao
1cb4dadf13 codeblock copy 2023-06-06 21:19:00 -07:00
Jacky Zhao
0813f127a3 fix darkmode script load 2023-06-06 20:58:26 -07:00
Jacky Zhao
4d3579ca98 darkmode scripts 2023-06-06 19:48:37 -07:00
Jacky Zhao
89e0311a98 embeds 2023-06-06 00:00:38 -07:00
Jacky Zhao
700036e84c callouts 2023-06-05 22:14:17 -07:00
Jacky Zhao
1406ee0f05 update spinners 2023-06-04 13:37:43 -04:00
Jacky Zhao
9ad89997a5 multi-core builds 2023-06-04 12:35:45 -04:00
Jacky Zhao
4bdc17d4a1 inline scripts 2023-06-03 15:07:19 -04:00
Jacky Zhao
fcd81353f8 heading linking 2023-06-01 19:48:38 -04:00
Jacky Zhao
04eeb2d10c syntax higlighting 2023-06-01 19:05:14 -04:00
Jacky Zhao
42d3a7de17 scss support 2023-06-01 17:35:31 -04:00
Jacky Zhao
c1c46ad67e obsidian flavored markdown support 2023-06-01 12:33:20 -04:00
Jacky Zhao
3636c052eb link processing 2023-05-31 17:41:44 -04:00
Jacky Zhao
21c007e2fc rendering, link resolution, asset copying 2023-05-31 17:01:23 -04:00
Jacky Zhao
ad6ce0d73f plugin integration round 2 2023-05-30 08:02:20 -07:00
Jacky Zhao
a757521313 base setup 2023-05-28 17:44:08 -07:00