Fix main classes reference in docs
NONE
The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_3976). All of your documentation changes will be reflected on that endpoint.
2022-03-21T08:28:07Z
https://github.com/huggingface/datasets/pull/3976#issuecomment-1073620176
https://api.github.com/repos/huggingface/datasets/issues/3976
IC_kwDODunzps4__iTQ
https://api.github.com/repos/huggingface/datasets/issues/comments/1073620176/reactions
2022-03-21T08:28:07Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1073620176
https://avatars.githubusercontent.com/u/99929124?v=4
https://api.github.com/users/HuggingFaceDocBuilderDev/events{/privacy}
https://api.github.com/users/HuggingFaceDocBuilderDev/followers
https://api.github.com/users/HuggingFaceDocBuilderDev/following{/other_user}
https://api.github.com/users/HuggingFaceDocBuilderDev/gists{/gist_id}
https://github.com/HuggingFaceDocBuilderDev
HuggingFaceDocBuilderDev
U_kgDOBfTMJA
https://api.github.com/users/HuggingFaceDocBuilderDev/orgs
https://api.github.com/users/HuggingFaceDocBuilderDev/received_events
https://api.github.com/users/HuggingFaceDocBuilderDev/repos
https://api.github.com/users/HuggingFaceDocBuilderDev/starred{/owner}{/repo}
https://api.github.com/users/HuggingFaceDocBuilderDev/subscriptions
User
https://api.github.com/users/HuggingFaceDocBuilderDev
public
CONTRIBUTOR
Not sure why some section titles end with `[[datasets.xxx]]`, like this: https://moon-ci-docs.huggingface.co/docs/datasets/pr_3976/en/package_reference/main_classes#datasetdict[[datasets.datasetdict]]
2022-03-21T09:11:32Z
https://github.com/huggingface/datasets/pull/3976#issuecomment-1073661452
https://api.github.com/repos/huggingface/datasets/issues/3976
IC_kwDODunzps4__sYM
https://api.github.com/repos/huggingface/datasets/issues/comments/1073661452/reactions
2022-03-21T09:11:32Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1073661452
https://avatars.githubusercontent.com/u/24835382?v=4
https://api.github.com/users/qqaatw/events{/privacy}
https://api.github.com/users/qqaatw/followers
https://api.github.com/users/qqaatw/following{/other_user}
https://api.github.com/users/qqaatw/gists{/gist_id}
https://github.com/qqaatw
qqaatw
MDQ6VXNlcjI0ODM1Mzgy
https://api.github.com/users/qqaatw/orgs
https://api.github.com/users/qqaatw/received_events
https://api.github.com/users/qqaatw/repos
https://api.github.com/users/qqaatw/starred{/owner}{/repo}
https://api.github.com/users/qqaatw/subscriptions
User
https://api.github.com/users/qqaatw
public
MEMBER
Thanks ! I think this has been fixed already in https://github.com/huggingface/datasets/pull/3925 though

I'm closing this one then if it's fine for you
2022-04-12T14:19:38Z
https://github.com/huggingface/datasets/pull/3976#issuecomment-1096792954
https://api.github.com/repos/huggingface/datasets/issues/3976
IC_kwDODunzps5BX7t6
https://api.github.com/repos/huggingface/datasets/issues/comments/1096792954/reactions
2022-04-12T14:19:38Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1096792954
https://avatars.githubusercontent.com/u/42851186?v=4
https://api.github.com/users/lhoestq/events{/privacy}
https://api.github.com/users/lhoestq/followers
https://api.github.com/users/lhoestq/following{/other_user}
https://api.github.com/users/lhoestq/gists{/gist_id}
https://github.com/lhoestq
lhoestq
MDQ6VXNlcjQyODUxMTg2
https://api.github.com/users/lhoestq/orgs
https://api.github.com/users/lhoestq/received_events
https://api.github.com/users/lhoestq/repos
https://api.github.com/users/lhoestq/starred{/owner}{/repo}
https://api.github.com/users/lhoestq/subscriptions
User
https://api.github.com/users/lhoestq
public
Currently the section index (on the page's right side) of the [main classes reference](https://huggingface.co/docs/datasets/master/en/package_reference/main_classes) incorrectly displays `Tensor returned:`, this PR fixes this issue by wrapping code examples in this page with markdown code block.

There are other examples in datasets library having this issue.