oficina / docs Public

Docs: Help → Fonts and Help → Colophon, and a Colophon in the Apple apps

Paul, 2026-10-26: under Help, a Colophon listing all the open source Docs
uses, attributed, linked out, a little paragraph about each, exhaustive.

Web. The account menu gets a Help group (Docs had none): Fonts, then
Colophon. The door links the Colophon. /help/colophon is estilo's
colophon page, /help/colophon/{id} each entry's full licence texts, and
/help/fonts explains, from fonts.json's twin, that Carlito has Calibri's
measurements, Caladea Cambria's and the Liberation three Arial's, Times
New Roman's and Courier New's. Docs has no Word export yet
(internal/docx), so the page says what export will do rather than
claiming it. All public, no-store, strict-origin, no script, no font.

Exhaustive by construction. internal/shipped collects what ships: go
list -deps ./cmd/docs for linux/arm64 through credits/catalog; the npm
packages esbuild reads for fixtures/bundles.mjs (now the one bundle
list, shared by build-bundles.mjs; bundles unchanged byte for byte);
cargo metadata for core/ and, for the apps, native/crdt and native/host;
the 16 families and estilo's retired Onest (still served); Lucide; the
Swift pins with licences vendored under native/notices and checked
against Package.resolved; wasmi's licence, which its crates do not
carry, vendored with sha256 and exact versions; the Go and Rust
standard libraries; and the pinned tools. go run ./cmd/docs-colophon
writes internal/docs/colophon.json and DocsKit's Colophon.json;
TestColophonsMatchWhatShips fails when either is stale, and estilo's
Build fails on anything the catalog does not cover.

Web: 88 entries (17 typefaces, 19 Go, 7 JavaScript, 32 Rust, 1 icon set,
12 tools). Mac: 66; iPhone: 65, without Sparkle.

Apple apps. DocsColophon replaces the font licences screen, from the same
data: Help → Colophon on the Mac (replacing the empty default Help
item), and the library's menu beside Sign out on iPhone, which has no
settings screen. Every entry's full licence text is one tap away.
ThirdPartyNotices.txt, which nothing read and which named only Yrs and
the fonts, is gone.

estilo is pinned to feat/colophon b674411 until that branch merges.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev 100932a792812864d4f8d42e80349069b1c5d992 parent 29b6dea
51 files changed, +5,986 −305
  • AGENTS.md +29 −0
  • cmd/docs-colophon/main.go +25 −0
  • fixtures/build-bundles.mjs +4 −25
  • fixtures/bundles.mjs +30 −0
  • fixtures/colophon-inputs.mjs +17 −0
  • go.mod +1 −1
  • go.sum +4 −0
  • internal/docs/app.go +5 −0
  • internal/docs/auth.go +5 −4
  • internal/docs/chrome.go +6 −0
  • internal/docs/colophon.go +174 −0
  • internal/docs/colophon.json +1,291 −0
  • internal/docs/colophon_browser_test.go +102 −0
  • internal/docs/colophon_test.go +166 −0
  • internal/docs/nowebfont_test.go +3 −0
  • internal/docs/render.go +58 −7
  • internal/docs/views/colophon.html +4 −0
  • internal/docs/views/colophon_licence.html +3 −0
  • internal/docs/views/help_fonts.html +20 −0
  • internal/shipped/shipped.go +569 −0
  • internal/shipped/shipped_test.go +96 −0
  • internal/shipped/write.go +63 −0
  • native/apple/Sources/DocsApp/DocsApp.swift +4 −3
  • native/apple/Sources/DocsApp/DocsWindowCommands.swift +4 −2
  • native/apple/Sources/DocsKit/DocsColophon.swift +204 −0
  • native/apple/Sources/DocsKit/DocsFontLicences.swift +0 −119
  • native/apple/Sources/DocsKit/DocsWorkspace.swift +7 −6
  • native/apple/Sources/DocsKit/Resources/Colophon.json +2,000 −0
  • native/apple/Sources/DocsKit/Resources/ThirdPartyNotices.txt +0 −64
  • native/apple/Sources/DocsKit/Resources/ar.lproj/Localizable.strings +21 −2
  • native/apple/Sources/DocsKit/Resources/bn.lproj/Localizable.strings +21 −2
  • native/apple/Sources/DocsKit/Resources/en.lproj/Localizable.strings +21 −2
  • native/apple/Sources/DocsKit/Resources/es.lproj/Localizable.strings +21 −2
  • native/apple/Sources/DocsKit/Resources/ga.lproj/Localizable.strings +21 −2
  • native/apple/Sources/DocsKit/Resources/hi.lproj/Localizable.strings +21 −2
  • native/apple/Sources/DocsKit/Resources/ja.lproj/Localizable.strings +21 −2
  • native/apple/Sources/DocsKit/Resources/pt.lproj/Localizable.strings +21 −2
  • native/apple/Sources/DocsKit/Resources/ru.lproj/Localizable.strings +21 −2
  • native/apple/Sources/DocsKit/Resources/vi.lproj/Localizable.strings +21 −2
  • native/apple/Sources/DocsKit/Resources/yue.lproj/Localizable.strings +21 −2
  • native/apple/Sources/DocsKit/Resources/zh-Hans.lproj/Localizable.strings +21 −2
  • native/apple/Tests/DocsKitTests/DocsColophonTests.swift +70 −0
  • native/apple/Tests/DocsKitTests/DocsFontLicencesTests.swift +0 −50
  • native/notices/crates/wasmi/LICENSE-APACHE +201 −0
  • native/notices/crates/wasmi/LICENSE-MIT +25 −0
  • native/notices/crates/wasmi/provenance.json +9 −0
  • native/notices/html-entities/NOTICE +14 −0
  • native/notices/native/LICENSE +374 −0
  • native/notices/native/provenance.json +6 −0
  • native/notices/sparkle/LICENSE +134 −0
  • native/notices/sparkle/provenance.json +7 −0

CI passed — run details

AGENTS.md

Loading diff…

cmd/docs-colophon/main.go

Loading diff…

fixtures/build-bundles.mjs

Loading diff…

fixtures/bundles.mjs

Loading diff…

fixtures/colophon-inputs.mjs

Loading diff…

go.mod

Loading diff…

go.sum

Loading diff…

internal/docs/app.go

Loading diff…

internal/docs/auth.go

Loading diff…

internal/docs/chrome.go

Loading diff…

internal/docs/colophon.go

Loading diff…

internal/docs/colophon.json

Loading diff…

internal/docs/colophon_browser_test.go

Loading diff…

internal/docs/colophon_test.go

Loading diff…

internal/docs/nowebfont_test.go

Loading diff…

internal/docs/render.go

Loading diff…

internal/docs/views/colophon.html

Loading diff…

internal/docs/views/colophon_licence.html

Loading diff…

internal/docs/views/help_fonts.html

Loading diff…

internal/shipped/shipped.go

Loading diff…

internal/shipped/shipped_test.go

Loading diff…

internal/shipped/write.go

Loading diff…

native/apple/Sources/DocsApp/DocsApp.swift

Loading diff…

native/apple/Sources/DocsApp/DocsWindowCommands.swift

Loading diff…

native/apple/Sources/DocsKit/DocsColophon.swift

Loading diff…

native/apple/Sources/DocsKit/DocsFontLicences.swift

Loading diff…

native/apple/Sources/DocsKit/DocsWorkspace.swift

Loading diff…

native/apple/Sources/DocsKit/Resources/Colophon.json

Loading diff…

native/apple/Sources/DocsKit/Resources/ThirdPartyNotices.txt

Loading diff…

native/apple/Sources/DocsKit/Resources/ar.lproj/Localizable.strings

Loading diff…

native/apple/Sources/DocsKit/Resources/bn.lproj/Localizable.strings

Loading diff…

native/apple/Sources/DocsKit/Resources/en.lproj/Localizable.strings

Loading diff…

native/apple/Sources/DocsKit/Resources/es.lproj/Localizable.strings

Loading diff…

native/apple/Sources/DocsKit/Resources/ga.lproj/Localizable.strings

Loading diff…

native/apple/Sources/DocsKit/Resources/hi.lproj/Localizable.strings

Loading diff…

native/apple/Sources/DocsKit/Resources/ja.lproj/Localizable.strings

Loading diff…

native/apple/Sources/DocsKit/Resources/pt.lproj/Localizable.strings

Loading diff…

native/apple/Sources/DocsKit/Resources/ru.lproj/Localizable.strings

Loading diff…

native/apple/Sources/DocsKit/Resources/vi.lproj/Localizable.strings

Loading diff…

native/apple/Sources/DocsKit/Resources/yue.lproj/Localizable.strings

Loading diff…

native/apple/Sources/DocsKit/Resources/zh-Hans.lproj/Localizable.strings

Loading diff…

native/apple/Tests/DocsKitTests/DocsColophonTests.swift

Loading diff…

native/apple/Tests/DocsKitTests/DocsFontLicencesTests.swift

Loading diff…

native/notices/crates/wasmi/LICENSE-APACHE

Loading diff…

native/notices/crates/wasmi/LICENSE-MIT

Loading diff…

native/notices/crates/wasmi/provenance.json

Loading diff…

native/notices/html-entities/NOTICE

Loading diff…

native/notices/native/LICENSE

Loading diff…

native/notices/native/provenance.json

Loading diff…

native/notices/sparkle/LICENSE

Loading diff…

native/notices/sparkle/provenance.json

Loading diff…