-
Notifications
You must be signed in to change notification settings - Fork 862
docs: improve dev containers documentation for user start-up #15458
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
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.
Hey, good start. Left a ton of comments, but please don't get discouraged. I'd also spend some time comparing it to other formatting and styles in our docs.
Of course, our docs style should incrementally change and improve over time, but I think by comparing this to other sections, we'll find good opportunities to improve this PR as well.
docs/admin/index.md
Outdated
@@ -15,4 +15,56 @@ and [API](../reference/api/index.md) docs. | |||
For any information not strictly contained in these sections, check out our | |||
[Tutorials](../tutorials/index.md) and [FAQs](../tutorials/faqs.md). | |||
|
|||
## What is an image, template, devcontainer, or workspace |
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.
This may be best presented as a table as this renders quite awkward.
Also I am not sure if this is best on the frontpage of administration. We have no other content here at all. If we do think this is the most important admin concept, we might want to add a sentence explaining why its so important and what else people can expect on the Administration page

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.
This can also be folded into the upcoming Glossay @EdwardAngert is working on.
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.
I can try a table on and see how it feels - I'd tried an html definition list and it looked okay, but everything within the html would also have to be html (like links), and that didn't seem worth it. my concern with tables is how long text shows in cells, but it's worth a shot
the hope is to have this be a glossary component at some point so that we can define terms in place and have them combined into reference pages
here's an example in the MyST docs
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.
it's also interesting that you're still getting served a build of an older commit :-/ not sure why that is
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.
docs/admin/templates/managing-templates/devcontainers/devcontainer-security-caching.md
Show resolved
Hide resolved
docs/admin/templates/managing-templates/devcontainers/add-devcontainer.md
Outdated
Show resolved
Hide resolved
## Layer and image caching | ||
|
||
To improve build times, dev containers can be cached. There are two main forms | ||
of caching: |
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.
nice-to-have: a diagram could be really neat here!
docs/admin/index.md
Outdated
@@ -15,4 +15,56 @@ and [API](../reference/api/index.md) docs. | |||
For any information not strictly contained in these sections, check out our | |||
[Tutorials](../tutorials/index.md) and [FAQs](../tutorials/faqs.md). | |||
|
|||
## What is an image, template, devcontainer, or workspace |
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.
This can also be folded into the upcoming Glossay @EdwardAngert is working on.
docs/admin/templates/managing-templates/devcontainers/add-devcontainer.md
Outdated
Show resolved
Hide resolved
docs/admin/templates/managing-templates/devcontainers/add-devcontainer.md
Outdated
Show resolved
Hide resolved
Your template can prompt the user for a repo URL with | ||
[parameters](../../extending-templates/parameters.md): |
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.
May also mention to use the git-clone
module from the registry.
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.
We have a general image sizing issue through out docs. Related #15495
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.
Left a few comments to improve. But overall looks great.
Co-authored-by: Ben Potter <[email protected]>
docs/admin/index.md
Outdated
@@ -15,4 +15,56 @@ and [API](../reference/api/index.md) docs. | |||
For any information not strictly contained in these sections, check out our | |||
[Tutorials](../tutorials/index.md) and [FAQs](../tutorials/faqs.md). | |||
|
|||
## What is an image, template, devcontainer, or workspace |
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.
I can try a table on and see how it feels - I'd tried an html definition list and it looked okay, but everything within the html would also have to be html (like links), and that didn't seem worth it. my concern with tables is how long text shows in cells, but it's worth a shot
the hope is to have this be a glossary component at some point so that we can define terms in place and have them combined into reference pages
here's an example in the MyST docs
docs/admin/index.md
Outdated
@@ -15,4 +15,56 @@ and [API](../reference/api/index.md) docs. | |||
For any information not strictly contained in these sections, check out our | |||
[Tutorials](../tutorials/index.md) and [FAQs](../tutorials/faqs.md). | |||
|
|||
## What is an image, template, devcontainer, or workspace |
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.
it's also interesting that you're still getting served a build of an older commit :-/ not sure why that is
docs/admin/templates/managing-templates/devcontainers/add-devcontainer.md
Outdated
Show resolved
Hide resolved
docs/admin/templates/managing-templates/devcontainers/add-devcontainer.md
Outdated
Show resolved
Hide resolved
docs/admin/templates/managing-templates/devcontainers/add-devcontainer.md
Outdated
Show resolved
Hide resolved
Co-authored-by: Muhammad Atif Ali <[email protected]>
@matifali looks like the CI is failing due to the broken link introduced in #15610 . I saw your comment about it in that PR - should we hold off on this PR until it's fixed? |
@EdwardAngert docs checks is not a required check and we can merge without it. Update: the said PR is now merged and the link should work. |
(auto-)merging as a first iteration |
## Add a devcontainer template to Coder
## Layer and image caching
preview