Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DOCS: List of functions and calling sequences #188

Open
2 tasks done
billetd opened this issue Aug 19, 2021 · 2 comments
Open
2 tasks done

DOCS: List of functions and calling sequences #188

billetd opened this issue Aug 19, 2021 · 2 comments
Assignees
Labels
Documentation Attention to documentation enhancement New feature or request

Comments

@billetd
Copy link
Contributor

billetd commented Aug 19, 2021

Documentation

Provide a list of pyDARN functions, short descriptions and calling sequences for users to quickly browse

Purpose

  • new

Category

  • code documentation

Details

Currently, documentation revolves along a set of tutorials for useful pyDARN functionalities such as reading/writing data, plotting, etc. These tutorials are handwritten and can be time consuming to make whenever a new feature or function is added to pyDARN.

I propose the creation of a new section of the documentation, readily available to users (e.g. on readthedocs), which will contain a simple list of pyDARN functions hyperlinked to their respective files. This list will contain the functions calling sequences and a short description of what it does.

By including this new list, pyDARN functionality which may not currently be obvious to a user (such as grabbing a single scan worth of data, getting beam/gate coordinates, etc) will be made readily visible, without having to write a tutorial for every single one. It will be simple to update whenever a new function is added to pyDARN (just add it to the list along with the functions pull request) and will act as a quick reference guide to what pyDARN can do.

An example of what I had in mind would be similar to the reference list found for the AACGMv2 python library.

For ease of creation/upkeep, using the Sphinx autodoc module will probably work best.

@billetd billetd self-assigned this Aug 19, 2021
@billetd billetd added Documentation Attention to documentation enhancement New feature or request labels Aug 19, 2021
@mts299
Copy link
Contributor

mts299 commented Aug 23, 2021

I was just thinking that I saw a pdoc is an option too that would work with our documenting style.

The type of documentation you want is called API documentation - which is why I was kind of confused about what you meant with matplotlib documentation. This was on my pyDARN many todos but got pushed to the bottom as things do haha.

Let me know if you want me to spend some time on it.,

@billetd
Copy link
Contributor Author

billetd commented Aug 23, 2021

@mts299 I think I've got this for now. I've managed to compile a working version of the docs using Sphinx, which works with the current markdown documentation without any re-writing needed. The autodoc module reads the docstrings which are already there, so will hopefully require minimal reconfiguring.

@mts299 mts299 linked a pull request Oct 5, 2021 that will close this issue
@mts299 mts299 removed a link to a pull request Oct 5, 2021
@carleyjmartin carleyjmartin changed the title List of functions and calling sequences DOCS: List of functions and calling sequences Jan 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation Attention to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants