From 3d2788df5316c1f355fd5b6eaffa30c1598f9d3f Mon Sep 17 00:00:00 2001 From: Johann Schopplich Date: Tue, 18 Nov 2025 18:44:40 +0100 Subject: [PATCH] docs: update favicon --- docs/.vitepress/theme/index.ts | 12 ++++++++++-- docs/index.md | 2 +- docs/public/favicon.ico | Bin 5430 -> 5430 bytes docs/public/favicon.svg | 2 +- docs/reference/spec.md | 4 ++-- 5 files changed, 14 insertions(+), 6 deletions(-) diff --git a/docs/.vitepress/theme/index.ts b/docs/.vitepress/theme/index.ts index d98f645..a5e08d3 100644 --- a/docs/.vitepress/theme/index.ts +++ b/docs/.vitepress/theme/index.ts @@ -1,9 +1,17 @@ +import type { Theme } from 'vitepress' import DefaultTheme from 'vitepress/theme' import './vars.css' import './overrides.css' import 'uno.css' -export default { - ...DefaultTheme, +const config: Theme = { + extends: DefaultTheme, + enhanceApp({ app }) { + app.config.globalProperties.$spec = { + version: '2.0', + } + }, } + +export default config diff --git a/docs/index.md b/docs/index.md index 360bdc7..31dde45 100644 --- a/docs/index.md +++ b/docs/index.md @@ -1,6 +1,6 @@ --- layout: home - +titleTemplate: Token-Oriented Object Notation hero: name: TOON text: Token-Oriented Object Notation diff --git a/docs/public/favicon.ico b/docs/public/favicon.ico index 59180c4bfdf6145cdbe5811ad2babe9394408afd..f02b984073bcf600ce1f47911759219dc9c82f80 100644 GIT binary patch delta 605 zcmY+BF;Bu!5XW0yg(hG?+C~QBLR|0@2rPa96LoSi7&jLgAuhN&Np5k&naz-NATh5F zt{Oi9EG`UIYDdcR{w*cir0Lze|NGzXu5Qh(-Jj+I)$)Fpl3%}nUbTHBGFY@Uek2#& z&u_Zjbo#@cB8LhkNFJVF=_%v%XVs1PE|v9$?vIXikZNh(}!KBJLACeRS8xyh#q5ku$<7FacJ?E^LHo}^ z7zTv~(_l_aQo%^+c=*1A>KYSq@dBLzjLq0mC9A~BK<%woxu2|3CaYu$*8Me{YFf_I UG||&E{FXCn8N~t;98S6T3m3pni2wiq delta 457 zcmdm{wM}b6F!SgC4wLV(7zpeKG8ljWM6bAVw_xHl0}c=k;!i%us4=;WQDw3eqw(Zk zM&8X)jNcg<|4$BLwgz!0-vUbQV-nzi>79IwTW0bnW)T6H0WgC>HgUpiYM6Xb#CmcU zizV~tzYUZ3u_mzW2QdO!Bp?i|A_^ciAmd;F#E0ST)tmQE{wJg{Igiak1jKVm&AWQjDzm0Rsa&3{So&5;-}6g`Wo|0HOg45YIsX diff --git a/docs/public/favicon.svg b/docs/public/favicon.svg index d3d13d1..29afc2c 100644 --- a/docs/public/favicon.svg +++ b/docs/public/favicon.svg @@ -1 +1 @@ - + diff --git a/docs/reference/spec.md b/docs/reference/spec.md index 2638eb2..55721cd 100644 --- a/docs/reference/spec.md +++ b/docs/reference/spec.md @@ -9,7 +9,7 @@ You don't need this page to *use* TOON. It's mainly for implementers and contrib ## Current Version -**Spec v2.0** (2025-11-10) is the current stable version. +**Spec v{{ $spec.version }}** (2025-11-10) is the current stable version. ## Guided Tour of the Spec @@ -127,7 +127,7 @@ Validators should verify: ## Versioning The spec uses semantic versioning (major.minor): -- **Major version** (e.g., v2.0): Breaking changes, incompatible with previous versions +- **Major version** (e.g., v{{ $spec.version }}): Breaking changes, incompatible with previous versions - **Minor version** (e.g., v1.5 → v1.6): Clarifications, additional requirements, or backward-compatible additions See [Appendix D: Document Changelog](https://github.com/toon-format/spec/blob/main/SPEC.md#appendix-d-document-changelog-informative) for detailed version history.