Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5387f1b

Browse files
committed
docs: add open in coder
This adds new documentation for the "Open in Coder" button that admins can use to get their developers up and running faster.
1 parent 7fe7ffe commit 5387f1b

File tree

2 files changed

+35
-0
lines changed

2 files changed

+35
-0
lines changed

docs/admin/open-in-coder.md

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Open in Coder Button
2+
3+
This is a Markdown button you can add to your project's `README.md` to get your developers up and running with Coder twice as fast.
4+
5+
A basic example looks like this:
6+
7+
TODO@jsjoeio - update link after getting image asset
8+
```text
9+
[![open in coder button](./assets/open-in-coder-btn.png)](https://dev.coder.com/?template=coder-ts)
10+
```
11+
12+
which renders like this:
13+
14+
TODO@jsjoeio - add button here after you get image asset.
15+
16+
You can customize this to take developers directly to your team's template. Read on to learn more.
17+
18+
### Customization
19+
20+
The underlying link for this button consists of the following pieces:
21+
- <deployment-url>: where your Coder deployment lives i.e. https://dev.coder.com
22+
- <query-params>: optional query parameters to customize the experience
23+
24+
These are the following query parameters we support:
25+
26+
### template
27+
28+
A template to redirect your developers to after they authenticate on your deployment.
29+
30+
Example: https://dev.coder.com/?template=coder-ts

docs/manifest.json

+5
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,11 @@
188188
"title": "Enterprise",
189189
"description": "Learn how to enable Enterprise features.",
190190
"path": "./admin/enterprise.md"
191+
},
192+
{
193+
"title": "Open in Coder Button",
194+
"description": "Learn how to create an 'Open in Coder' button.",
195+
"path": "./admin/open-in-coder.md"
191196
}
192197
]
193198
},

0 commit comments

Comments
 (0)