Source links broken
MEMBER
Thanks for reporting @qqaatw.

@mishig25 @sgugger do you think this can be tweaked in the new doc framework?
- From: https://github.com/huggingface/datasets/blob/v2.0.0/
- To: https://github.com/huggingface/datasets/blob/2.0.0/
2022-03-16T12:32:29Z
https://github.com/huggingface/datasets/issues/3939#issuecomment-1069077744
https://api.github.com/repos/huggingface/datasets/issues/3939
IC_kwDODunzps4_uNTw
https://api.github.com/repos/huggingface/datasets/issues/comments/1069077744/reactions
2022-03-16T12:33:29Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1069077744
https://avatars.githubusercontent.com/u/8515462?v=4
https://api.github.com/users/albertvillanova/events{/privacy}
https://api.github.com/users/albertvillanova/followers
https://api.github.com/users/albertvillanova/following{/other_user}
https://api.github.com/users/albertvillanova/gists{/gist_id}
https://github.com/albertvillanova
albertvillanova
MDQ6VXNlcjg1MTU0NjI=
https://api.github.com/users/albertvillanova/orgs
https://api.github.com/users/albertvillanova/received_events
https://api.github.com/users/albertvillanova/repos
https://api.github.com/users/albertvillanova/starred{/owner}{/repo}
https://api.github.com/users/albertvillanova/subscriptions
User
https://api.github.com/users/albertvillanova
public
NONE
@qqaatw thanks a lot for notifying about this issue!

in comparison, transformers tags start with `v` like [this one](https://github.com/huggingface/transformers/blob/v4.17.0/src/transformers/models/bert/configuration_bert.py#L54).

Therefore, we have to do one of 2 options below:
1. Make necessary changes on doc-builder side
OR
2. Make [datasets tags](https://github.com/huggingface/datasets/tags) start with `v`, just like [transformers](https://github.com/huggingface/transformers/tags) (so that tag naming can be consistent amongst hf repos)

I'll let you decide @albertvillanova @lhoestq @sgugger 
2022-03-16T12:42:07Z
https://github.com/huggingface/datasets/issues/3939#issuecomment-1069085560
https://api.github.com/repos/huggingface/datasets/issues/3939
IC_kwDODunzps4_uPN4
https://api.github.com/repos/huggingface/datasets/issues/comments/1069085560/reactions
2022-03-16T12:44:45Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1069085560
https://avatars.githubusercontent.com/u/11827707?v=4
https://api.github.com/users/mishig25/events{/privacy}
https://api.github.com/users/mishig25/followers
https://api.github.com/users/mishig25/following{/other_user}
https://api.github.com/users/mishig25/gists{/gist_id}
https://github.com/mishig25
mishig25
MDQ6VXNlcjExODI3NzA3
https://api.github.com/users/mishig25/orgs
https://api.github.com/users/mishig25/received_events
https://api.github.com/users/mishig25/repos
https://api.github.com/users/mishig25/starred{/owner}{/repo}
https://api.github.com/users/mishig25/subscriptions
User
https://api.github.com/users/mishig25
public
CONTRIBUTOR
I think option 2 is the easiest and would provide harmony in the HF ecosystem but we can also add a doc config parameter to decide whether the default version has a v or not if `datasets` folks prefer their tags without a v :-)
2022-03-16T13:01:27Z
https://github.com/huggingface/datasets/issues/3939#issuecomment-1069102359
https://api.github.com/repos/huggingface/datasets/issues/3939
IC_kwDODunzps4_uTUX
https://api.github.com/repos/huggingface/datasets/issues/comments/1069102359/reactions
2022-03-16T13:01:27Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1069102359
https://avatars.githubusercontent.com/u/35901082?v=4
https://api.github.com/users/sgugger/events{/privacy}
https://api.github.com/users/sgugger/followers
https://api.github.com/users/sgugger/following{/other_user}
https://api.github.com/users/sgugger/gists{/gist_id}
https://github.com/sgugger
sgugger
MDQ6VXNlcjM1OTAxMDgy
https://api.github.com/users/sgugger/orgs
https://api.github.com/users/sgugger/received_events
https://api.github.com/users/sgugger/repos
https://api.github.com/users/sgugger/starred{/owner}{/repo}
https://api.github.com/users/sgugger/subscriptions
User
https://api.github.com/users/sgugger
public
MEMBER
For me it is OK to conform to the rest of libraries and tag/release with a preceding "v", rather than adding an extra argument to the doc builder just for `datasets`.

Let me know if it is also OK for you @lhoestq. 
2022-03-16T13:07:17Z
https://github.com/huggingface/datasets/issues/3939#issuecomment-1069107910
https://api.github.com/repos/huggingface/datasets/issues/3939
IC_kwDODunzps4_uUrG
https://api.github.com/repos/huggingface/datasets/issues/comments/1069107910/reactions
2022-03-16T13:07:17Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1069107910
https://avatars.githubusercontent.com/u/8515462?v=4
https://api.github.com/users/albertvillanova/events{/privacy}
https://api.github.com/users/albertvillanova/followers
https://api.github.com/users/albertvillanova/following{/other_user}
https://api.github.com/users/albertvillanova/gists{/gist_id}
https://github.com/albertvillanova
albertvillanova
MDQ6VXNlcjg1MTU0NjI=
https://api.github.com/users/albertvillanova/orgs
https://api.github.com/users/albertvillanova/received_events
https://api.github.com/users/albertvillanova/repos
https://api.github.com/users/albertvillanova/starred{/owner}{/repo}
https://api.github.com/users/albertvillanova/subscriptions
User
https://api.github.com/users/albertvillanova
public
NONE
https://github.com/huggingface/doc-build/commit/f41c1e8ff900724213af4c75d287d8b61ecf6141

hotfix so that `datasets` docs source button works correctly on hf.co/docs/datasets
2022-03-16T13:10:51Z
https://github.com/huggingface/datasets/issues/3939#issuecomment-1069111467
https://api.github.com/repos/huggingface/datasets/issues/3939
IC_kwDODunzps4_uVir
https://api.github.com/repos/huggingface/datasets/issues/comments/1069111467/reactions
2022-03-16T13:11:49Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1069111467
https://avatars.githubusercontent.com/u/11827707?v=4
https://api.github.com/users/mishig25/events{/privacy}
https://api.github.com/users/mishig25/followers
https://api.github.com/users/mishig25/following{/other_user}
https://api.github.com/users/mishig25/gists{/gist_id}
https://github.com/mishig25
mishig25
MDQ6VXNlcjExODI3NzA3
https://api.github.com/users/mishig25/orgs
https://api.github.com/users/mishig25/received_events
https://api.github.com/users/mishig25/repos
https://api.github.com/users/mishig25/starred{/owner}{/repo}
https://api.github.com/users/mishig25/subscriptions
User
https://api.github.com/users/mishig25
public
MEMBER
We could add a tag for each release without a 'v' but it could be confusing on github to see both tags `v2.0.0` and `2.0.0` IMO (not sure if many users check them though). Removing the tags without 'v' would break our versioning for github datasets: the library looks for dataset scripts at the URLs like `https://raw.githubusercontent.com/huggingface/datasets/{revision}/datasets/{path}/{name}` where `revision` is equal to `datasets.__version__` (which doesn't start with a 'v') for all released versions of `datasets`.

I think we could just have a parameter for the documentation - and having different URLs schemes for the source links that the users don't even see (they simply click on a button) is probably fine
2022-03-16T14:57:38Z
https://github.com/huggingface/datasets/issues/3939#issuecomment-1069219879
https://api.github.com/repos/huggingface/datasets/issues/3939
IC_kwDODunzps4_uwAn
https://api.github.com/repos/huggingface/datasets/issues/comments/1069219879/reactions
2022-03-16T15:00:34Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1069219879
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
CONTRIBUTOR
This is done in #3943 to go along with [doc-builder#146](https://github.com/huggingface/doc-builder/pull/146).

Note that this will only work for future versions, so once those two are merged, the actual v2.0.0 doc should be fixed. The easiest is to cherry-pick this commit on the v2.0.0 release branch (or on a new branch created from the 2.0.0 tag, with a name that triggers the doc building job, for instance v2.0.0-release)
2022-03-16T15:31:37Z
https://github.com/huggingface/datasets/issues/3939#issuecomment-1069261803
https://api.github.com/repos/huggingface/datasets/issues/3939
IC_kwDODunzps4_u6Pr
https://api.github.com/repos/huggingface/datasets/issues/comments/1069261803/reactions
2022-03-16T15:31:37Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1069261803
https://avatars.githubusercontent.com/u/35901082?v=4
https://api.github.com/users/sgugger/events{/privacy}
https://api.github.com/users/sgugger/followers
https://api.github.com/users/sgugger/following{/other_user}
https://api.github.com/users/sgugger/gists{/gist_id}
https://github.com/sgugger
sgugger
MDQ6VXNlcjM1OTAxMDgy
https://api.github.com/users/sgugger/orgs
https://api.github.com/users/sgugger/received_events
https://api.github.com/users/sgugger/repos
https://api.github.com/users/sgugger/starred{/owner}{/repo}
https://api.github.com/users/sgugger/subscriptions
User
https://api.github.com/users/sgugger
public
CONTRIBUTOR
Thanks for fixing @sgugger.
2022-03-19T04:41:24Z
https://github.com/huggingface/datasets/issues/3939#issuecomment-1072939288
https://api.github.com/repos/huggingface/datasets/issues/3939
IC_kwDODunzps4_88EY
https://api.github.com/repos/huggingface/datasets/issues/comments/1072939288/reactions
2022-03-19T04:41:24Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1072939288
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
## Describe the bug

The source links of v2.0.0 docs are broken:

For exmaple, clicking the source button of this [class](https://huggingface.co/docs/datasets/v2.0.0/en/package_reference/main_classes#datasets.ClassLabel) will direct users to `https://github.com/huggingface/datasets/blob/v2.0.0/src/datasets/features/features.py#L747`

here, the `v2.0.0` should be `2.0.0`.


## Steps to reproduce the bug
```python
# Sample code to reproduce the bug
```

## Expected results

Redirecting to this link: `https://github.com/huggingface/datasets/blob/2.0.0/src/datasets/features/features.py#L747`

## Actual results
Described above.

## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version:
- Platform:
- Python version:
- PyArrow version:
