-
Notifications
You must be signed in to change notification settings - Fork 190
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
Changes to 'Modules Documentation' section of documentation #2800
Comments
Totally agree with this. In general, I think is self-limiting to organizing the documentation around the module structure of the package. I believe we should aim ot structure the documentation around the problems that the library solves and the objects that we use them to do it. A limitation is that we might want to move things and re-organizat the pakcage and we don't want to have to re-organizat the documentation when this happens. I think this is the tendency of programmers to try to give explanations in terms of the implementation (because that is what we like!). |
@zm711 I will add a note hear about: we should create a glossary of terms. This is a) useful for new users b) acts as a style guide for our docstrings etc. I added here as general docs discussion but ofc happy for it to be standalone issue. |
One case to discuss for the glossary is |
This is a repost from a discussion originally on #2778 on possible reorganisation of the 'Modules Documentation' section. This issue is a partner to #2327 which tackles organising what is a 'How To' vs. 'Tutorial' and how it is presented with sphinx gallery.
I agree the distinction between In-Depth and other documentation sections might not be clear. I think 'Module Documentation' is okay as a name but it relies on the reader to know what a 'Module' is.
I've had a look through and quick attempt and catalogue these sections (below). The information in there is super-valuable but contains a mix of different categories of documentation. I think this is in part why it is difficult to name and navigate as a user. Because of this I think it matters less what it's called now and we could have a follow-up plan to reorganise it soon. But happy to keep as 'Module Documentation' or maybe 'API Explanation' (mirroring diataxis explanation section) or 'Detailed Reference'.
Based on the below I think this section contains a mix of various documentation categories:
General overview:
Core module
I would suggest the below subsections are API reference / developer docs that cover how the API is structured but aren’t linked to any specific functionality or goal. These could be kind of deep API reference / explanation (mostly for developers):
These subsections are like 'How To's and could be moved / merged into the 'How To section'
But Sparsity and maybe 'Saving, loading and compression' I'm not sure and are kind of general explanation and useful background.
Extractors module
The below sections could go into / be merged with an existing 'Loading data' tutorial or how-to:
There is an important list of all supported data formats.
Preprocessing module
Contains a valuable discussion on the chain concept and dtype. This is kind of API explanation.
Then there is an Available preprocessing which has a more detail on preprocessing functions and kind of mirrors the API docs. Maybe these could be merged into the docstring of an these functions similar to Numpy.
There is a "How to implement “IBL destriping” or “SpikeGLX CatGT” in SpikeInterface¶" that could go to 'How To'.
Sorters module
It is useful to have a single 'sorting' page that links together everything related to sorting. But I think this could broken up into 3/4 separate articles:
Postprocessing module
This could remain as a API explanation article, or be made a tutorial.
I would suggest the sections that add more detail to the functions are moved into docstring and API docs beefed up here (available extensions)
Quality Metrics module
This is a very nice detailed deep reference for all the quality metrics.
Comparison Module,
This standalone reference article or tutorial, or maybe the most tutorial-parts taken out for a tutorial and rest left as an information article.
Exporters Module
These could be How To:
Widgets module
This is kind of a standalone API reference on the available widget backends.
Curation module
A nice standalone overview of the curation options in SI.
Sorting Components module
A nice introduction and overview on the Sorting Components concept.
Motion/direct correction
Again nice standalone article on motion correction options.
The text was updated successfully, but these errors were encountered: