Skip to content

Commit 88d7114

Browse files
committed
RDoc-3176 Fix review comments
1 parent d67f44e commit 88d7114

File tree

21 files changed

+66
-35
lines changed

21 files changed

+66
-35
lines changed

Documentation/5.3/Samples/csharp/Raven.Documentation.Samples/DocumentExtensions/Revisions/ClientAPI/Operations/ConfigureRevisions.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public ConfigRevisions()
3030
// ------------------------
3131
// * A revision will be created anytime a document is modified or deleted.
3232
// * Revisions of a deleted document can be accessed in the Revisions Bin view.
33-
// * At least 100 of the latest revisions will be kept.
33+
// * Only the latest 100 revisions will be kept. Older ones will be discarded.
3434
// * Older revisions will be removed if they exceed 7 days on next revision creation.
3535
// * A maximum of 15 revisions will be deleted each time a document is updated,
3636
// until the defined '# of revisions to keep' limit is reached.
@@ -174,7 +174,7 @@ public async Task ConfigRevisionsAsync()
174174
// ------------------------
175175
// * A revision will be created anytime a document is modified or deleted.
176176
// * Revisions of a deleted document can be accessed in the Revisions Bin view.
177-
// * At least 100 of the latest revisions will be kept.
177+
// * Only the latest 100 revisions will be kept. Older ones will be discarded.
178178
// * Older revisions will be removed if they exceed 7 days on next revision creation.
179179
// * A maximum of 15 revisions will be deleted each time a document is updated,
180180
// until the defined '# of revisions to keep' limit is reached.

Documentation/5.3/Samples/nodejs/document-extensions/revisions/client-api/operations/configureRevisions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ async function configureRevisions() {
1919
// ------------------------
2020
// * A revision will be created anytime a document is modified or deleted.
2121
// * Revisions of a deleted document can be accessed in the Revisions Bin view.
22-
// * At least 100 of the latest revisions will be kept.
22+
// * Only the latest 100 revisions will be kept. Older ones will be discarded.
2323
// * Older revisions will be removed if they exceed 7 days on next revision creation.
2424
// * A maximum of 15 revisions will be deleted each time a document is updated,
2525
// until the defined '# of revisions to keep' limit is reached.

Documentation/5.4/Raven.Documentation.Pages/document-extensions/revisions/overview.dotnet.markdown

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,12 @@ Let's play with revisions a little to get a taste of its advantages.
180180
5. **Delete the document**.
181181
Though you deleted the document, its **audit trail** is **not lost**: all its revisions are moved to the [Revisions Bin](../../studio/database/document-extensions/revisions#revisions-bin),
182182
including a new revision (called "Delete Revision"), created to indicate that the document was deleted.
183-
183+
184+
{INFO: }
185+
* A "Delete Revision" is created only if the deleted document has revisions.
186+
* If a document has no revisions, a "Delete Revision" will be created only if the Revisions Configuration is set and enabled for its collection.
187+
{INFO/}
188+
184189
To see the revisions created for the document before it was deleted:
185190
* Open the `Documents > Revisions Bin` section in the Studio
186191
* Click the deleted document's ID

Documentation/5.4/Raven.Documentation.Pages/document-extensions/revisions/overview.js.markdown

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,11 @@ Let's play with revisions a little to get a taste of its advantages.
181181
Though you deleted the document, its **audit trail** is **not lost**: all its revisions are moved to the [Revisions Bin](../../studio/database/document-extensions/revisions#revisions-bin),
182182
including a new revision (called "Delete Revision"), created to indicate that the document was deleted.
183183

184+
{INFO: }
185+
* A "Delete Revision" is created only if the deleted document has revisions.
186+
* If a document has no revisions, a "Delete Revision" will be created only if the Revisions Configuration is set and enabled for its collection.
187+
{INFO/}
188+
184189
To see the revisions created for the document before it was deleted:
185190
* Open the `Documents > Revisions Bin` section in the Studio
186191
* Click the deleted document's ID

Documentation/5.4/Raven.Documentation.Pages/document-extensions/revisions/overview.python.markdown

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,11 @@ Let's play with revisions a little to get a taste of its advantages.
181181
Though you deleted the document, its **audit trail** is **not lost**: all its revisions are moved to the [Revisions Bin](../../studio/database/document-extensions/revisions#revisions-bin),
182182
including a new revision (called "Delete Revision"), created to indicate that the document was deleted.
183183

184+
{INFO: }
185+
* A "Delete Revision" is created only if the deleted document has revisions.
186+
* If a document has no revisions, a "Delete Revision" will be created only if the Revisions Configuration is set and enabled for its collection.
187+
{INFO/}
188+
184189
To see the revisions created for the document before it was deleted:
185190
* Open the `Documents > Revisions Bin` section in the Studio
186191
* Click the deleted document's ID

Documentation/5.4/Samples/csharp/Raven.Documentation.Samples/DocumentExtensions/Revisions/ClientAPI/Operations/ConfigureRevisions.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public ConfigRevisions()
3030
// ------------------------
3131
// * A revision will be created anytime a document is modified or deleted.
3232
// * Revisions of a deleted document can be accessed in the Revisions Bin view.
33-
// * At least 100 of the latest revisions will be kept.
33+
// * Only the latest 100 revisions will be kept. Older ones will be discarded.
3434
// * Older revisions will be removed if they exceed 7 days on next revision creation.
3535
// * A maximum of 15 revisions will be deleted each time a document is updated,
3636
// until the defined '# of revisions to keep' limit is reached.
@@ -174,7 +174,7 @@ public async Task ConfigRevisionsAsync()
174174
// ------------------------
175175
// * A revision will be created anytime a document is modified or deleted.
176176
// * Revisions of a deleted document can be accessed in the Revisions Bin view.
177-
// * At least 100 of the latest revisions will be kept.
177+
// * Only the latest 100 revisions will be kept. Older ones will be discarded.
178178
// * Older revisions will be removed if they exceed 7 days on next revision creation.
179179
// * A maximum of 15 revisions will be deleted each time a document is updated,
180180
// until the defined '# of revisions to keep' limit is reached.

Documentation/5.4/Samples/nodejs/documentExtensions/revisions/client-api/operations/configureRevisions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ async function configureRevisions() {
1919
// ------------------------
2020
// * A revision will be created anytime a document is modified or deleted.
2121
// * Revisions of a deleted document can be accessed in the Revisions Bin view.
22-
// * At least 100 of the latest revisions will be kept.
22+
// * Only the latest 100 revisions will be kept. Older ones will be discarded.
2323
// * Older revisions will be removed if they exceed 7 days on next revision creation.
2424
// * A maximum of 15 revisions will be deleted each time a document is updated,
2525
// until the defined '# of revisions to keep' limit is reached.

Documentation/5.4/Samples/python/DocumentExtensions/Revisions/ClientAPI/Operations/ConfigureRevisions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def test_configure_revisions(self):
2929
# ------------------------
3030
# * A revision will be created anytime a document is modified or deleted.
3131
# * Revisions of a deleted document can be accessed in the Revisions Bin view.
32-
# * At least 100 of the latest revisions will be kept.
32+
# * Only the latest 100 revisions will be kept. Older ones will be discarded.
3333
# * Older revisions will be removed if they exceed 7 days on next revision creation.
3434
# * A maximum of 15 revisions will be deleted each time a document is updated,
3535
# until the defined '# of revisions to keep' limit is reached.

Documentation/6.0/Samples/csharp/Raven.Documentation.Samples/DocumentExtensions/Revisions/ClientAPI/Operations/ConfigureRevisions.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public ConfigRevisions()
3030
// ------------------------
3131
// * A revision will be created anytime a document is modified or deleted.
3232
// * Revisions of a deleted document can be accessed in the Revisions Bin view.
33-
// * At least 100 of the latest revisions will be kept.
33+
// * Only the latest 100 revisions will be kept. Older ones will be discarded.
3434
// * Older revisions will be removed if they exceed 7 days on next revision creation.
3535
// * A maximum of 15 revisions will be deleted each time a document is updated,
3636
// until the defined '# of revisions to keep' limit is reached.
@@ -174,7 +174,7 @@ public async Task ConfigRevisionsAsync()
174174
// ------------------------
175175
// * A revision will be created anytime a document is modified or deleted.
176176
// * Revisions of a deleted document can be accessed in the Revisions Bin view.
177-
// * At least 100 of the latest revisions will be kept.
177+
// * Only the latest 100 revisions will be kept. Older ones will be discarded.
178178
// * Older revisions will be removed if they exceed 7 days on next revision creation.
179179
// * A maximum of 15 revisions will be deleted each time a document is updated,
180180
// until the defined '# of revisions to keep' limit is reached.

Documentation/6.0/Samples/nodejs/document-extensions/revisions/client-api/operations/configureRevisions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ async function configureRevisions() {
1919
// ------------------------
2020
// * A revision will be created anytime a document is modified or deleted.
2121
// * Revisions of a deleted document can be accessed in the Revisions Bin view.
22-
// * At least 100 of the latest revisions will be kept.
22+
// * Only the latest 100 revisions will be kept. Older ones will be discarded.
2323
// * Older revisions will be removed if they exceed 7 days on next revision creation.
2424
// * A maximum of 15 revisions will be deleted each time a document is updated,
2525
// until the defined '# of revisions to keep' limit is reached.

0 commit comments

Comments
 (0)