For example if there are 1000 commits, 25 per page and you are on page 10,
it returns 0,7,8,9,10,11,12,13,20,29,39.
The algorithm is from VisualPaginator component for Nette Framework.
public getPrettySteps ( $currentPage ) : array | ||
$currentPage | ||
return | array |