fix: broken glob path for lint job

Linting was only running on a subset of our Markdown files in `content`.
This change fixes the glob path, and adds appropriate exclude paths.
Because the glob pattern was incorrect before, we had lots of files that
didn't comply with the linting rules. This commit also fixes those
issues.

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
This commit is contained in:
David Karlsson
2023-11-04 10:46:33 +01:00
parent 18cdb02ece
commit 1fdb2e77d4
52 changed files with 295 additions and 272 deletions

View File

@@ -72,15 +72,15 @@ Let's get started!
You should now have the following contents in your `python-docker`
directory.
```
├── python-docker/
│ ├── app.py
│ ├── requirements.txt
│ ├── .dockerignore
│ ├── compose.yaml
│ ├── Dockerfile
│ └── README.md
```
```text
├── python-docker/
│ ├── app.py
│ ├── requirements.txt
│ ├── .dockerignore
│ ├── compose.yaml
│ ├── Dockerfile
│ └── README.md
```
To learn more about the files that `docker init` added, see the following:
- [Dockerfile](../../engine/reference/builder.md)

View File

@@ -100,7 +100,7 @@ Before you run the application using Compose, notice that this Compose file spec
In the cloned repository's directory, create a new directory named `db` and inside that directory create a file named `password.txt` that contains the password for the database. Using your favorite IDE or text editor, add the following contents to the `password.txt` file.
```
```text
mysecretpassword
```
@@ -109,17 +109,17 @@ Save and close the `password.txt` file.
You should now have the following contents in your `python-docker-dev`
directory.
```
├── python-docker-dev/
│ ├── db/
│ │ └── password.txt
│ ├── app.py
│ ├── requirements.txt
│ ├── .dockerignore
│ ├── compose.yaml
│ ├── Dockerfile
│ └── README.md
```
```text
├── python-docker-dev/
│ ├── db/
│ │ └── password.txt
│ ├── app.py
│ ├── requirements.txt
│ ├── .dockerignore
│ ├── compose.yaml
│ ├── Dockerfile
│ └── README.md
```
Now, run the following `docker compose up` command to start your application.
@@ -239,4 +239,4 @@ Related information:
In the next section, you'll take a look at how to set up a CI/CD pipeline using GitHub Actions.
{{< button text="Configure CI/CD" url="configure-ci-cd.md" >}}
{{< button text="Configure CI/CD" url="configure-ci-cd.md" >}}