Skip to content

Commit 5c4417f

Browse files
authored
Update deprecated code + formatting (#32)
* update deprecated code * formatting fixes
1 parent 51e22f7 commit 5c4417f

File tree

5 files changed

+80
-39
lines changed

5 files changed

+80
-39
lines changed

content/docs/tutorials/elevenlabs.md

+19-12
Original file line numberDiff line numberDiff line change
@@ -2,28 +2,35 @@
22
title: ElevenLabs
33
---
44

5-
*This tutorial provides step-by-step instructions on how to rotate a Eleven Labs API key.*
5+
_This tutorial provides step-by-step instructions on how to rotate an Eleven Labs API key._
66

77
---
88

99
## Revoke old API key / Generate new API key
1010

11-
### Step 1 - Navigate to the ElevenLabs [Dashboard](https://elevenlabs.io/app/speech-synthesis)
11+
### Step 1 - Navigate to the ElevenLabs dashboard
12+
Dashboard found at [https://elevenlabs.io/app/speech-synthesis](https://elevenlabs.io/app/speech-synthesis)
1213

13-
### Step 2 - Click on your profile picture on bottom of the left panel.
14-
#### Step 2a - Click on 'Profile + API Key'. (this will open a new modal)
15-
![](/images/elevenlabs/1.png)
14+
### Step 2 - Click on your profile picture on the bottom of the left panel.
1615

17-
### 3.On the 'Profile Settings' modal you can find the old key under 'API Key'.
18-
#### 3a. Click 'Regenerate' button next to the old key. (this will open a new modal)
19-
![](/images/elevenlabs/2.png)
16+
#### Step 2a - Click on \'Profile + API Key\'. \(this will open a new modal\)
2017

21-
### 4. Click 'Confirm' on the 'Reset API Key' modal. (this generates a new key and revokes the old)
22-
![](/images/elevenlabs/3.png)
18+
![Profile + API Key Modal](/images/elevenlabs/1.png)
2319

24-
### 5. Copy the new key and store it in a password manager or secure vault.
20+
### Step 3 - On the \'Profile Settings\' modal you can find the old key under \'API Key\'.
21+
22+
#### Step 3a - Click \'Regenerate\' button next to the old key. \(this will open a new modal\)
23+
24+
![Regenerate API Key Modal](/images/elevenlabs/2.png)
25+
26+
### Step 4 - Click \'Confirm\' on the \'Reset API Key\' modal. \(this generates a new key and revokes the old\)
27+
28+
![Reset API Key Modal](/images/elevenlabs/3.png)
29+
30+
### Step 5 - Copy the new key and store it in a password manager or secure vault.
2531

2632
---
2733

2834
## Resources
29-
- [ElevenLabs's Docs](https://help.elevenlabs.io/hc/en-us/articles/14599447207697-How-to-authorize-yourself-using-your-xi-api-key)
35+
36+
- [ElevenLabs Documentation](https://help.elevenlabs.io/hc/en-us/articles/14599447207697-How-to-authorize-yourself-using-your-xi-api-key)

content/docs/tutorials/eraser.md

+19-10
Original file line numberDiff line numberDiff line change
@@ -2,44 +2,53 @@
22
title: Eraser
33
---
44

5-
*This tutorial provides step-by-step instructions on how to rotate a Eraser API key.*
5+
_This tutorial provides step-by-step instructions on how to rotate a Eraser API key._
66

77
---
88

99
## Generate a new Eraser API key
1010

11-
### Step 1 - Navigate to the [Dashboard](https://app.eraser.io/dashboard)
11+
### Step 1 - Navigate to the dashboard
12+
Dashboard found at <https://app.eraser.io/dashboard>
1213

1314
### Step 2 - Click on 'Settings' on the left panel.
15+
1416
![](/images/eraser/1.png)
1517

16-
### 3. Navigate to the 'API Tokens' menu under the 'Team' section.
18+
### Step 3 - Navigate to the 'API Tokens' menu under the 'Team' section.
19+
20+
#### Step 3a - Click 'Generate Token'
1721

18-
#### 3a. Click 'Generate Token'
1922
![](/images/eraser/4.png)
2023

21-
### 4. Copy the key and store it in a password manager or secure vault.
24+
### Step 4 - Copy the key and store it in a password manager or secure vault.
25+
2226
![](/images/Eraser/3.png)
2327

2428
---
2529

2630
## Revoking a Eraser API key
2731

28-
### Step 1 - Navigate to the [Dashboard](https://app.eraser.io/dashboard)
32+
### Step 1 - Navigate to the dashboard
33+
Dashboard found at <https://app.eraser.io/dashboard>
34+
2935

3036
### Step 2 - Click on 'Settings' on the left panel.
37+
3138
![](/images/eraser/1.png)
3239

33-
### 3. Navigate to the 'API Tokens' menu under the 'Team' section.
40+
### Step 3 - Navigate to the 'API Tokens' menu under the 'Team' section.
41+
42+
#### Step 3a - Click 'Delete'
3443

35-
#### 3a. Click 'Delete'
3644
![](/images/eraser/2.png)
3745

38-
#### 3b. Confirm under 'Delete API Token'
39-
![](/images/eraser/3.png)
46+
#### Step 3b - Confirm under 'Delete API Token'
4047

48+
![](/images/eraser/3.png)
4149

4250
---
4351

4452
## Resources
53+
4554
- [Eraser's Docs](https://docs.eraser.io/docs/eraser-api)

content/docs/tutorials/flexport.md

+31-10
Original file line numberDiff line numberDiff line change
@@ -8,52 +8,73 @@ _This tutorial provides step-by-step instructions on how to rotate a Flexport AP
88

99
## Generate a new Flexport API key
1010

11-
### Step 1 - Navigate to the [Dashboard](https://portal.flexport.com/)
11+
### Step 1 - Navigate to the dashboard
12+
Dashboard found at <https://portal.flexport.com>
1213

1314
### Step 2 - Click on 'Settings' at the bottom of the left panel, or from the profile dropdown on the top right.
15+
1416
![](/images/flexport/1.png)
1517
![](/images/flexport/2.png)
1618

17-
### 3. Navigate to the '[API Tokens](https://portal.flexport.com/settings/api-tokens)' tab.
19+
### 3. Navigate to the 'API Tokens' tab.
20+
API tokens found at <https://portal.flexport.com/settings/api-tokens>
21+
1822
#### 3a. Click 'Generate API Token'
23+
1924
![](/images/flexport/3.png)
2025

26+
### 4. Select _only_ the permissions that are necessary.
2127

22-
### 4. Select *only* the permissions that are necessary.
2328
#### 4a. Give it a descriptive name.
29+
2430
#### 4b. Click 'Generate'.
31+
2532
![](/images/flexport/4.png)
2633

2734
### 5. You can find your new key under the 'API Tokens' panel.
35+
2836
#### 5a. Copy the key and store it in a password manager or secure vault.
37+
2938
![](/images/flexport/5.png)
39+
3040
> Note: You will notice that the status for your new key is set to `ACTIVE`.
3141
3242
---
3343

3444
## Revoking a Flexport API key
3545

36-
### Step 1 - Navigate to the [Dashboard](https://portal.flexport.com/)
46+
### Step 1 - Navigate to the dashboard
47+
Dashboard found at <https://portal.flexport.com>
48+
3749

3850
### Step 2 - Click on 'Settings' at the bottom of the left panel, or from the profile dropdown on the top right.
51+
3952
![](/images/flexport/1.png)
4053
![](/images/flexport/2.png)
4154

42-
### 3. Navigate to the '[API Tokens](https://portal.flexport.com/settings/api-tokens)' tab.
43-
#### 3a. Find the token you would like to rotate.
44-
#### 3b. Click the 'Edit' button.
55+
### Step 3 - Navigate to the 'API Tokens' tab.
56+
API tokens found at <https://portal.flexport.com/settings/api-tokens>
57+
58+
#### Step 3a - Find the token you would like to rotate.
59+
60+
#### Step 3b - Click the 'Edit' button.
61+
4562
![](/images/flexport/6.png)
4663

47-
### 4. Click the 'Deactivate token' button.
64+
### Step 4 - Click the 'Deactivate token' button.
65+
4866
![](/images/flexport/7.png)
4967

50-
### 5. On the 'Deactivate token' modal, click the 'Yes, Deactivate Token' button.
68+
### Step 5 - On the 'Deactivate token' modal, click the 'Yes, Deactivate Token' button.
69+
5170
![](/images/flexport/8.png)
5271

53-
### 6. Go back to the 'API Tokens' tab, and ensure the token status is set to 'INACTIVE'.
72+
### Step 6 - Go back to the 'API Tokens' tab, and ensure the token status is set to 'INACTIVE'.
73+
5474
![](/images/flexport/9.png)
5575

5676
---
5777

5878
## Resources
79+
5980
- [Flexport's Docs](https://developers.flexport.com/tutorials/using-api-credentials)

content/docs/tutorials/tailscale.md

+10-6
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,17 @@ title: Tailscale
88

99
## Generate a new Tailscale Auth Key or API Access Token
1010

11-
### Step 1 - Navigate to the [Keys](https://login.tailscale.com/admin/settings/keys) page
11+
### Step 1 - Navigate to the Keys page
12+
Keys page found at <https://login.tailscale.com/admin/settings/keys>
13+
1214
As an administrator, click on "Settings" under the top navbar. Then click "Keys" under "Personal Settings" on the left-hand navbar.
1315

1416
![](/images/tailscale/1.png)
1517

1618
### Step 2 - Generate a new Auth Key or API Access Token
17-
#### 2a. Click "Generate..."
19+
#### Step 2a - Click "Generate..."
1820
Click on the "Generate..." button under the "Auth Keys" or "API Access Tokens" section.
19-
#### 2b. Configure the Key
21+
#### Step 2b - Configure the Key
2022
The API Access Token provides users with two settings: `description` and `expiration`. Fill out those values and then click `Generate access token`.
2123

2224
![](/images/tailscale/2.png)
@@ -25,7 +27,7 @@ The Auth Key provides users with four settings: `description`, `reusability`, `e
2527

2628
![](/images/tailscale/3.png)
2729

28-
#### 2c. Copy the Key
30+
#### Step 2c - Copy the Key
2931

3032
![](/images/tailscale/4.png)
3133

@@ -38,7 +40,9 @@ Replace the leaked Tailscale Auth Key or API Access Token with the new one in al
3840

3941
## Revoke the Leaked Tailscale Auth Keys and API Access Tokens
4042

41-
### Step 1 - Navigate to the [Keys](https://login.tailscale.com/admin/settings/keys) page
43+
### Step 1 - Navigate to the Keys page
44+
Keys page found at <https://login.tailscale.com/admin/settings/keys>Keys page found at <https://login.tailscale.com/admin/settings/keys>
45+
4246
As an administrator, click on "Settings" under the top navbar. Then click "Keys" under "Personal Settings" on the left-hand navbar.
4347

4448
![](/images/tailscale/1.png)
@@ -60,4 +64,4 @@ As an alternative to an access token that has full permission to the Tailscale A
6064
## Resources
6165
- [Tailscale Auth Keys Documentation](https://tailscale.com/kb/1085/auth-keys/)
6266
- [Tailscale API Keys Documentation](https://tailscale.com/kb/1101/api/)
63-
- [Learn about Key Management in the Tailscale Control Protocol](https://tailscale.com/blog/tailscale-key-management/)
67+
- [Learn about Key Management in the Tailscale Control Protocol](https://tailscale.com/blog/tailscale-key-management/)

themes/compose/layouts/partials/head.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
{{- partial "opengraph" . }}
2020

2121
{{- $options := (dict "targetPath" "css/styles.css" "outputStyle" "compressed" "enableSourceMap" "true") -}}
22-
{{- $styles := resources.Get "sass/main.sass" | resources.ExecuteAsTemplate "main.sass" . | resources.ToCSS $options | resources.Fingerprint "sha512" }}
22+
{{- $styles := resources.Get "sass/main.sass" | resources.ExecuteAsTemplate "main.sass" . | css.Sass $options | resources.Fingerprint "sha512" }}
2323
<link rel="stylesheet" href="{{ $styles.Permalink }}" integrity="{{ $styles.Data.Integrity }}">
2424

2525
{{- $sp := site.Params }}

0 commit comments

Comments
 (0)