Jacky Zhao
8993eb0acb
fix(description): calculate description properly when first sentence is longer than max
2025-03-13 14:22:11 -07:00
Jacky Zhao
d6c8e5173e
fix(og): adjust line clamp
2025-03-13 14:05:26 -07:00
Jacky Zhao
08cbb35159
fix(contentPage): dont emit folders
2025-03-13 13:57:00 -07:00
Jacky Zhao
4ab54baea3
fix(graph): avoid keeping stroke in gfx
2025-03-13 12:29:30 -07:00
Jacky Zhao
702192f4f4
fix(og): search for font family properly
2025-03-13 12:11:27 -07:00
Jacky Zhao
6d2ac0e4a7
chore: bump version to 4.4.1
2025-03-13 10:55:37 -07:00
Jacky Zhao
c9d36c28e2
fix(analytics): always use defer over async to account for document nav event
2025-03-13 10:48:03 -07:00
Jacky Zhao
f97ba42113
feat(og): add reading time to default, improve logging
2025-03-13 10:41:50 -07:00
Jacky Zhao
7acd3132aa
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
c6a61812c9
fix(explorer): properly respect folderDefaultState ( closes #1827 )
2025-03-12 22:31:44 -07:00
Emile Bangma
820591c0d1
fix(typography): properly pass Google font options ( #1825 )
2025-03-12 11:27:41 -07:00
Jacky Zhao
18ef9a6450
fix(explorer): show file name instead of slug if no file data ( closes #1822 )
2025-03-12 11:24:28 -07:00
Jacky Zhao
55b1753cdb
fix(explorer): allow setting displayName ( closes #1824 )
2025-03-12 10:42:07 -07:00
Jacky Zhao
fd4871125b
fix(explorer): dont invert mobile css, properly toggle .collapsed
2025-03-12 10:15:54 -07:00
Emile Bangma
4eda00331c
fix(explorer): mobile explorer toggle ( #1823 )
2025-03-12 14:15:16 +01:00
Jacky Zhao
9fb62ab846
feat: flex component, document higher-order layout components
2025-03-11 14:56:43 -07:00
Jacky Zhao
346a011d36
fix(mermaid): themechange detector + expand simplification
2025-03-11 11:45:45 -07:00
Jacky Zhao
f5c0499822
docs(explorer): update to account for new client side explorer)
2025-03-11 10:20:15 -07:00
Jacky Zhao
d94ccf245a
fix: load mermaid as normal now that inline is safely below bundle size
2025-03-10 16:42:08 -07:00
Jacky Zhao
ec33a3b7c0
fix: mermaid script load order
2025-03-10 16:20:08 -07:00
Jacky Zhao
4439f91d55
feat: support non-singleton explorer
2025-03-10 15:13:22 -07:00
Aaron Pham
a0d60d7931
Merge pull request #1820 from jackyzha0/dependabot/npm_and_yarn/production-dependencies-8ce87f9e70
...
chore(deps): bump the production-dependencies group with 5 updates
2025-03-10 17:57:39 -04:00
dependabot[bot]
9ce8937750
chore(deps): bump the production-dependencies group with 5 updates
...
Bumps the production-dependencies group with 5 updates:
| Package | From | To |
| --- | --- | --- |
| [hast-util-to-jsx-runtime](https://github.com/syntax-tree/hast-util-to-jsx-runtime ) | `2.3.5` | `2.3.6` |
| [lightningcss](https://github.com/parcel-bundler/lightningcss ) | `1.29.1` | `1.29.2` |
| [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) | `22.13.9` | `22.13.10` |
| [@types/ws](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/ws ) | `8.5.14` | `8.18.0` |
| [esbuild](https://github.com/evanw/esbuild ) | `0.25.0` | `0.25.1` |
Updates `hast-util-to-jsx-runtime` from 2.3.5 to 2.3.6
- [Release notes](https://github.com/syntax-tree/hast-util-to-jsx-runtime/releases )
- [Commits](https://github.com/syntax-tree/hast-util-to-jsx-runtime/compare/2.3.5...2.3.6 )
Updates `lightningcss` from 1.29.1 to 1.29.2
- [Release notes](https://github.com/parcel-bundler/lightningcss/releases )
- [Commits](https://github.com/parcel-bundler/lightningcss/commits/v1.29.2 )
Updates `@types/node` from 22.13.9 to 22.13.10
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
Updates `@types/ws` from 8.5.14 to 8.18.0
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/ws )
Updates `esbuild` from 0.25.0 to 0.25.1
- [Release notes](https://github.com/evanw/esbuild/releases )
- [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG.md )
- [Commits](https://github.com/evanw/esbuild/compare/v0.25.0...v0.25.1 )
---
updated-dependencies:
- dependency-name: hast-util-to-jsx-runtime
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: production-dependencies
- dependency-name: lightningcss
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: production-dependencies
- dependency-name: "@types/node"
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: production-dependencies
- dependency-name: "@types/ws"
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: production-dependencies
- dependency-name: esbuild
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: production-dependencies
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-03-10 20:57:05 +00:00
Aaron Pham
4e4f5985a3
docs: cleanup showcase ( #1818 )
...
Signed-off-by: Aaron Pham <contact@aarnphm.xyz >
2025-03-10 11:46:49 -07:00
Jacky Zhao
ffcf9a8198
feat: support non-singleton darkmode
2025-03-10 11:44:47 -07:00
Jacky Zhao
994b906041
fix(graph): make graph non-singleton, proper cleanup, fix radial
2025-03-10 11:39:08 -07:00
Jacky Zhao
25efe7d6b8
fix(popovers): clear id to avoid anchor jumps within popover
2025-03-10 00:08:06 -07:00
Jacky Zhao
0eac10e179
fix(explorer): dont rely on data to get slug, compute it in trie
2025-03-09 23:36:10 -07:00
Jacky Zhao
94199fd392
feat: support non-singleton search
2025-03-09 15:33:15 -07:00
Jacky Zhao
d2bdc98749
feat: support non-singleton table of contents
2025-03-09 15:06:36 -07:00
Jacky Zhao
f35321c408
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 Zhao
75c186e9fa
fix(docker): instructions + bump deps + bind mount ( #1809 )
...
* fix docker
* test with docs folder
2025-03-06 10:01:25 -08:00
Jacky Zhao
60301eccfd
chore(deps): bump deps, silence internal punycode deprecation
2025-03-06 09:41:26 -08:00
Jacky Zhao
cbd5b63013
feat: font specification flexibility
2025-03-06 09:21:50 -08:00
Jacky Zhao
397230d085
docs: make role of getQuartzComponents more clear and also make it optional
2025-03-05 18:34:02 -08:00
Jacky Zhao
68f01725e8
feat: support emitters defining external resources, emit link from contentindex directly
2025-03-05 18:16:24 -08:00
Aaron Pham
31b554c96f
fix(graph): set container as renderGroup to avoid redrawing multiple times ( #1736 )
...
Signed-off-by: Aaron Pham <contact@aarnphm.xyz >
2025-03-05 17:33:16 -08:00
Jacky Zhao
d29dada305
chore(og-image): force twemoji for emoji util
2025-03-05 17:21:19 -08:00
Stephen Tse
8cb23142cc
Added emoji support to Satori when generating OG images ( #1593 )
2025-03-05 17:14:06 -08:00
Jacky Zhao
83188d4817
fix(og-image): overflow ellipses in title and description
2025-03-05 17:13:19 -08:00
Jacky Zhao
d66fe2b73f
fix: engine reqiurements
2025-03-05 16:49:43 -08:00
dependabot[bot]
51bf57f70d
chore(deps): bump the production-dependencies group with 6 updates ( #1804 )
...
* chore(deps): bump the production-dependencies group with 6 updates
Bumps the production-dependencies group with 6 updates:
| Package | From | To |
| --- | --- | --- |
| [hast-util-to-jsx-runtime](https://github.com/syntax-tree/hast-util-to-jsx-runtime ) | `2.3.4` | `2.3.5` |
| [pixi.js](https://github.com/pixijs/pixijs ) | `8.8.0` | `8.8.1` |
| [preact](https://github.com/preactjs/preact ) | `10.26.2` | `10.26.4` |
| [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) | `22.13.5` | `22.13.9` |
| [prettier](https://github.com/prettier/prettier ) | `3.5.2` | `3.5.3` |
| [typescript](https://github.com/microsoft/TypeScript ) | `5.7.3` | `5.8.2` |
Updates `hast-util-to-jsx-runtime` from 2.3.4 to 2.3.5
- [Release notes](https://github.com/syntax-tree/hast-util-to-jsx-runtime/releases )
- [Commits](https://github.com/syntax-tree/hast-util-to-jsx-runtime/compare/2.3.4...2.3.5 )
Updates `pixi.js` from 8.8.0 to 8.8.1
- [Release notes](https://github.com/pixijs/pixijs/releases )
- [Commits](https://github.com/pixijs/pixijs/compare/v8.8.0...v8.8.1 )
Updates `preact` from 10.26.2 to 10.26.4
- [Release notes](https://github.com/preactjs/preact/releases )
- [Commits](https://github.com/preactjs/preact/compare/10.26.2...10.26.4 )
Updates `@types/node` from 22.13.5 to 22.13.9
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
Updates `prettier` from 3.5.2 to 3.5.3
- [Release notes](https://github.com/prettier/prettier/releases )
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/prettier/compare/3.5.2...3.5.3 )
Updates `typescript` from 5.7.3 to 5.8.2
- [Release notes](https://github.com/microsoft/TypeScript/releases )
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml )
- [Commits](https://github.com/microsoft/TypeScript/compare/v5.7.3...v5.8.2 )
---
updated-dependencies:
- dependency-name: hast-util-to-jsx-runtime
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: production-dependencies
- dependency-name: pixi.js
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: production-dependencies
- dependency-name: preact
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: production-dependencies
- dependency-name: "@types/node"
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: production-dependencies
- dependency-name: prettier
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: production-dependencies
- dependency-name: typescript
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: production-dependencies
...
Signed-off-by: dependabot[bot] <support@github.com >
* type fixes
* fix more types
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com >
2025-03-05 16:45:02 -08:00
Jacky Zhao
595a157a58
fix(analytics): spa tracking for other providers
2025-03-05 16:27:08 -08:00
Emile Bangma
0f40c92ee5
feat(rss): configurable RSS feed URL ( #1806 )
...
* feat(rss): configurable RSS feed URL
* Update docs/features/RSS Feed.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update docs/features/RSS Feed.md
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com >
2025-03-05 15:54:11 -08:00
sou7
9ab11fe37a
docs(frontmatter): mention dealiasing related fields ( #1715 )
...
* Added to the documentation which values of frontmatter are referenced.
* The source code I was looking at seemed to be out of date and the wrong listings were corrected.
* The list of frontmatter was moved to Frontmatter.md and a link was added.
2025-02-27 16:37:01 -05:00
Anton Bulakh
bc5880ac33
fix(goatcounter): properly count SPA page hits ( #1718 )
...
On the surface it seems that only google and plausible scripts handle
the SPA correctly - but I don't know if maybe others handle
window.history API themselves somehow or something like that.
However, I am trying out goatcounter and in it's docs I see that it
does no special SPA handling, so this has to be fixed.
Just doing the dynamic script thing on every nav seems to do the trick.
The script is not "spa-preserve" so they wouldn't accumulate - and when
I tried the "spa-preserve" + call goatcounter api route it didn't quite
work, they actually did accumulate
2025-02-27 16:35:19 -05:00
Jon Erling Hustadnes
0b4eb4a4d9
feat(i18n): added nb-NO (Norwegian) ( #1795 )
2025-02-27 16:33:15 -05:00
dependabot[bot]
52842632e2
chore(deps): bump the production-dependencies group with 8 updates ( #1788 )
...
* chore(deps): bump the production-dependencies group with 8 updates
Bumps the production-dependencies group with 8 updates:
| Package | From | To |
| --- | --- | --- |
| [hast-util-to-html](https://github.com/syntax-tree/hast-util-to-html ) | `9.0.4` | `9.0.5` |
| [hast-util-to-jsx-runtime](https://github.com/syntax-tree/hast-util-to-jsx-runtime ) | `2.3.2` | `2.3.4` |
| [preact](https://github.com/preactjs/preact ) | `10.26.0` | `10.26.2` |
| [rehype-mathjax](https://github.com/remarkjs/remark-math ) | `7.0.0` | `7.1.0` |
| [ws](https://github.com/websockets/ws ) | `8.18.0` | `8.18.1` |
| [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) | `22.13.4` | `22.13.5` |
| [prettier](https://github.com/prettier/prettier ) | `3.5.1` | `3.5.2` |
| [tsx](https://github.com/privatenumber/tsx ) | `4.19.2` | `4.19.3` |
Updates `hast-util-to-html` from 9.0.4 to 9.0.5
- [Release notes](https://github.com/syntax-tree/hast-util-to-html/releases )
- [Commits](https://github.com/syntax-tree/hast-util-to-html/compare/9.0.4...9.0.5 )
Updates `hast-util-to-jsx-runtime` from 2.3.2 to 2.3.4
- [Release notes](https://github.com/syntax-tree/hast-util-to-jsx-runtime/releases )
- [Commits](https://github.com/syntax-tree/hast-util-to-jsx-runtime/compare/2.3.2...2.3.4 )
Updates `preact` from 10.26.0 to 10.26.2
- [Release notes](https://github.com/preactjs/preact/releases )
- [Commits](https://github.com/preactjs/preact/compare/10.26.0...10.26.2 )
Updates `rehype-mathjax` from 7.0.0 to 7.1.0
- [Release notes](https://github.com/remarkjs/remark-math/releases )
- [Commits](https://github.com/remarkjs/remark-math/compare/rehype-mathjax@7.0.0...rehype-mathjax@7.1.0 )
Updates `ws` from 8.18.0 to 8.18.1
- [Release notes](https://github.com/websockets/ws/releases )
- [Commits](https://github.com/websockets/ws/compare/8.18.0...8.18.1 )
Updates `@types/node` from 22.13.4 to 22.13.5
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
Updates `prettier` from 3.5.1 to 3.5.2
- [Release notes](https://github.com/prettier/prettier/releases )
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/prettier/compare/3.5.1...3.5.2 )
Updates `tsx` from 4.19.2 to 4.19.3
- [Release notes](https://github.com/privatenumber/tsx/releases )
- [Changelog](https://github.com/privatenumber/tsx/blob/master/release.config.cjs )
- [Commits](https://github.com/privatenumber/tsx/compare/v4.19.2...v4.19.3 )
---
updated-dependencies:
- dependency-name: hast-util-to-html
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: production-dependencies
- dependency-name: hast-util-to-jsx-runtime
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: production-dependencies
- dependency-name: preact
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: production-dependencies
- dependency-name: rehype-mathjax
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: production-dependencies
- dependency-name: ws
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: production-dependencies
- dependency-name: "@types/node"
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: production-dependencies
- dependency-name: prettier
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: production-dependencies
- dependency-name: tsx
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: production-dependencies
...
Signed-off-by: dependabot[bot] <support@github.com >
* chore: update type error
Signed-off-by: Aaron Pham <contact@aarnphm.xyz >
---------
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: Aaron Pham <contact@aarnphm.xyz >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Aaron Pham <contact@aarnphm.xyz >
2025-02-25 16:52:52 -05:00
dependabot[bot]
13594fae48
chore(deps): bump sigstore/cosign-installer in the ci-dependencies group ( #1789 )
...
Bumps the ci-dependencies group with 1 update: [sigstore/cosign-installer](https://github.com/sigstore/cosign-installer ).
Updates `sigstore/cosign-installer` from 3.8.0 to 3.8.1
- [Release notes](https://github.com/sigstore/cosign-installer/releases )
- [Commits](https://github.com/sigstore/cosign-installer/compare/v3.8.0...v3.8.1 )
---
updated-dependencies:
- dependency-name: sigstore/cosign-installer
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: ci-dependencies
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-25 16:35:10 -05:00
Jonathan Fung
dc949cfe2e
docs: add Citation plugin & feature pages ( #1772 )
...
* docs: add Citation plugin & feature pages
Discussed and extracted from #1557
* Update docs/features/Citations.md
* Apply suggestions from code review
---------
Co-authored-by: Aaron Pham <Aaronpham0103@gmail.com >
2025-02-25 16:34:37 -05:00