Skip to content

API docs have general module documentation after submodules #2275

Closed

Description

@pekkaklarck

API docs at http://robot-framework.readthedocs.org/ currently have general module docs after submodule docs. See, for example, http://robot-framework.readthedocs.org/en/2.9.2/autodoc/robot.result.html. This is annoying especially because we have useful examples in these general docs. For example, the previous module has examples at http://robot-framework.readthedocs.org/en/2.9.2/autodoc/robot.result.html#module-robot.result.

I think general docs were before submodule docs earlier but the order changed at some point. It turned out that it is easy to configure this by passing --module-first to sphinx-apidoc tool we use. The reason I haven't noticed it earlier is that it isn't currently documented: sphinx-doc/sphinx#2190

Activity

  1. self-assigned this
    on Dec 21, 2015
  2. added this to the 3.0 milestone on Dec 21, 2015
  3. pekkaklarck commented on Dec 28, 2015

    @pekkaklarck
    MemberAuthor

    Related to this, should also have docs of the methods, attributes, etc. in source order, not in alphabetical order.

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

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions