It's possible that that is not the case, or that the musketeers only have a very small part in it, but it was originally part of The Vicomte de Bragelonne, a book of 1800 pages that spends both time with the musketeers and the court.
Splitting the story up wasn't a good idea because it takes the continuance in the story away...