-
Notifications
You must be signed in to change notification settings - Fork 13
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
Patch to custom env docs #197
Conversation
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
Any reason to not just link to the github location? |
FYI I have merged getting-started into develop. Can we re-point this PR to develop? |
Sure will move this. @wildintellect which branch would I point to ? what if users are looking at the version of another branch? |
@emileten can you provide some urls, so we can examine if we should always point to |
@wildintellect the files aren't in the rendered site. That could be a todo for later, would be more user friendly. The file sources is here https://github.com/MAAP-Project/maap-documentation/tree/develop/docs/source/system_reference_guide/example_conda_configuration_files. I don't think these will be change often, so it should be ok to just always point to that link? |
@emileten this raises a question, should those file be buried deep in the website source, or should they be brought up much higher in the directory structure for easier access when cloning the repo? Example https://github.com/aws/studio-lab-examples/tree/main/custom-environments puts a folder at the repo top level. This way even if we re-organize the pages later these files won't move. Also wondering if we should give them more descriptive env names? and if we should make some real useful examples rather than just examples for examples sake? |
Suggestion @wildintellect : I add a notebook that looks like this and I link that in the custom-env explanation notebook. That way the yaml files referenced are always the right ones.
Agreed, I will address this in this PR
Agreed but that takes more time so we should do this in a later issue/PR |
Sure we can do better examples later. A few comments:
|
Adding these to an 'update examples' ticket along with 'real useful examples rather than just examples for examples sake'
I don't think it does since I remember testing all of these configs. To be clear, it's a config used to show how to update an environment. Should rename it to |
I think listing the contents like this is fine. It seems most likely that it'll be used as a template, anyway, and someone would copy/paste from a file or from the notebook and then edit it. Potentially we could suggest that the workspaces have these environment examples built-in, in a standardized location. That way everyone would start to put their env files in the same location and have some examples to start with. |
@rtapella I quickly tried after your suggestion https://github.com/mamba-org/gator#Navigator and it both works relatively smoothly and is nice. It also looks acceptably active. So if we follow your suggestion
We could replace the pointer to this printer notebook with a pointer to the environments UI. My question is : if we want to do that, should we hold on merging this ? Or should we merge this, and then figure out the UI addition ? This is ready by the way. Below a screen of what the index looks like. |
@rtapella yes having the whole docs installed by default has been mentioned several times (future scope) |
It's not very clear where to find the example environment configuration files when reading the custom environment docs.
Just added an additional pointer that explicitly says the config files are in the repo containing the source code of the docs.
There is probably a better way but this is just a quick improvement.