Skip to content

Commit b8a26ad

Browse files
committed
chore: switch in-product docs link to github
1 parent 5e6e626 commit b8a26ad

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

coder.service

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[Unit]
22
Description="Coder - Self-hosted developer workspaces on your infra"
3-
Documentation=https://coder.com/docs/
3+
Documentation=https://github.com/coder/coder/tree/main/docs
44
Requires=network-online.target
55
After=network-online.target
66
ConditionFileNotEmpty=/etc/coder.d/coder.env

site/src/components/UserDropdown/UserDropdown.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ describe("UserDropdown", () => {
3939
throw new Error("Anchor tag not found for the documentation menu item")
4040
}
4141

42-
expect(link.getAttribute("href")).toBe("https://coder.com/docs")
42+
expect(link.getAttribute("href")).toBe("https://github.com/coder/coder/tree/main/docs")
4343
})
4444

4545
it("has the correct link for the account item", async () => {

site/src/components/UserDropdown/UsersDropdown.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ export const UserDropdown: React.FC<UserDropdownProps> = ({ user, onSignOut }: U
7777
</MenuItem>
7878
</Link>
7979

80-
<a href="https://coder.com/docs" target="_blank" rel="noreferrer" className={styles.link}>
80+
<a href="https://github.com/coder/coder/tree/main/docs" target="_blank" rel="noreferrer" className={styles.link}>
8181
<MenuItem className={styles.menuItem} onClick={onPopoverClose}>
8282
<ListItemIcon className={styles.icon}>
8383
<DocsIcon />

0 commit comments

Comments
 (0)