License per guide (#103) #115
No reviewers
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
MassiveDynamic/kataba!115
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feature/103-license"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #103.
What
Tests
license.test.ts, settings, version content, attribution, PDF, properties.e2e/license.spec.ts(default, working copy, discard, publish with link).tsc,eslint, 454 unit and 58 e2e tests pass.🤖 Generated with Claude Code
Every guide has a license, chosen in its properties: Public Domain (Public Domain Mark 1.0), CC0 1.0, the six Creative Commons 4.0 licenses, or all rights reserved. It shows, linked to its text, in the guide's header and in the attribution line of print and PDF. New guides start with the default license, a new setting ("all rights reserved" at first); changing it leaves existing guides alone, and the migration gave them all rights reserved. The license is versioned content (ADR-0020): readers see the published one, and discard and restore bring a version's license back. A version published before licenses existed reads as all rights reserved, so it shows no unpublished changes. The properties form now remounts when the guide's version changes, so after a discard or restore it shows the working copy's properties, not the discarded ones. GLOSSARY gains License. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>