-
Notifications
You must be signed in to change notification settings - Fork 6
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 on config setup #532
Comments
@stan-dot could you add more description/context to this issue please? |
This has been done in the dodal and ophyd-async documentation. I think we should close this issue, or at most just include links in the blueapi docs. |
what do you think @tpoliaw ? |
I still think there needs to be something prominent in the docs/ getting started that details what should go in the config file. It currently says use |
...true, reading your original comment, I think the title of this issue may just be wrong. @stan-dot could you rename it to be about the blueapi config, rather than ophyd-async devices? |
I think to add
to |
That would be a useful start. Do the docstrings end up on the docs site somewhere? It would be good if there was detail about what the various kinds were as well as where it is looking for modules etc. It would be good to add a link to the cli as well so that |
Yeah, it would be good to have a reference here: https://diamondlightsource.github.io/blueapi/main/reference.html @stan-dot A complete example would be good but it would be ideal if we didn't have to rely on a human to remember to keep it up-to-date. I.e. we should make an example in code, generate some yaml for the docs from it, and that way it should fail if we ever change the config model and cause a validation error. |
@callumforrester would a test with a hard-coded yml string asserting a correct read be ok? |
I would accept that, although I would personally prefer the other way around (generate the yml string from hard-coded python), but for no other reason than it seems neater. |
getting the raw yml string is more similar to parsing a raw |
I'm not sure if the acceptance criteria have been met since @tpoliaw asked for examples in the docs, not the tests |
That would be good as well, but I think having examples in the docs without having to read through the code would be helpful for setting up new environments.
Originally posted by @tpoliaw in #408 (comment)
The text was updated successfully, but these errors were encountered: