Skip to content

Commit 51ba281

Browse files
authored
Add a horizontal rule to delimit source documents when concatenating them to improve readability (#1188)
2 parents ec62ca2 + af2df9a commit 51ba281

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22

33
All changes that impact users of this module are documented in this file, in the [Common Changelog](https://common-changelog.org) format with some additional specifications defined in the CONTRIBUTING file. This codebase adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
44

5+
## Unreleased [minor]
6+
7+
> Development of this release was supported by the [French Ministry for Foreign Affairs](https://www.diplomatie.gouv.fr/fr/politique-etrangere-de-la-france/diplomatie-numerique/) through its ministerial [State Startups incubator](https://beta.gouv.fr/startups/open-terms-archive.html) under the aegis of the Ambassador for Digital Affairs.
8+
9+
### Added
10+
11+
- Improve readability of multi-document terms
12+
513
## 7.0.0 - 2025-07-21
614

715
_Full changeset and discussions: [#1175](https://github.com/OpenTermsArchive/engine/pull/1175)._

src/archivist/recorder/version.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import Record from './record.js';
55
export default class Version extends Record {
66
static REQUIRED_PARAMS = Object.freeze([ ...Record.REQUIRED_PARAMS, 'snapshotIds' ]);
77

8-
static SOURCE_DOCUMENTS_SEPARATOR = '\n\n';
8+
static SOURCE_DOCUMENTS_SEPARATOR = '\n\n- - -\n\n'; // Separator used to delimit source documents when concatenating them. The "- - -" produces a horizontal ruler in Markdown
99

1010
constructor(params) {
1111
super(params);

0 commit comments

Comments
 (0)