-
Notifications
You must be signed in to change notification settings - Fork 887
docs: improve workspaces and templates doc #9139
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
CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅ |
Hi @marcpaq can you please merge |
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.
Just a comment about the correct use of shell
and console
for markdown fenced codeblocks
Co-authored-by: Muhammad Atif Ali <matifali@live.com>
Co-authored-by: Muhammad Atif Ali <matifali@live.com>
Co-authored-by: Muhammad Atif Ali <matifali@live.com>
I have read the CLA Document and I hereby sign the CLA |
I have read the CLA Document and I hereby sign the CLA
For the "Advanced: Building your first template" doc:
|
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 have left a few comments, suggestions, and some questions. Overall it looks very good.
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.
Delete the section related to legacy parameters and the migration guide.
Hi @marcpaq, I have deleted the section on legacy parameters. Is there anything blocking you on this? Can you review it once and see if any observations must be addressed? |
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.
Ok I pushed a commit to fix the broken links in the product.
However, did these docs disappear? I think we might need to add a templates/troubleshooting.md back. I am happy to author this and do it first thing tomorrow.
coder/site/src/pages/TerminalPage/TerminalAlerts.tsx
Lines 8 to 88 in 2029543
return ( | |
<TerminalAlert | |
severity="warning" | |
dismissible | |
actions={<RefreshSessionButton />} | |
> | |
The workspace{" "} | |
<Link | |
title="startup script has exited with an error" | |
href={docs("/templates#startup-script-exited-with-an-error")} | |
target="_blank" | |
rel="noreferrer" | |
> | |
startup script has exited with an error | |
</Link> | |
, we recommend reloading this session and{" "} | |
<Link | |
title=" debugging the startup script" | |
href={docs("/templates#debugging-the-startup-script")} | |
target="_blank" | |
rel="noreferrer" | |
> | |
debugging the startup script | |
</Link>{" "} | |
because{" "} | |
<Link | |
title="your workspace may be incomplete." | |
href={docs("/templates#your-workspace-may-be-incomplete")} | |
target="_blank" | |
rel="noreferrer" | |
> | |
your workspace may be incomplete. | |
</Link>{" "} | |
</TerminalAlert> | |
); | |
}; | |
export const LoadingScriptsAlert = () => { | |
return ( | |
<TerminalAlert | |
dismissible | |
severity="info" | |
actions={<RefreshSessionButton />} | |
> | |
Startup scripts are still running. You can continue using this terminal, | |
but{" "} | |
<Link | |
title="your workspace may be incomplete." | |
href={docs("/templates#your-workspace-may-be-incomplete")} | |
target="_blank" | |
rel="noreferrer" | |
> | |
{" "} | |
your workspace may be incomplete. | |
</Link> | |
</TerminalAlert> | |
); | |
}; | |
export const LoadedScriptsAlert = () => { | |
return ( | |
<TerminalAlert | |
severity="success" | |
dismissible | |
actions={<RefreshSessionButton />} | |
> | |
Startup scripts have completed successfully. The workspace is ready but | |
this{" "} | |
<Link | |
title="session was started before the startup scripts finished" | |
href={docs("/templates#your-workspace-may-be-incomplete")} | |
target="_blank" | |
rel="noreferrer" | |
> | |
session was started before the startup script finished. | |
</Link>{" "} | |
To ensure your shell environment is up-to-date, we recommend reloading | |
this session. | |
</TerminalAlert> | |
); | |
}; |
Otherwise, I think we're good to merge
|
||
As well as Coder's starter templates, you can see a list of community | ||
templates by our users | ||
[here](https://github.com/coder/coder/blob/main/examples/templates/community-templates.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.
Should we also mention registry.coder.com/templates?
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.
cc: @bpmct
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.
fixed the links - we're all good to merge :)
Hi @bpmct , @kylecarbs
Here's a first draft for the workspaces doc page.
I have read the CLA Document and I hereby sign the CLA