Skip to content

Adding package documentation #5

@jat255

Description

@jat255

Hi Nico,

I was leading a student through getting started with this library, and as far as I could find, there's no documentation anywhere online about the generated code, so it took a little bit to work out the various methods available (i.e. that /experiments corresponds to ExperimentApi.read_experiments(), etc.). It's not so hard once you work through it once (especially if you know Python) but I think having the python docs posted somewhere would be helpful when getting started and for more inexperienced programmers.

I was playing with building the library locally and noticed that it generates docs along with the library together with a README.md and docs/ folder that could be either hosted somewhere, or even just in this repo (and then Github can render the markdown files).

I made an example on this branch where I committed the /docs folder and added the links to the top-level README: https://github.com/jat255/elabapi-python/tree/doc_test

If nothing else, I would suggest that this table (https://github.com/jat255/elabapi-python/tree/doc_test#documentation-for-api-endpoints) be put somewhere and linked from the API documentation page in the main ELabFTW documentation.

What do you think?

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