-
Notifications
You must be signed in to change notification settings - Fork 191
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
Some thoughts on documentation structure #2763
Comments
Hey Joe, Lots of overlap with #2327, where there was a similar sentiment (including by past-you!) Really like the idea of a Get Started section! I think we just need to agree a new toctree structure. Reading the old issue and this one, my proposal would be:
[EDIT: To tidy it up, we could add overview to the getting started bit. Or combine the overview with the homepage] *Not sure about this name. 'References Manual' sounds like the API to me. Any other ideas, anyone?? Please someone disagree with me, or improve on my proposal! |
Thanks @chrishalcrow! I forgot about that thread 😆 I will actually close this issue once we have finished this discussion and then repost on the other thread. Really like the toctree structure and renaming of 'References Manual' (I didn't like that either). Maybe the current 'Veiwers' could go in a 'How to visualise data'? My only thought is not to merge How to / Examples as (my conceptualisation at least) is that 'How to' is shorter guides for specific outcomes whereas 'Examples' may be longer-form code examples (I am not sure however if this is reflected in the reality of the current how to / examples, will give the docs a proper read again ASAP!). But a 'How to' might be 'how to preprocess your data' whereas an 'Example' could be 'A complete pipeline for neuropixels data'. WDYT? |
Based on this and the other thread, I think the key themes are splitting between long-form 'tutorials' and short form 'how to'. Currently these are mixed up between the existing 'How to guides' and 'Module example gallery'. Here is how I would categorise all below. At the moment the organisation refelcts how they are generated (sphinx gallery vs not). How to guidesHow to “get started” : TUTORIAL (Getting started) Modules example galleryRecording Objects TUTORIAL There are 4x 'Widgets' tutorials. These could be one 'visualising data' tutorial? |
I'm fine bouncing around a bit. Whatever it takes to move this forward as long as things are linked. Maybe this could also be at least a small hackathon discussion. The only issue with modules gallery is that they are autogenerated by sphinx stuff and I'm too lazy to figure out how to move them (other than move all at once). But if someone else knows how to generate the gallery and then move individual files it would be good. Otherwise I like @chrishalcrow version of the toc tree. Maybe we have some slight movement around the edges, but as far as a move in the right direction I think it would be great. |
Yup, sounds good @JoeZiminski So, we'd separate into Tutorials, then How Tos? I've updated my proposed toctree above. Agree about the visualisation stuff. Happy for you to close the discussion |
I'm a fan of keeping it (we->sa). I know we plan to deprecate->remove the mockwaveform extractor, but I'm in favor of keeping it to always provide a layer of backward compatibility (so that someone from the past isn't locked into 101-103). But we will see. Also @chrishalcrow someone complimented the detail and helpfulness of that tutorial. Wanted to make sure you knew! |
Thanks both, I am happy with @chrishalcrow's toctree and WA->SA as a tutorial. It is possible to have multiple sphinx gallerys in a project. The benefits of the gallerys is that they are easier to test, and you don't need to worry about saving / maintaining programmatically created figures. The downside is you loose some cool features of sphinx (e.g. dropdowns, tabs etc). It would make sense for tutorials to be sphinx gallerys. For how-tos there is a bit of a mix, for example Handle time information would work better as a normal page. But Handle Probe Information would work better as a sphinx gallery. I am not sure if it is possible to include normal sphinx pages within a sphinx gallery. |
@chrishalcrow suggestion looks great to me. My two cents:
|
Ok, great! I'll start a pull request soon to reorganise but won't change any content/names yet. And will try to figure out how to elegantly do the sphinx stuff under the hood, without further complexifying things. |
Thanks a very nice way to conceptualise tutorials vs. howto @h-mayorquin, I think important as not obvious at first. This could even be mentioned in the docs overview. As a plan going forward I would propose something like:
|
A general question, is the 'latest' docs the ones built from main? I always thought that these were the latest release. To me it seems more intuitive to have 'latest' point to the documentation for the latest released version (100.6) and the docs built from main to be 'Development Branch' or something. I would guess the main-branch docs are going to be relevant for relatively few people and there is an underlying assumption the docs are targetted towards users rather than developers (i.e. 'latest' is latest from a user perspective not a developer). What do people think? |
Yeah, we should probably point to stable. |
I'm going to close this for now and we can continue these discussions on #2800! As far as point to stable that seems right to me too. |
Hey everyone, I have a couple of small suggestions on the docs gleaned from some feedback from researchers using spikeinterface in the SWC and myself having taken a break from working with SI.
At present can be a little hard to know where to look in the docs when just getting started with spikeinterface. What do people think of the below suggestions to help orient new users to the correct place?
I think this alone would be sufficient, but have some other suggestions:
The 'Modules documentation' is very useful, but quite confusing for new users. These are structured more like developer docs - it is very useful to have a 1:1 mapping between code structure and documentation for developers. But for users things should be categorised according to outcome (e.g. preprocessing data, running quality metrics), rather than based on code structure. Maybe an easy solution is to rename this to indicate it is more developer-docs than outcome-based (e.g. 'Reference manual' or something) and move it a few rungs down the left-hand panel. Then it will be clearer to users to check out the 'Get started' / 'How to' / 'Examples' for outcome-based guides.
The text was updated successfully, but these errors were encountered: