Skip to content

Commit 93f4637

Browse files
committed
#2964 fix markdown linting errors
1 parent 18586fe commit 93f4637

File tree

19 files changed

+89
-78
lines changed

19 files changed

+89
-78
lines changed

.remarkrc.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ plugins:
2525
- remark-lint-no-blockquote-without-marker
2626
- remark-lint-no-consecutive-blank-lines
2727
- remark-lint-no-duplicate-definitions
28-
- remark-lint-no-duplicate-headings
28+
- remark-lint-no-duplicate-headings: ["warn"]
2929
- remark-lint-no-emphasis-as-heading
3030
- remark-lint-no-empty-url
3131
- remark-lint-no-file-name-articles
3232
- remark-lint-no-file-name-consecutive-dashes
33-
- remark-lint-no-file-name-irregular-characters
33+
- remark-lint-no-file-name-irregular-characters: ["warn"]
3434
- remark-lint-no-file-name-mixed-case
3535
- remark-lint-no-file-name-outer-dashes
3636
- remark-lint-no-heading-content-indent

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ works out the [Semantic Version][semver] of the commit being built.
1414
| **GitVersion.Portable** | [![Chocolatey][choco-badge]][choco] |
1515
| **GitVersion.Tool** | [![NuGet][gvgt-badge]][gvgt] |
1616
| **GitVersion.CommandLine** | [![NuGet][gvcl-badge]][gvcl] |
17-
| **GitVersion.MsBuild** | [![NuGet][gvt-badge]][gvt] | Known as [GitVersionTask] before v5.6.0 |
17+
| **GitVersion.MsBuild** | [![NuGet][gvt-badge]][gvt] | Known as [GitVersionTask][gitversiontask] before v5.6.0 |
1818
| **Homebrew** | [![homebrew][brew-badge]][brew] |
1919
| **Azure Pipeline Task** | [![Azure Pipeline Task][az-pipeline-task-badge]][az-pipeline-task] |
2020
| **Github Action** | [![Github Action][gh-actions-badge]][gh-actions] |

SECURITY.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ You should receive a response within 24 hours. If for some reason you do not, pl
1717

1818
Please include the requested information listed below (as much as you can provide) to help us better understand the nature and scope of the possible issue:
1919

20-
* Type of issue (e.g. buffer overflow, SQL injection, cross-site scripting, etc.)
21-
* Full paths of source file(s) related to the manifestation of the issue
22-
* The location of the affected source code (tag/branch/commit or direct URL)
23-
* Any special configuration required to reproduce the issue
24-
* Step-by-step instructions to reproduce the issue
25-
* Proof-of-concept or exploit code (if possible)
26-
* Impact of the issue, including how an attacker might exploit the issue
20+
* Type of issue (e.g. buffer overflow, SQL injection, cross-site scripting, etc.)
21+
* Full paths of source file(s) related to the manifestation of the issue
22+
* The location of the affected source code (tag/branch/commit or direct URL)
23+
* Any special configuration required to reproduce the issue
24+
* Step-by-step instructions to reproduce the issue
25+
* Proof-of-concept or exploit code (if possible)
26+
* Impact of the issue, including how an attacker might exploit the issue
2727

2828
This information will help us triage your report more quickly.
2929

build/nuspec/README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ works out the [Semantic Version][semver] of the commit being built.
99
| :------------------------- | :----------------------------------------------------------------- | - |
1010
| **GitVersion.Tool** | [![NuGet][gvgt-badge]][gvgt] |
1111
| **GitVersion.CommandLine** | [![NuGet][gvcl-badge]][gvcl] |
12-
| **GitVersion.MsBuild** | [![NuGet][gvt-badge]][gvt] | Known as [GitVersionTask] before v5.6.0 |
12+
| **GitVersion.MsBuild** | [![NuGet][gvt-badge]][gvt] | Known as [GitVersionTask][gitversiontask] before v5.6.0 |
1313

1414
## Compatibility
1515

@@ -44,8 +44,6 @@ from The Noun Project.
4444
[gitter]: https://gitter.im/GitTools/GitVersion?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge
4545
[gitter-badge]: https://badges.gitter.im/Join+Chat.svg
4646
[docs]: https://gitversion.net/docs/
47-
[gh-rel]: https://github.com/GitTools/GitVersion/releases/latest
48-
[gh-rel-badge]: https://img.shields.io/github/release/gittools/gitversion.svg?logo=github
4947
[gvt]: https://www.nuget.org/packages/GitVersion.MsBuild
5048
[gvt-badge]: https://img.shields.io/nuget/v/GitVersion.MsBuild.svg?logo=nuget
5149
[gitversiontask]: https://www.nuget.org/packages/GitVersionTask/

docs/input/docs/learn/branching-strategies/gitflow/index.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ RedirectFrom: docs/git-branching-strategies/gitflow
88
Git Flow allows more structured releases, and GitVersion will derive sensible
99
SemVer compatible versions from this structure.
1010

11-
## Resources
12-
1311
## Assumptions:
1412

1513
* Using [GitFlow branching model](https://nvie.com/git-model/) which always has a
@@ -58,7 +56,7 @@ Optional Tags (only when transitioning existing repository):
5856

5957
Long version:
6058

61-
```
59+
```txt
6260
{major}.{minor}.{patch} Sha:'{sha}'
6361
1.2.3 Sha:'a682956dccae752aa24597a0f5cd939f93614509'
6462
```
@@ -78,7 +76,7 @@ Long version:
7876

7977
Long version:
8078

81-
```
79+
```txt
8280
{major}.{minor}.{patch}-{pre-release} Branch:'{branchName}' Sha:'{sha}'
8381
1.2.3-alpha.645 Branch:'develop' Sha:'a682956dccae752aa24597a0f5cd939f93614509'
8482
```
@@ -97,7 +95,7 @@ Named: `hotfix-{versionNumber}` eg `hotfix-1.2`
9795

9896
Long version:
9997

100-
```
98+
```txt
10199
{major}.{minor}.{patch}-{pre-release} Branch:'{branchName}' Sha:'{sha}'
102100
1.2.3-beta645 Branch:'hotfix-foo' Sha:'a682956dccae752aa24597a0f5cd939f93614509'
103101
```
@@ -125,7 +123,7 @@ that tag the version would be `1.2.0-alpha1.4`
125123

126124
Long version:
127125

128-
```
126+
```txt
129127
{major}.{minor}.{patch}-{pre-release} Branch:'{branchName}' Sha:'{sha}'
130128
1.2.3-alpha2.4 Branch:'release-1.2' Sha:'a682956dccae752aa24597a0f5cd939f93614509'
131129
1.2.3-rc2 Branch:'release-1.2' Sha:'a682956dccae752aa24597a0f5cd939f93614509'
@@ -149,7 +147,7 @@ branches named like "4.0.3"
149147

150148
Long version:
151149

152-
```
150+
```txt
153151
{major}.{minor}.{patch}-{pre-release} Branch:'{branchName}' Sha:'{sha}'
154152
1.2.3-alpha.feature-a682956d Branch:'feature1' Sha:'a682956dccae752aa24597a0f5cd939f93614509'
155153
```

docs/input/docs/learn/credits.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ Icons sourced, with love, from [The Noun Project][the-noun-project]:
99
| Icon | Designer |
1010
| :-----------------------------------------: | :--------------------------------------------------------- |
1111
| [![Tree][tree-icon]][tree-link] | [Tree][tree-link] by [Davic Chapman][david-chapman] |
12-
| [![Repeat][repeat-icon]][repeat-link] | [Repeat][repeat-link] by [Arthur Shlain][artZ91] |
13-
| [![Terminal][terminal-icon]][terminal-link] | [Terminal][terminal-link] by [Ghayn] |
12+
| [![Repeat][repeat-icon]][repeat-link] | [Repeat][repeat-link] by [Arthur Shlain][artz91] |
13+
| [![Terminal][terminal-icon]][terminal-link] | [Terminal][terminal-link] by [Ghayn][ghayn] |
1414
| [![Collect][collect-icon]][collect-link] | [Collect][collect-link] by [Shmidt Sergey][monstercritic] |
1515
| [![Library][library-icon]][library-link] | [Library][library-link] by [Kevin Eichhorn][kevineichhorn] |
1616
:::
1717

18-
[artZ91]: https://thenounproject.com/ArtZ91/
18+
[artz91]: https://thenounproject.com/ArtZ91/
1919
[collect-icon]: /assets/img/collect.svg
2020
[collect-link]: https://thenounproject.com/term/collect/424422/
2121
[david-chapman]: https://thenounproject.com/david.chapman/

docs/input/docs/learn/faq.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ be a good primer to read before reading [SemVer.org][semver].
3030
## I can't use the build number for NuGet
3131

3232
If you have used NuGet you would notice the versions above are not compatible
33-
with NuGet. GitVersion solves this by providing [variables].
33+
with NuGet. GitVersion solves this by providing [variables][variables].
3434

3535
What you have seen above is the `SemVer` variable. You can use the
3636
`NuGetVersion` variable to have the version formatted in a NuGet compatible way.

docs/input/docs/reference/build-servers/gitlab.md

Lines changed: 20 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -9,25 +9,26 @@ To use GitVersion with GitLab CI, either use the [MSBuild
99
Task](/docs/usage/msbuild) or put the GitVersion executable in your
1010
runner's `PATH`.
1111

12-
A working example of integrating GitVersion with GitLab is maintained in the project [Utterly Automated Software and Artifact Versioning with GitVersion][]
12+
A working example of integrating GitVersion with GitLab is maintained in the project [Utterly Automated Versioning][utterly-automated-versioning]
1313

14-
Here is a summary of what it demonstrated (many more details in the [README.md][])
14+
Here is a summary of what it demonstrated (many more details in the [Readme][readme])
1515

16-
- Is a reusable working example known as a Guided Exploration ([GE Manifesto][]) - so job logs and package artifacts can be reviewed. The project can also be imported to your own GitLab group or instance as a starting point for your own work.
17-
- IMPORTANT: It demonstrates how to override GitLab CI's default cloning behavior so that GitVersion can do a dynamic copy. Selectively clones GitVersion.yml so that these settings take effect. This best practice demonstrates the best way to do this while avoiding a double-cloning of the project (once by GitLab Runner and once by GitVersion).
18-
- Implements GitVersion as a CI/CD Extension that can be reused across many projects using includes.
19-
- Implements GitVersion as a single job that runs the GitVersion container and passes the version number downstream into both _pipeline_ and _job_ level variables, which means...
20-
- It can be used with ANY coding language, framework or packaging engine.
21-
- Generates example packaged artifacts:
22-
- Two ways of building Sem Versioned NuGet packages (msbuild-ish and nuget.exe-ish) and uploads them and tests them from a [GitLab NuGet repository][].
23-
- A Sem Versioned [GitLab Generic Package][]
24-
- A Sem Versioned docker container and uploads to [GitLabs Container Registry][].
25-
- It creates a Sem Versioned [GitLab Release](GitLab Releases Feature Help) and Git tag using the [GitLab release-cli][] and links the generic package as evidence.
16+
- Is a reusable working example known as a Guided Exploration ([Guided Exploration Manifesto][guided-exploration-manifesto]) - so job logs and package artifacts can be reviewed. The project can also be imported to your own GitLab group or instance as a starting point for your own work.
17+
- IMPORTANT: It demonstrates how to override GitLab CI's default cloning behavior so that GitVersion can do a dynamic copy. Selectively clones GitVersion.yml so that these settings take effect. This best practice demonstrates the best way to do this while avoiding a double-cloning of the project (once by GitLab Runner and once by GitVersion).
18+
- Implements GitVersion as a CI/CD Extension that can be reused across many projects using includes.
19+
- Implements GitVersion as a single job that runs the GitVersion container and passes the version number downstream into both _pipeline_ and _job_ level variables, which means...
20+
- It can be used with ANY coding language, framework or packaging engine.
21+
- Generates example packaged artifacts:
22+
- Two ways of building Sem Versioned NuGet packages (msbuild-ish and nuget.exe-ish) and uploads them and tests them from a [GitLab NuGet Repository][gitlab-nuget-repository].
23+
- A Sem Versioned [GitLab Generic Package][gitlab-generic-package]
24+
- A Sem Versioned docker container and uploads to [GitLab Container Registry][gitlab-container-registry].
25+
- It creates a Sem Versioned [GitLab Release][gitlab-release-help] and Git tag using the [GitLab Release Cli][gitlab-release-cli] and links the generic package as evidence.
2626

27-
[GitLab Generic Package]: https://docs.gitlab.com/ee/user/packages/generic_packages/
28-
[GitLab NuGet repository]: https://docs.gitlab.com/ee/user/packages/nuget_repository/
29-
[GitLab release-cli]: https://gitlab.com/gitlab-org/release-cli/-/tree/master/docs
30-
[GitLabs Container Registry]: https://docs.gitlab.com/ee/user/packages/container_registry/
31-
[GE Manifesto]: https://gitlab.com/guided-explorations/guided-exploration-concept/-/blob/master/README.md
32-
[README.md]: https://gitlab.com/guided-explorations/devops-patterns/utterly-automated-versioning/-/blob/develop/README.md
33-
[Utterly Automated Software and Artifact Versioning with GitVersion]: https://gitlab.com/guided-explorations/devops-patterns/utterly-automated-versioning/
27+
[gitlab-generic-package]: https://docs.gitlab.com/ee/user/packages/generic_packages/
28+
[gitlab-nuget-repository]: https://docs.gitlab.com/ee/user/packages/nuget_repository/
29+
[gitlab-release-cli]: https://gitlab.com/gitlab-org/release-cli/-/tree/master/docs
30+
[gitlab-container-registry]: https://docs.gitlab.com/ee/user/packages/container_registry/
31+
[guided-exploration-manifesto]: https://gitlab.com/guided-explorations/guided-exploration-concept/-/blob/master/README.md
32+
[readme]: https://gitlab.com/guided-explorations/devops-patterns/utterly-automated-versioning/-/blob/develop/README.md
33+
[utterly-automated-versioning]: https://gitlab.com/guided-explorations/devops-patterns/utterly-automated-versioning/
34+
[gitlab-release-help]: https://docs.gitlab.com/ee/user/project/releases/

docs/input/docs/reference/build-servers/jenkins.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ Integrating GitVersion into your Jenkins build varies based on the project type:
2525

2626
Injecting environment variables is not supported in Jenkins natively, but
2727
Jenkins plugins exist that provide this functionality. Of these plugins
28-
[EnvInject] appears to be the most popular with over 20k downloads per month.
28+
[EnvInject][env-inject] appears to be the most popular with over 20k downloads per month.
2929

3030
To inject the GitVersion variables as environment variables for a build job
31-
using [EnvInject], do the following:
31+
using [EnvInject][env-inject], do the following:
3232

3333
1. Add an **Execute Windows batch command** build step with _Command_:
3434
`gitversion /output buildserver`
@@ -51,7 +51,7 @@ You can verify correct injection of environment variables by adding another
5151

5252
### Pipeline Projects
5353

54-
For pipeline projects, GitVersion variables can be accessed by reading the `gitversion.properties` file using the [Pipeline Utility Steps] plugin. Variables from a property file are not automatically merged with the environment variables, but they can be accessed within a script block.
54+
For pipeline projects, GitVersion variables can be accessed by reading the `gitversion.properties` file using the [Pipeline Utility Steps][pipeline-utility-steps] plugin. Variables from a property file are not automatically merged with the environment variables, but they can be accessed within a script block.
5555

5656
In a pipeline stage:
5757

@@ -75,5 +75,5 @@ script {
7575
}
7676
```
7777

78-
[EnvInject]: https://wiki.jenkins-ci.org/display/JENKINS/EnvInject+Plugin
79-
[Pipeline Utility Steps]: https://plugins.jenkins.io/pipeline-utility-steps
78+
[env-inject]: https://wiki.jenkins-ci.org/display/JENKINS/EnvInject+Plugin
79+
[pipeline-utility-steps]: https://plugins.jenkins.io/pipeline-utility-steps

docs/input/docs/reference/build-servers/teamcity.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ RedirectFrom: docs/build-server-support/build-server/teamcity
77

88
## Basic Usage
99

10-
In [TeamCity] you can create a build step as follows:
10+
In [TeamCity][teamcity] you can create a build step as follows:
1111

1212
* **Runner type:** Command Line
1313
* **Run:** Executable with parameters
@@ -26,7 +26,6 @@ TeamCity has support for meta-runners which allow custom tasks. There is a
2626
[GitVersion meta-runner][meta-runner] available which makes it easy to use
2727
GitVersion.
2828

29-
3029
## Running inside TeamCity
3130

3231
When running in TeamCity you have two options, run using **agent checkout** or
@@ -70,7 +69,7 @@ See [dynamic repositories][dynamic-repo] for more info.
7069

7170
### NuGet in TeamCity
7271

73-
* Add a dummy [parameter] to the project called `GitVersion.NuGetVersion`. If
72+
* Add a dummy [parameter][parameter] to the project called `GitVersion.NuGetVersion`. If
7473
many of your projects uses git-flow and SemVer you can add the parameter to
7574
the "root-project" (TeamCity 8.x+). You need a dummy param because
7675
GitVersion creates the variables at runtime, and you cannot reference a

docs/input/docs/reference/configuration.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ To see the effective configuration (defaults and overrides), you can run
3232
`gitversion /showConfig`.
3333

3434
To create your config file just type `gitversion init` in your repo directory,
35-
after [installing]. A minimal `GitVersion.yml` configuration file will be
35+
after [installing][installing]. A minimal `GitVersion.yml` configuration file will be
3636
created. Modify this to suit your needs.
3737

3838
## Global configuration
@@ -103,7 +103,7 @@ skip updating the `AssemblyFileVersion` while still updating the
103103
Specifies the format of `AssemblyFileVersion` and
104104
overwrites the value of `assembly-file-versioning-scheme`.
105105

106-
Expressions in curly braces reference one of the [variables]
106+
Expressions in curly braces reference one of the [variables][variables]
107107
or a process-scoped environment variable (when prefixed with `env:`). For example,
108108

109109
```yaml
@@ -281,9 +281,9 @@ merge-message-formats:
281281

282282
The regular expression should contain the following capture groups:
283283

284-
* `SourceBranch` - Identifies the source branch of the merge
285-
* `TargetBranch` - Identifies the target branch of the merge
286-
* `PullRequestNumber` - Captures the pull-request number
284+
* `SourceBranch` - Identifies the source branch of the merge
285+
* `TargetBranch` - Identifies the target branch of the merge
286+
* `PullRequestNumber` - Captures the pull-request number
287287

288288
Custom merge message formats are evaluated _before_ any built in formats.
289289
Support for [Conventional Commits][conventional-commits] can be
@@ -424,16 +424,16 @@ Take this commit graph
424424

425425
By looking at this graph, you cannot tell which of these scenarios happened:
426426

427-
* feature/foo branches off release/v1.0.0
428-
* Branch release/v1.0.0 from main
429-
* Branch feature/foo from release/v1.0.0
430-
* Add a commit to both release/v1.0.0 and feature/foo
431-
* release/v1.0.0 is the base for feature/foo
432-
* release/v1.0.0 branches off feature/foo
433-
* Branch feature/foo from main
434-
* Branch release/v1.0.0 from feature/foo
435-
* Add a commit to both release/v1.0.0 and feature/foo
436-
* feature/foo is the base for release/v1.0.0
427+
* feature/foo branches off release/v1.0.0
428+
* Branch release/v1.0.0 from main
429+
* Branch feature/foo from release/v1.0.0
430+
* Add a commit to both release/v1.0.0 and feature/foo
431+
* release/v1.0.0 is the base for feature/foo
432+
* release/v1.0.0 branches off feature/foo
433+
* Branch feature/foo from main
434+
* Branch release/v1.0.0 from feature/foo
435+
* Add a commit to both release/v1.0.0 and feature/foo
436+
* feature/foo is the base for release/v1.0.0
437437

438438
Or put more simply, you cannot tell which branch was created first,
439439
`release/v1.0.0` or `feature/foo`.
@@ -560,7 +560,7 @@ default `main` and `support/*` are mainlines.
560560

561561
### pre-release-weight
562562

563-
Provides a way to translate the `PreReleaseLabel` ([variables]) to a numeric
563+
Provides a way to translate the `PreReleaseLabel` ([variables][variables]) to a numeric
564564
value in order to avoid version collisions across different branches. For
565565
example, a release branch created after "1.2.3-alpha.55" results in
566566
"1.2.3-beta.1" and thus e.g. "1.2.3-alpha.4" and "1.2.3-beta.4" would have the
@@ -569,8 +569,8 @@ same file version: "1.2.3.4". One of the ways to use this value is to set
569569
{Major}.{Minor}.{Patch}.{WeightedPreReleaseNumber}`. If the `pre-release-weight`
570570
is set, it would be added to the `PreReleaseNumber` to get a final
571571
`AssemblySemFileVer`, otherwise a branch specific default for
572-
`pre-release-weight` will be used in the calculation. Related Issues [1145]
573-
and [1366].
572+
`pre-release-weight` will be used in the calculation. Related Issues [1145][1145]
573+
and [1366][1366].
574574

575575
[1145]: https://github.com/GitTools/GitVersion/issues/1145
576576
[1366]: https://github.com/GitTools/GitVersion/issues/1366

docs/input/docs/reference/modes/continuous-delivery.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ to deploy to production at any time.
4242
By default, GitVersion is set up to do Continuous Delivery on all branches but
4343
`develop`, which is set up with [Continuous Deployment][continuous-deployment].
4444
To change the mode to Continuous Delivery, change your
45-
[configuration] to:
45+
[configuration][configuration] to:
4646

4747
```yaml
4848
mode: ContinuousDelivery

0 commit comments

Comments
 (0)