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

Skip to content

Commit 3b396d3

Browse files
committed
Fix markdown lint issues in docs and Makefile
- Quote glob patterns in Makefile to handle whitespace. - Add alt text to images for better accessibility. - Specify language for code blocks for syntax highlighting.
1 parent 7d5b411 commit 3b396d3

File tree

6 files changed

+15
-12
lines changed

6 files changed

+15
-12
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ lint/helm:
499499
lint/markdown:
500500
cd site
501501
../scripts/pnpm_install.sh
502-
pnpm exec markdownlint-cli2 --fix ../docs/**/*.md
502+
pnpm exec markdownlint-cli2 --fix "../docs/**/*.md"
503503
.PHONY: lint/markdown
504504

505505
# All files generated by the database should be added here, and this can be used

docs/install/cloud/azure-vm.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ This guide assumes you have full administrator privileges on Azure.
1212
From the Azure Portal, navigate to the Virtual Machines Dashboard. Click Create,
1313
and select creating a new Azure Virtual machine .
1414

15-
<img src="../../images/platforms/azure/azure1.jpg">
15+
<img src="../../images/platforms/azure/azure1.jpg" alt="Azure VM creation page">
1616

1717
This will bring you to the `Create a virtual machine` page. Select the
1818
subscription group of your choice, or create one if necessary.
@@ -22,26 +22,26 @@ of your choice. Change the region to something more appropriate for your current
2222
location. For this tutorial, we will use the base selection of the Ubuntu Gen2
2323
Image and keep the rest of the base settings for this image the same.
2424

25-
<img src="../../images/platforms/azure/azure2.png">
25+
<img src="../../images/platforms/azure/azure2.png" alt="Azure VM instance details">
2626

27-
<img src="../../images/platforms/azure/azure3.png">
27+
<img src="../../images/platforms/azure/azure3.png" alt="Azure VM size selection">
2828

2929
Up next, under `Inbound port rules` modify the Select `inbound ports` to also
3030
take in `HTTPS` and `HTTP`.
3131

32-
<img src="../../images/platforms/azure/azure4.png">
32+
<img src="../../images/platforms/azure/azure4.png" alt="Azure VM inbound port rules">
3333

3434
The set up for the image is complete at this stage. Click `Review and Create` -
3535
review the information and click `Create`. A popup will appear asking you to
3636
download the key pair for the server. Click
3737
`Download private key and create resource` and place it into a folder of your
3838
choice on your local system.
3939

40-
<img src="../../images/platforms/azure/azure5.png">
40+
<img src="../../images/platforms/azure/azure5.png" alt="Azure VM key pair generation">
4141

4242
Click `Return to create a virtual machine`. Your VM will start up!
4343

44-
<img src="../../images/platforms/azure/azure6.png">
44+
<img src="../../images/platforms/azure/azure6.png" alt="Azure VM deployment complete">
4545

4646
Click `Go to resource` in the virtual machine and copy the public IP address.
4747
You will need it to SSH into the virtual machine via your local machine.
@@ -100,12 +100,12 @@ First, run `coder template init` to create your first template. You’ll be give
100100
a list of possible templates to use. This tutorial will show you how to set up
101101
your Coder instance to create a Linux based machine on Azure.
102102

103-
<img src="../../images/platforms/azure/azure9.png">
103+
<img src="../../images/platforms/azure/azure9.png" alt="Coder CLI template init">
104104

105105
Press `enter` to select `Develop in Linux on Azure` template. This will return
106106
the following:
107107

108-
<img src="../../images/platforms/azure/azure10.png">
108+
<img src="../../images/platforms/azure/azure10.png" alt="Coder CLI template init">
109109

110110
To get started using the Azure template, install the Azure CLI by following the
111111
instructions

docs/user-guides/workspace-access/emacs-tramp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ editing operations on a remote server.
77

88
To connect to your workspace first run:
99

10-
```
10+
```shell
1111
coder config-ssh
1212
```
1313

docs/user-guides/workspace-access/jetbrains.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -378,14 +378,18 @@ Fleet can connect to a Coder workspace by following these steps.
378378

379379
1. [Install Fleet](https://www.jetbrains.com/fleet/download)
380380
2. Install Coder CLI
381+
381382
```shell
382383
curl -L https://coder.com/install.sh | sh
383384
```
385+
384386
3. Login and configure Coder SSH.
387+
385388
```shell
386389
coder login coder.example.com
387390
coder config-ssh
388391
```
392+
389393
4. Connect via SSH with the Host set to `coder.workspace-name`
390394
![Fleet Connect to Coder](../../images/fleet/ssh-connect-to-coder.png)
391395

docs/user-guides/workspace-access/port-forwarding.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ protocol configuration for each shared port individually.
141141
You can also access any port on the workspace and can configure the port
142142
protocol manually by appending a `s` to the port in the URL.
143143

144-
```
144+
```console
145145
# Uses HTTP
146146
https://33295--agent--workspace--user--apps.example.com/
147147
# Uses HTTPS

examples/examples.gen.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// Code generated by examplegen. DO NOT EDIT.
21
[
32
{
43
"id": "aws-devcontainer",

0 commit comments

Comments
 (0)