partition docs correctly by year