neurodocker icon indicating copy to clipboard operation
neurodocker copied to clipboard

[DOC] missing commands in the online doc

Open Remi-Gau opened this issue 1 year ago • 5 comments

Not urgent but I think that some commands are not listed in the online doc.

For some reason I tend to go for the online doc rather that typing --help and I got confused by some things I knew should be there.

Comparing for example:

  • https://www.repronim.org/neurodocker/user_guide/cli.html#neurodocker-generate-docker

With: docker run -it --rm repronim/neurodocker:0.7.0 generate docker --help

Missing things like

  • --entrypoint
  • --cmd

Remi-Gau avatar Aug 01 '22 12:08 Remi-Gau

thanks @Remi-Gau for pointing this out - the docs definitely need work. good to know that you are using the online doc rather than --help -- i'm sure many others do the same. given that, docs need to become a priority.

thanks for the missing items. to anyone reading this, pull requests are welcome of course. i'll try to address this issue in the coming days if no pull requests come in.

kaczmarj avatar Aug 01 '22 13:08 kaczmarj

I have not had a close look but I think that most of your doc must be auto generated through some sphinx / rst directives.

Not sure where the discrepancy is coming from. If that part of the doc is generated manually, then that is probably what needs to change. :-)

Remi-Gau avatar Aug 01 '22 13:08 Remi-Gau

yes that part of the doc is manually done. the API docs are auto-generated.

kaczmarj avatar Aug 01 '22 13:08 kaczmarj

we may want to enable the click doc extension that we use in dandi cli: https://dandi.readthedocs.io/en/latest/

satra avatar Aug 01 '22 13:08 satra

@satra - thanks for the pointer. had not seen that before.

kaczmarj avatar Aug 01 '22 13:08 kaczmarj

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] avatar Aug 28 '23 01:08 github-actions[bot]