Skip to content

Fix docstring formatting & set private members #70

Closed

Description

@uniqueg

Some docstrings are rendered in a slightly warped way in the API docs, mostly in cases where highlighting features are used (italics, bold, bullet points, refs to arguments/classes/methods/functions). Check the Sphinx docs and Google style reference to fix these.

Moreover, some helper functions/methods are shown that are better not exposed in the public API to keep it as easily accessible and focused as possible.

Activity

  1. added
    priority: medium
    type: docs
    workload: hours
    on Jul 3, 2020
  2. added this to the v1.0.0 milestone on Jul 3, 2020
  3. self-assigned this
    on Nov 23, 2020
  4. kushagra189 commented on Jan 3, 2021

    @kushagra189
    Contributor

    @uniqueg should I go ahead with this recommended styling for docstrings?

  5. kushagra189 commented on Jan 10, 2021

    @kushagra189
    Contributor

    @uniqueg can you elaborate what all methods are private? Also, the idea is to hide them and not document within the docs?

  6. uniqueg commented on Feb 24, 2021

    @uniqueg
    MemberAuthor

    Never really saw that comment @kushagra189: I think we would want to "hide" everything that the users don't really need. So what do they need to know about:

    • foca.foca.foca() function: to understand the main entry point into FOCA
    • foca.models.config module: to understand how to write the config file
    • foca.utilities subpackage: to see what useful functions they can import and reuse

    I think everything else can be skipped from the API docs. As for how to skip them: I would probably not completely hide them, but change the table of contents in API docs so that only these are visible from the start. It would probably still be good to leave everything else in, perhaps under a link "complete API documentation" or so, as it is still useful for FOCA developers (and sometimes app developers, too, if there are some bugs/issues).

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

Metadata

Metadata

Assignees

Labels

priority: mediumtype: docsworkload: hours

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions