Skip to content

Mention more prominently that section ordering matters #68

Closed

Description

@stefanv

Mention this in HOWTO_DOCUMENT.txt

Activity

  1. tacaswell commented on Nov 20, 2016

    @tacaswell
    Contributor

    Or explicitly drop the order as a requirement ;)

  2. rgommers commented on Nov 20, 2016

    @rgommers
    Member

    Having a standard ordering of sections in docstrings within and between projects is a good thing - consistency matters. Why would we want to drop this requirement?

  3. tacaswell commented on Nov 20, 2016

    @tacaswell
    Contributor

    It seems a bit weird to have a required order on optional sections.

    I agree that for some sections the order make lots of sense (should not put Parameters last and References first), but shuffling sections 7-11 does not seem like a huge issue to me. There is value in letting people pick an ordering there that makes the most sense on a function-by-function basis.

    To be clear, I will be perfectly happy with the outcome of 'It is an intentional choice to have a fixed order' from this discussion (so as to not waste even more of everyone's time).

  4. stefanv commented on Nov 22, 2016

    @stefanv
    ContributorAuthor
  5. stefanv commented on Nov 23, 2016

    @stefanv
    ContributorAuthor

    I'm changing my opinion on this one after other discussion.

    See #78

  6. larsoner commented on Oct 23, 2017

    @larsoner
    Collaborator

    My vote would be to optionally, on-by-default warn if optional sections are not ordered with the "standard" ordering.

  7. added a commit that references this issue on Oct 23, 2017
    8af08eb
  8. reopened this on Nov 1, 2017
  9. jnothman commented on Nov 1, 2017

    @jnothman
    Member

    In order to open this to another contributor, I'm making a new issue instead.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions