History and Diff
View page version history and compare versions.
riven history
View the version history of a documentation page. Each edit creates a new version with a timestamp and author.
bash
riven history <page-id>
riven history <page-id> --format json| Option | Description |
|---|---|
--format | Output format: table or json |
riven diff
Compare two versions of a page to see what changed.
bash
riven diff <page-id> <versionA> <versionB>Example
bash
# View history to find version numbers
riven history page-abc123
# Compare version 3 and version 5
riven diff page-abc123 3 5The diff output shows added, removed, and modified content between the two versions.