The versioning features of SharePoint allow us to create published and draft versions of items in lists and libraries. We can configure how many published and draft versions to keep as well as who can see items when they are in a draft state. In this recipe, we will be configuring the versioning settings of the Pages library.
Follow these steps to configure the versioning settings of the Pages library:
Navigate to the site in your preferred web browser.
Select Site contents from the Settings menu.
Select the Pages library.
Select Library Settings from the Library tab in the ribbon.
Select Versioning Settings from the General Settings section.
Set the Document Version History setting to Create major and minor (draft) versions as shown in the following screenshot:
Select both checkboxes for limiting the number of versions and set the limit to 25 for each.
Set the Draft Item Security setting to Only users who can edit items as shown...