Skip to content

Separate Contributing documentation from API how-to #14582

Closed

Description

@jnothman

https://github.com/scikit-learn/scikit-learn/blob/doc/developers/contributing.rst currently mixes a lot of discussion of how to contribute and how to develop scikit-learn compatible stuff. I think we should separate out "Contributing" from "Developing estimators" (this should become a new file in doc/developers). I'm not sure which comes first, and there is some content that would be hard to place.

This is the current TOC with a suggestion for where each section belongs (up for discussion):

  • Ways to contribute - Contributing
  • Submitting a bug report or a feature request - Contributing
    • How to make a good bug report
  • Contributing code - Contributing
    • How to contribute
    • Pull request checklist
      • Continuous Integration (CI)
      • Stalled pull requests
    • Issues for New Contributors
  • Documentation - Contributing
    • Building the documentation
    • Guidelines for writing documentation
    • Generated documentation on CircleCI
  • Testing and improving test coverage - Developing
    • Writing matplotlib related tests
    • Workflow to improve test coverage
    • Issue Tracker Tags - Contributing - I don't think this belongs here in any case
  • Coding guidelines - Contributing for top matter
    • Input validation - Developing?
    • Random Numbers - Developing
    • Deprecation - Contributing
    • Change the default value of a parameter - Contributing
    • Python versions supported - Contributing
  • Code Review Guidelines - Contributing
  • APIs of scikit-learn objects - Developing
    • Different objects
    • Estimators
      • Instantiation
      • Fitting
      • Estimated Attributes
      • Optional Arguments
      • Pairwise Attributes
  • Rolling your own estimator - Developing
    • get_params and set_params
    • Parameters and init
    • Cloning
    • Pipeline compatibility
    • Estimator types
    • Specific models
    • Estimator Tags
      Reading the existing code base - Contributing

Activity

  1. added
    Easy
    on Aug 6, 2019
  2. adrinjalali commented on Aug 7, 2019

    @adrinjalali
    Member

    Looks good to me. At least it's a massive improvement.

  3. glemaitre commented on Aug 7, 2019

    @glemaitre
    Member

    Good to me as well.

  4. amueller commented on Aug 7, 2019

    @amueller
    Member

    I think this is a good first step, but I would like to move one level up and clean up https://scikit-learn.org/dev/developers/index.html

    But maybe separating these two is a good first step in cleaning that up.

  5. added
    good first issue
    on Aug 8, 2019
  6. arpanchowdhry commented on Aug 8, 2019

    @arpanchowdhry
    Contributor

    @jnothman I can help with this one. Do we just want to separate the content in to two different files or let me know if there are other improvements that you want to make as part of this change also?

  7. NicolasHug commented on Aug 8, 2019

    @NicolasHug
    Member

    @arpanchowdhry a first PR separating the content into 2 different files would be a great start ;)

  8. sameshl commented on Aug 9, 2019

    @sameshl
    Contributor

    @jnothman looks like the link you posted is broken? Here is the correct one https://github.com/scikit-learn/scikit-learn/blob/master/doc/developers/contributing.rst

    I would like to work on this. So as I understand you want the docs to be separated by how you mentioned above?

  9. arpanchowdhry commented on Aug 9, 2019

    @arpanchowdhry
    Contributor

    @NicolasHug Thanks. I am on it.

  10. arpanchowdhry commented on Aug 9, 2019

    @arpanchowdhry
    Contributor

    @sameshl I am already working on this. Maybe you can working on the further improvements after I am done.

  11. arpanchowdhry commented on Aug 9, 2019

    @arpanchowdhry
    Contributor

    @jnothman I used the initial summary as a guideline to separate the sections. This is just an initial version to get feedback. The new file with developing estimators is pretty bare bones and might need more verbiage.

  12. glsscnnn commented on Aug 9, 2019

    @glsscnnn

    a majority of the :ref:selective <selectiveness> links are dead, for some reason is that intentional or something that also needs to be fixed?

    I'm new so I don't really know what's going on and just trying to get involved so if there's anything I can do I want to know.

  13. amueller commented on Aug 9, 2019

    @amueller
    Member

    @logan-lieou sounds like it needs to be fixed. That was supposed to link to the FAQ

  14. profwacko commented on Oct 26, 2019

    @profwacko

    I'd like to help out with fixing some of those broken refs, will check out contributing.rst

    EDIT: or are they just broken if you try to follow the links on github? Am sort of new to this. It seems okay on the actual documentation.

  15. smritisingh26 commented on Feb 3, 2020

    @smritisingh26

    Hi! I’d love to help out if there’s still something to be done regarding this issue. Let me know how I can help!

  16. adrinjalali commented on Feb 3, 2020

    @adrinjalali
    Member

    @smritisingh26 I'm not sure how much of this is left, you could check the docs and see if there's something left and leave an update note here, and continue from there. Even if you find that it's done, that's also valuable contribution :)

  17. cmarmo commented on Jun 4, 2020

    @cmarmo
    Contributor

    @jnothman, my impression is that Contributing and Developing new estimators sections are now well separated. WDYT? Might we close this? Thanks!

  18. adrinjalali commented on Jun 4, 2020

    @adrinjalali
    Member

    I agree, I think the main objective of this issue has been achieved, and we can always further improve both of those documents.

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

    DocumentationEasygood first issuehelp wanted

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions