Skip to content

Sync docstring->Sphinx processing with the numpydoc project #4077

Closed

Description

@jnothman

Numpy has split off their docstring processing into a separate project at https://github.com/numpy/numpydoc. Scikit-learn has a local copy which has diverged, due to stylistic fixes as well as some new feature or data checking needs.

Our copy should be re-synced with the numpydoc project, such that we benefit from any cleaning there, so that our changes contribute back to that project, allowing other numpydoc-using projects to benefit from our enhancements.

Activity

  1. raghavrv commented on Jan 11, 2015

    @raghavrv
    Member

    Also related #4004

  2. added
    Moderate
    Easy
    and removed
    Moderate
    on Mar 30, 2015
  3. jnothman commented on Mar 30, 2015

    @jnothman
    MemberAuthor

    Sorry, I can't decide whether this falls under Easy or Moderate; whether under Documentation or Build/CI. Whatever it is, it would be better attempted.

  4. raghavrv commented on Mar 30, 2015

    @raghavrv
    Member

    TODO


    • Sync fixes from scikit-learn to numpydoc

    • Sync the entire file from numpydoc to scikit-learn
    • Make imports local to avoid making them dependency
    • comment out toctree
    • support old sphinx version (?)
  5. raghavrv commented on Apr 4, 2015

    @raghavrv
    Member

    @jnothman How do you feel about making numpydoc a git submodule like suggested here.

  6. rgommers commented on Apr 4, 2015

    @rgommers
    Contributor

    @ragv why would you want to spend effort on supporting older Sphinx versions than are supported now? Installing an up-to-date Sphinx is easy, and doesn't need to be done by regular users anyway.

  7. jnothman commented on Apr 5, 2015

    @jnothman
    MemberAuthor

    I haven't much experience with git submodules, but have no prejudices
    against it.

    On 5 April 2015 at 00:06, Ralf Gommers [email protected] wrote:

    @ragv https://github.com/ragv why would you want to spend effort on
    supporting older Sphinx versions than are supported now? Installing an
    up-to-date Sphinx is easy, and doesn't need to be done by regular users
    anyway.

    —
    Reply to this email directly or view it on GitHub
    #4077 (comment)
    .

  8. raghavrv commented on Apr 9, 2015

    @raghavrv
    Member

    @jnothman @rgommers Thanks for the comment!

    @rgommers I think old version need not be supported now since this fix will go into 0.17 :)

    @GaelVaroquaux @amueller @ogrisel How do you feel about making numpydoc a git submodule?

  9. amueller commented on Jun 1, 2015

    @amueller
    Member

    If you check out a repo with a submodule, you have to init the submodule and pull it separately, right? Or am I misremembering that?

  10. agramfort commented on Jun 1, 2015

    @agramfort
    Member
  11. raghavrv commented on Jun 1, 2015

    @raghavrv
    Member

    Can I proceed?

  12. amueller commented on Jun 1, 2015

    @amueller
    Member

    I don't want people to have to check out with a different git command, so no submodule, copying.

  13. amueller commented on Jun 1, 2015

    @amueller
    Member

    but +1 for syncing.

  14. jnothman commented on Jun 2, 2015

    @jnothman
    MemberAuthor

    although I assume it's not a priority during GSOC?

  15. added this to the 0.18 milestone on Jul 17, 2016
  16. amueller commented on Jul 17, 2016

    @amueller
    Member

    Ok maybe a silly question but why not add it as dependency?

  17. amueller commented on Jul 26, 2016

    @amueller
    Member

    @raghavrv are you working on this? Otherwise I will.

  18. raghavrv commented on Jul 26, 2016

    @raghavrv
    Member

    Please go ahead :)

  19. modified the milestones: 0.18, 0.19 on Sep 22, 2016
  20. removed
    Easy
    on Oct 27, 2016
  21. modified the milestone: 0.19 on Jun 12, 2017
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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions