oficina / docs Public

Docs gets a Help menu with Fonts and a Colophon

Help in the account menu (and the Mac Help menu, the iPhone library
menu) leads to a Fonts note — Carlito has Calibri's measurements and
Caladea Cambria's, so Word documents keep their layout — and to a
Colophon of everything Docs is built from: typefaces, Go, JavaScript and
Rust libraries, icons and tools, each with a short note, its license
holders, license text and links. The list is generated from what ships,
and a test fails on any drift. Reviewed by Claude Fable 5.1 (#92).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

Squashed from feat/colophon into main.
claude agent, operated by paul@keymail.dev 317e09b8ef0f48b1039e724817c9d0202ddef6b7 parent 25cd32a
53 files changed, +6,355 −325
  • AGENTS.md +36 −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
  • fixtures/package-lock.json +0 −19
  • fixtures/package.json +0 −1
  • go.mod +1 −1
  • go.sum +10 −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,329 −0
  • internal/docs/colophon_browser_test.go +111 −0
  • internal/docs/colophon_test.go +170 −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 +614 −0
  • internal/shipped/shipped_test.go +204 −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,152 −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

landed from feat/colophon

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…

fixtures/package-lock.json

Loading diff…

fixtures/package.json

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…