Porting docs to the new format
(cherry picked from commit 6193035b6b61b206133327d53a640fed3653356c)