docs: improve dev containers documentation for user start-up#15458
docs: improve dev containers documentation for user start-up#15458EdwardAngert merged 39 commits intomainfrom
Conversation
bpmct
left a comment
There was a problem hiding this comment.
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
| 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.
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.
This can also be folded into the upcoming Glossay @EdwardAngert is working on.
There was a problem hiding this comment.
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.
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/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.
nice-to-have: a diagram could be really neat here!
docs/admin/index.md
Outdated
| 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.
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.
May also mention to use the git-clone module from the registry.
There was a problem hiding this comment.
We have a general image sizing issue through out docs. Related #15495
matifali
left a comment
There was a problem hiding this comment.
Left a few comments to improve. But overall looks great.
Co-authored-by: Ben Potter <[email protected]>
docs/admin/index.md
Outdated
| 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.
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
| 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.
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 cachingpreview