-
Notifications
You must be signed in to change notification settings - Fork 0
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: sphinx website with API reference #32
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The docs look beautiful! Incredible work 👏 :
General comments:
nitpick(non-blocking): just to keep the same convention as the docs/
folder and docs
commit label, we could use docs
instead of doc
for the makefile rule and the poetry dependency group. (would also need to be updated in the sphinx ci job)
comment(non-blocking) on some pages (e.g. cli), the navigation sidebar on the left is empty. If I understand correctly, this bar is supposed to contain sub-pages. I wondered if the CLI reference page should itself be a sub-page. We can discuss that in a future issue.
docs/tutorials/modo_arrays.md
Outdated
modo= MODO("data/ex") | ||
|
||
# Generate an Array element | ||
array_element = model.Array(id="rna1", name= "RNA raw counts", description = "RNA counts from multiple timepoints", has_sample="sample/sample1", data_format = "Zarr") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
comment: I get
ValueError: data_path must be supplied
adding data_path
with a meaningless value seems to fix it.
question: Should we open a separate issue for this? (i.e. make data_path optional)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
alternatively, we could also add a note saying that we plan to add helper functions (an array api) to simplify these operations
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, very good point. I missed that - what about doing all of this:
- In this PR: Fix the docs with the "path to where we will store the array"
- In this PR: Add the note to make clear this is going to be wrapped/simplified
- Open an issue to simplify this and make the data path optional (see Add array api function to simplify adding arrays to modo #38)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds good to me!
question: it would also be nice to have intersphinx mappings to modo_schema, but I'm not sure what works it implies on the modo_schema side. Do we need it to also use sphinx for this? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great! All the comments are addressed and the interspinx mappings work very nicely 👏
Co-authored-by: Cyril Matthey-Doret <[email protected]> Co-authored-by: Cyril Matthey-Doret <[email protected]> Co-authored-by: Cyril Matthey-Doret <[email protected]>
Co-authored-by: Cyril Matthey-Doret <[email protected]> Co-authored-by: Cyril Matthey-Doret <[email protected]> Co-authored-by: Cyril Matthey-Doret <[email protected]> Co-authored-by: Cyril Matthey-Doret <[email protected]>
Co-authored-by: Cyril Matthey-Doret <[email protected]>
Aim: Setup of a basic documentation
PR elements:
ed
Ops: description of htsget slicing and streaming is missing. To be added after Feat/cram stream #31 is merged