Skip to content

DOC: use :doi: and :arxiv: directives for references #21088

Closed

Description

@lorentzenchr

Describe the issue linked to the documentation

Use :doi: and :arxiv: directives for references in the documentation as is done in scipy in scipy/scipy#12858.

How to contribute Pull Requests to fix this

  • Make sure your local clone of scikit-learn of scikit-learn is up to date:
git fetch upstream main
git checkout main
git status  # check that you have no unwanted local changes pending
git merge upstream/main  # this should fast-forward
  • Looks for modules that have a reference to https://arxiv.org/... for instance using the following command:
git grep "https://arxiv.org/"

or

git grep "https://doi.org/"

or

git grep "http://citeseerx.ist.psu.edu/viewdoc/summary?doi="
  • Choose a specific source file to work on updating (check in the comments below that nobody is already working on it).
  • Do the changes (as explained below) and open a PR.
  • Choose a descriptive title for PR (e.g. "Update arxiv / doi links in module sklearn.something")
  • Link to this issue in the PR description by writing Towards #21088.

To see what can be done to update the arxiv or doi links, have a look at the diff of an already merge PR such as:

https://github.com/scikit-learn/scikit-learn/pull/21099/files

Activity

  1. glemaitre commented on Sep 20, 2021

    @glemaitre
    Member

    Yep we could do that as well. We could tag this as a sprint issue as well.

  2. added
    good first issue
    on Sep 20, 2021
  3. puhuk commented on Sep 21, 2021

    @puhuk
    Contributor

    I send the PR with this issue ( #21099 ). Could you review.

  4. acse-srm3018 commented on Sep 27, 2021

    @acse-srm3018

    Can I take this issue as my first contribution to an open-source project?

  5. glemaitre commented on Sep 27, 2021

    @glemaitre
    Member
  6. xyfer17 commented on Oct 10, 2021

    @xyfer17

    Is someone is woking on this issue, if no then, can I take this issue for contribution.

  7. puhuk commented on Oct 11, 2021

    @puhuk
    Contributor

    Hi, I'm working on it with PR #21099

  8. cmarmo commented on Oct 20, 2021

    @cmarmo
    Contributor

    @reshamas this is a good issue for the sprint.
    As @jjerphan said in #21099 comment there are still some links that will benefit of the new reference style.
    I don't think that the files in the benchmarks directory are worth to change.

  9. reshamas commented on Oct 20, 2021

    @reshamas
    Member

    @reshamas this is a good issue for the sprint. As @jjerphan said in #21099 comment there are still some links that will benefit of the new reference style. I don't think that the files in the benchmarks directory are worth to change.

    Thanks @cmarmo. Will add to list.

  10. SultanOrazbayev commented on Oct 23, 2021

    @SultanOrazbayev
    Contributor

    Together with @aufarkari we would like to work on this during the sprint.

  11. ogrisel commented on Oct 23, 2021

    @ogrisel
    Member

    @SultanOrazbayev @aufarkari I have edited the description to give more detailed instructions. Let me know if you need more help.

  12. ogrisel commented on Oct 23, 2021

    @ogrisel
    Member

    @aufarkari @SultanOrazbayev for the DOI fixes, please do individual pull requests for each file so that we can review and merge them independently of one another.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    DocumentationSprintgood first issue

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions