Skip to content

Commit f76d8b8

Browse files
authored
Merge pull request #3246 from arturcic/feature/markdown-lint
Fix docs markdown lint errors
2 parents f6d86dc + 8c6175c commit f76d8b8

32 files changed

+135
-126
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,13 @@ jobs:
136136
matrix:
137137
os: [windows-latest, ubuntu-latest, macos-latest]
138138
targetFramework: [net48, net5.0, net6.0, netcoreapp3.1]
139+
exclude:
140+
-
141+
os: 'ubuntu-latest'
142+
targetFramework: net48
143+
-
144+
os: 'macos-latest'
145+
targetFramework: net48
139146
fail-fast: false
140147

141148
steps:

.github/workflows/docs.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -121,15 +121,13 @@ jobs:
121121
uses: chabad360/htmlproofer@master
122122
with:
123123
directory: ./artifacts/docs/preview
124-
arguments: --url-ignore /api/ --allow-hash-href --assume-extension --disable-external
124+
arguments: --ignore-urls /api/,/docs/ --allow-hash-href --assume-extension --disable-external
125125
-
126-
name: Reviewdog Reporter
127-
uses: haya14busa/action-cond@v1
126+
name: '[Reviewdog Reporter]'
128127
id: reporter
129-
with:
130-
cond: ${{ github.event_name == 'pull_request' }}
131-
if_true: github-pr-review
132-
if_false: github-check
128+
run: |
129+
value=$([ ${{ github.event_name == 'pull_request' }} ] && echo "github-pr-review" || echo "github-check")
130+
echo "value=$value" >> $GITHUB_OUTPUT
133131
-
134132
name: '[Remark Lint]'
135133
uses: reviewdog/[email protected]

.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/contribute-examples.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,8 @@ The examples are generated by GitVersion tests, there are a number of services
99
which will then turn the sequence diagram text into an image to use in the docs.
1010
Here are some links which could be useful
1111

12-
* [PlantUML Sequence Diagrams](http://www.plantuml.com/sequence.html)
13-
* [CodeUML Online editor](http://www.codeuml.com/)
14-
* [PlantText Online editor](http://www.planttext.com/planttext)
15-
* [PlantUML gist renderer](http://uml.mvnsearch.org)
12+
* [PlantUML Sequence Diagrams](https://www.plantuml.com/sequence.html)
13+
* [PlantText Online editor](https://www.planttext.com)
1614

1715
The tests are quite simple. Using the methods on the `fixture` itself will
1816
record that action in the sequence diagram. If you do not want the action

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,6 @@ patch _will not_ automatically bump, meaning you have to use hotfix branches.
8787

8888
See [contributing examples](/docs/learn/branching-strategies/contribute-examples).
8989

90-
## Complete Example
91-
92-
![GitFlow](http://uml.mvnsearch.org/gist/cf053d7f5d336ae9f7bb)
93-
9490
### Source
9591

9692
See `DocumentationSamples.GitFlowExample`. To update, modify then run test.

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

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,15 @@ 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

15-
* Using [GitFlow branching model](http://nvie.com/git-model/) which always has a
13+
* Using [GitFlow branching model](https://nvie.com/git-model/) which always has a
1614
main and a develop branch
17-
* Following [Semantic Versioning](http://semver.org/)
15+
* Following [Semantic Versioning](https://semver.org/)
1816
* Planned releases (bumps in major or minor) are done on release branches
1917
prefixed with release-. Eg: release-4.1 (or release-4.1.0)
2018
* Hotfixes are prefixed with hotfix- Eg. hotfix-4.0.4
21-
* The original [GitFlow model](http://nvie.com/posts/a-successful-git-branching-model/)
19+
* The original [GitFlow model](https://nvie.com/posts/a-successful-git-branching-model/)
2220
specifies branches with a "-" separator while the [git flow extensions](https://github.com/nvie/gitflow)
2321
default to a "/" separator. Either work with GitVersion.
2422
* Tags are used on the main branch and reflects the SemVer of each stable
@@ -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/branching-strategies/githubflow/examples.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ RedirectFrom: docs/git-branching-strategies/githubflow-examples
1515
## Release branch
1616

1717
Release branches can be used in GitHubFlow as well as GitFlow. Sometimes you
18-
want to start on a large feature which may take a while to stabilise so you want
18+
want to start on a large feature which may take a while to stabilize so you want
1919
to keep it off main. In these scenarios you can either create a long lived
2020
feature branch (if you do not know the version number this large feature will go
2121
into, and it's non-breaking) otherwise you can create a release branch for the

0 commit comments

Comments
 (0)