Fix building docs instructions (#64508)
Summary:
Fixes #{64507}
Removed duplicate instruction and linted the file a bit (consistent spacing around codeblocks/headers, adding code types in codeblocks, remove `$` from bash code blocks when uncecessary).
Pull Request resolved: https://github.com/pytorch/pytorch/pull/64508
Reviewed By: raghuramank100
Differential Revision: D30791164
Pulled By: mrshenli
fbshipit-source-id: a00db32dcfdd1ecc194c836f31174c806062eb6d