Well, a techie will have to provide the details, but this head-on video should give you the general idea of how the main gear rotates forward around an angled pivot point as it comes in:
Some helpful information I
can give is that the nosewheel doors are operated mechanically by linkages to the noseleg itself, without any jacks. The mainwheel doors are jack-operated.