Skip to content

Commit 18586fe

Browse files
committed
GitTools#2964 fix html-proofer errors
1 parent f6d86dc commit 18586fe

File tree

16 files changed

+35
-42
lines changed

16 files changed

+35
-42
lines changed

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ 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
-
126126
name: Reviewdog Reporter
127127
uses: haya14busa/action-cond@v1

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: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ SemVer compatible versions from this structure.
1212

1313
## Assumptions:
1414

15-
* Using [GitFlow branching model](http://nvie.com/git-model/) which always has a
15+
* Using [GitFlow branching model](https://nvie.com/git-model/) which always has a
1616
main and a develop branch
17-
* Following [Semantic Versioning](http://semver.org/)
17+
* Following [Semantic Versioning](https://semver.org/)
1818
* Planned releases (bumps in major or minor) are done on release branches
1919
prefixed with release-. Eg: release-4.1 (or release-4.1.0)
2020
* Hotfixes are prefixed with hotfix- Eg. hotfix-4.0.4
21-
* The original [GitFlow model](http://nvie.com/posts/a-successful-git-branching-model/)
21+
* The original [GitFlow model](https://nvie.com/posts/a-successful-git-branching-model/)
2222
specifies branches with a "-" separator while the [git flow extensions](https://github.com/nvie/gitflow)
2323
default to a "/" separator. Either work with GitVersion.
2424
* Tags are used on the main branch and reflects the SemVer of each stable

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

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ GitHub Flow allows and encourages [continuous delivery](/docs/reference/modes/co
2323

2424
## Resources
2525

26-
* [GitHubFlow guide by GitHub](https://guides.github.com/introduction/flow/index.html)
27-
* [GitHubFlow original blog post](http://scottchacon.com/2011/08/31/github-flow.html)
28-
* [Phil Haack's (haacked) GitHubFlow aliases](http://haacked.com/archive/2014/07/28/github-flow-aliases/)
29-
* [GitHubFlow vs GitFlow](http://lucamezzalira.com/2014/03/10/git-flow-vs-github-flow/)
26+
* [GitHubFlow guide by GitHub](https://docs.github.com/en/get-started/quickstart/github-flow#introduction)
27+
* [GitHubFlow original blog post](https://scottchacon.com/2011/08/31/github-flow.html)
28+
* [Phil Haack's (haacked) GitHubFlow aliases](https://haacked.com/archive/2014/07/28/github-flow-aliases/)
29+
* [GitHubFlow vs GitFlow](https://lucamezzalira.com/2014/03/10/git-flow-vs-github-flow/)

docs/input/docs/learn/how-it-works.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ GitVersion has three distinct steps for calculating versions in v3.
2626

2727
Visually it looks something like this:
2828

29-
![Version Calculation](http://www.plantuml.com:80/plantuml/png/fLCxJyCm4DxzAsuib4P914i69De1CS38Vd6kYIN7ZcodK8aVp-KX6Y2fKCbY9NV-7lVb2WoOeoVOMRDNfH0lz1vUoNbbpGwrR3K6ws1p3rlk-bN8u972f2AC3GHEbLN8m1D1Jjg-mPuXAZvx9kL1ZW1KY5dOZczMI0Pf54VnHtf7jpaAWJg0sW-uXw4PK3Eb1sMaevfCW6i1\_0m6po1l7HfPJUxvu5XYUOHLWq5MLptCudmMK9--u5glJ0dIEaVo1Dw3JgVM6Km4cM9mzyrQXHuQHnj7chhl0JcnIrHjno1wiWtgfi8eWVK\_7OQAmBHrJWvORFVM2PmrE7AcWZGh-Lj0FvptVvLiUPnCdG_XhNhOov9wQ1fzv7nw5S5EwSvw6CDQNfnMwUAP0XQyQpj70nkx3Nn3p5NFY9IshbNWepKi8ublWFiSPkC0ee8El75Dv5aOxqZQBScbWpWn0Pe2wb6aM1p4Eea\_0G00)
29+
![Version Calculation](https://www.plantuml.com/plantuml/png/fLCxJyCm4DxzAsuib4P914i69De1CS38Vd6kYIN7ZcodK8aVp-KX6Y2fKCbY9NV-7lVb2WoOeoVOMRDNfH0lz1vUoNbbpGwrR3K6ws1p3rlk-bN8u972f2AC3GHEbLN8m1D1Jjg-mPuXAZvx9kL1ZW1KY5dOZczMI0Pf54VnHtf7jpaAWJg0sW-uXw4PK3Eb1sMaevfCW6i1\_0m6po1l7HfPJUxvu5XYUOHLWq5MLptCudmMK9--u5glJ0dIEaVo1Dw3JgVM6Km4cM9mzyrQXHuQHnj7chhl0JcnIrHjno1wiWtgfi8eWVK\_7OQAmBHrJWvORFVM2PmrE7AcWZGh-Lj0FvptVvLiUPnCdG_XhNhOov9wQ1fzv7nw5S5EwSvw6CDQNfnMwUAP0XQyQpj70nkx3Nn3p5NFY9IshbNWepKi8ublWFiSPkC0ee8El75Dv5aOxqZQBScbWpWn0Pe2wb6aM1p4Eea\_0G00)
3030

31-
[Edit Diagram](http://www.plantuml.com/plantuml/form?url=http://www.plantuml.com/plantuml/png/fLCxJyCm4DxzAsuib4P914i69De1CS38Vd6kYIN7ZcodK8aVp-KX6Y2fKCbY9NV-7lVb2WoOeoVOMRDNfH0lz1vUoNbbpGwrR3K6ws1p3rlk-bN8u972f2AC3GHEbLN8m1D1Jjg-mPuXAZvx9kL1ZW1KY5dOZczMI0Pf54VnHtf7jpaAWJg0sW-uXw4PK3Eb1sMaevfCW6i1\_0m6po1l7HfPJUxvu5XYUOHLWq5MLptCudmMK9--u5glJ0dIEaVo1Dw3JgVM6Km4cM9mzyrQXHuQHnj7chhl0JcnIrHjno1wiWtgfi8eWVK\_7OQAmBHrJWvORFVM2PmrE7AcWZGh-Lj0FvptVvLiUPnCdG_XhNhOov9wQ1fzv7nw5S5EwSvw6CDQNfnMwUAP0XQyQpj70nkx3Nn3p5NFY9IshbNWepKi8ublWFiSPkC0ee8El75Dv5aOxqZQBScbWpWn0Pe2wb6aM1p4Eea\_0G00)
31+
[Edit Diagram](https://www.plantuml.com/plantuml/form?url=https://www.plantuml.com/plantuml/png/fLCxJyCm4DxzAsuib4P914i69De1CS38Vd6kYIN7ZcodK8aVp-KX6Y2fKCbY9NV-7lVb2WoOeoVOMRDNfH0lz1vUoNbbpGwrR3K6ws1p3rlk-bN8u972f2AC3GHEbLN8m1D1Jjg-mPuXAZvx9kL1ZW1KY5dOZczMI0Pf54VnHtf7jpaAWJg0sW-uXw4PK3Eb1sMaevfCW6i1\_0m6po1l7HfPJUxvu5XYUOHLWq5MLptCudmMK9--u5glJ0dIEaVo1Dw3JgVM6Km4cM9mzyrQXHuQHnj7chhl0JcnIrHjno1wiWtgfi8eWVK\_7OQAmBHrJWvORFVM2PmrE7AcWZGh-Lj0FvptVvLiUPnCdG_XhNhOov9wQ1fzv7nw5S5EwSvw6CDQNfnMwUAP0XQyQpj70nkx3Nn3p5NFY9IshbNWepKi8ublWFiSPkC0ee8El75Dv5aOxqZQBScbWpWn0Pe2wb6aM1p4Eea\_0G00)
3232

3333
**\*** Some strategies allow the version to be incremented, others don't. More
3434
info below.

docs/input/docs/learn/intro-to-semver.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Title: Intro to SemVer
44
RedirectFrom: docs/reference/intro-to-semver
55
---
66

7-
For the official Semantic Version docs head to [semver.org](http://semver.org). This is just a quick guide for people getting started and how SemVer is used in GitVersion.
7+
For the official Semantic Version docs head to [semver.org](https://semver.org). This is just a quick guide for people getting started and how SemVer is used in GitVersion.
88

99
## Why SemVer?
1010

@@ -25,10 +25,10 @@ SemVer introduces conventions about breaking changes into our version numbers so
2525

2626
Only one number should be incremented per release, and all lower parts should be reset to 0 (if `{major}` is incremented, then `{minor}` and `{patch}` should become 0).
2727

28-
For a more complete explanation check out [semver.org](http://semver.org) which is the official spec. Remember this is a brief introduction and does not cover all parts of semantic versioning, just the important parts to get started.
28+
For a more complete explanation check out [semver.org](https://semver.org) which is the official spec. Remember this is a brief introduction and does not cover all parts of semantic versioning, just the important parts to get started.
2929

3030
## SemVer in GitVersion
3131

32-
GitVersion makes it easy to follow semantic versioning in your library by automatically calculating the next semantic version which your library/application is likely to use. In [GitFlow](https://www.atlassian.com/git/tutorials/comparing-workflows/gitflow-workflow/) the develop branch will bump the _minor_ when main is tagged, while [GitHubFlow](https://guides.github.com/introduction/flow/) will bump the _patch_.
32+
GitVersion makes it easy to follow semantic versioning in your library by automatically calculating the next semantic version which your library/application is likely to use. In [GitFlow](https://www.atlassian.com/git/tutorials/comparing-workflows/gitflow-workflow/) the develop branch will bump the _minor_ when main is tagged, while [GitHubFlow](https://docs.github.com/en/get-started/quickstart/github-flow#introduction) will bump the _patch_.
3333

3434
Because one size does not always fit all, GitVersion provides many [Variables](/docs/reference/variables) for you to use which contain different variations of the version. For example SemVer will be in the format `{major}.{minor}.{patch}-{tag}`, but `FullSemVer` will also include build metadata: `{major}.{minor}.{patch}-{tag}+{buildmetadata}`

docs/input/docs/learn/who.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ that we know about today.
1515
* [NUKE](https://nuke.build)
1616
* [Orc.\* packages](https://github.com/wildgums?query=orc)
1717
* [Orchestra](https://github.com/wildgums/orchestra)
18-
* [Pomona](http://pomona.io/)
1918
* [Shouldly](https://github.com/shouldly/shouldly)
2019
* [Akavache](https://github.com/akavache/akavache)
2120
* [Splat](https://github.com/paulcbetts/splat)

docs/input/docs/reference/build-servers/azure-devops.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ the MS Build Task.
3737
5. If you want the GitVersionTask to update AssemblyInfo files add
3838
`updateAssemblyInfo true` to the Arguments parameter.
3939
6. If you want to update the build number you need to send a
40-
[logging command](https://github.com/Microsoft/azure-pipelines-tasks/blob/main/docs/authoring/commands.md)
40+
[logging command](https://github.com/microsoft/azure-pipelines-tasks/blob/main/docs/authoring/commands.md)
4141
to TFS.
4242

4343
### Using the custom GitVersion build step
@@ -57,12 +57,12 @@ to install the GitVersion extension:
5757
If you run TFS 2015 RTM or Update 1 or don't want to install the GitVersion
5858
extension you can install the build task manually:
5959

60-
1. Install the `tfx` command line tool as shown [here](https://github.com/Microsoft/tfs-cli/blob/main/README.md#install).
61-
2. For TFS 2015 On-Prem configure Basic Authentication in TFS as shown [here](https://github.com/Microsoft/tfs-cli/blob/main/docs/configureBasicAuth.md).
60+
1. Install the `tfx` command line tool as shown [here](https://github.com/microsoft/tfs-cli/blob/master/README.md#setup).
61+
2. For TFS 2015 On-Prem configure Basic Authentication in TFS as shown [here](https://github.com/microsoft/tfs-cli/blob/master/docs/configureBasicAuth.md).
6262
3. Download the GitVersion TFS build task from the latest release on the
6363
[GitVersion releases page](https://github.com/GitTools/GitVersion/releases) and
6464
unzip.
65-
4. Run `tfx login` as shown [here](https://github.com/Microsoft/tfs-cli/blob/main/README.md#login).
65+
4. Run `tfx login` as shown [here](https://github.com/microsoft/tfs-cli/blob/master/README.md#login).
6666
5. From the directory outside of where you unzipped the task, run
6767
`tfx build tasks upload --task-path .\GitVersionVsixTask --overwrite` where
6868
GitVersionVsixTask is the directory containing the files.
@@ -166,7 +166,7 @@ variables.
166166
build but makes sure that all tags are fetched. In the future it is planned to
167167
allow using `git.exe` instead of current `libgit2sharp` for syncing the repos
168168
which might allow other possibilities to solve this issue. For details see this
169-
[GitHub issue](https://github.com/Microsoft/azure-pipelines-tasks/issues/1218).
169+
[GitHub issue](https://github.com/microsoft/azure-pipelines-tasks/issues/1218).
170170
* If running a build for a certain commit (through passing the commit SHA while
171171
queueing the build) all tags from the repository will be fetched, even the ones
172172
newer than the commit. This can lead to different version numbers while

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,16 @@ RedirectFrom: docs/build-server-support/build-server/myget
88
MyGet Build Services has built-in support for GitVersion and is encouraging you
99
to leverage GitVersion + GitFlow to produce Semantically Versioned packages.
1010

11-
* Create a [custom build script](http://docs.myget.org/docs/reference/custom-build-scripts):
11+
* Create a [custom build script](https://docs.myget.org/docs/reference/custom-build-scripts):
1212
we advise to run a tool like GitVersion in a _pre-build_ script, so that it can
1313
set additional environment variables for the actual build script. MyGet
14-
[by convention](http://docs.myget.org/docs/reference/build-services#Pre-\_and_post-build_steps)
14+
[by convention](https://docs.myget.org/docs/reference/build-services#Pre-\_and_post-build_steps)
1515
automatically picks up any of the following file names as pre-build script:
1616
* `pre-build.(bat|cmd|ps1)`
1717
* `pre-myget.(bat|cmd|ps1)`
1818
* Run `GitVersion /output buildserver`: this will cause MyGet Build Services to
1919
set the current `%PackageVersion%` value to the NuGet-compatible SemVer
20-
generated by GitVersion and apply this [MyGet Environment Variable](http://docs.myget.org/docs/reference/build-services#Available_Environment_Variables)
20+
generated by GitVersion and apply this [MyGet Environment Variable](https://docs.myget.org/docs/reference/build-services#Available_Environment_Variables)
2121
wherever it is used during the build process.
2222
* Ensure the build script has been pushed to your source repository root. Done :)
2323

@@ -31,5 +31,5 @@ example using the command:
3131
`call %GitVersion% /updateassemblyinfo true`.
3232
:::
3333

34-
Also check [docs.myget.org](http://docs.myget.org/docs/reference/build-services#GitVersion_and_Semantic_Versioning)
34+
Also check [docs.myget.org](https://docs.myget.org/docs/reference/build-services#GitVersion_and_Semantic_Versioning)
3535
for the latest full info.

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,9 @@ Sorry
104104

105105
* [Continuous Delivery Setup in TeamCity][cd]
106106

107-
[cd]: http://jake.ginnivan.net/blog/2014/07/09/my-typical-teamcity-build-setup
107+
[cd]: https://jake.ginnivan.net/blog/2014/07/09/my-typical-teamcity-build-setup
108108
[dynamic-repo]: /docs/learn/dynamic-repositories
109-
[general-settings]: https://www.jetbrains.com/help/teamcity/git.html#Git-GeneralSettings
110-
[parameter]: http://confluence.jetbrains.com/display/TCD8/Configuring+Build+Parameters
109+
[general-settings]: https://www.jetbrains.com/help/teamcity/git.html#General+Settings
110+
[parameter]: https://confluence.jetbrains.com/display/TCD8/Configuring+Build+Parameters
111111
[teamcity]: https://www.jetbrains.com/teamcity/
112112
[meta-runner]: https://github.com/JetBrains/meta-runner-power-pack/tree/master/gitversion

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ an external manual process.
6969
* [Continuous Delivery on Wikipedia][wikipedia]
7070
* [Continuous Delivery, the book][book]
7171
72-
[book]: http://www.amazon.com/Continuous-Delivery-Deployment-Automation-Addison-Wesley/dp/0321601912
72+
[book]: https://www.amazon.com/Continuous-Delivery-Deployment-Automation-Addison-Wesley/dp/0321601912
7373
[configuration]: /docs/reference/configuration
74-
[continuous-deployment]: continuous-deployment
74+
[continuous-deployment]: /docs/reference/modes/continuous-deployment
7575
[mainline]: /docs/reference/modes/mainline
7676
[wikipedia]: https://en.wikipedia.org/wiki/Continuous_delivery

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ giving you the features of GitVersion with continuous deployment:
3838
mode: ContinuousDeployment
3939
```
4040
41-
[blog]: http://www.xavierdecoster.com/semantic-versioning-auto-incremented-nuget-package-versions
41+
[blog]: https://www.xavierdecoster.com/semantic-versioning-auto-incremented-nuget-package-versions
4242
[configuration]: /docs/reference/configuration
4343
[continuous-delivery]: /docs/reference/modes/continuous-delivery
4444
[mainline]: /docs/reference/modes/mainline

docs/input/docs/reference/version-increments.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ will produce a stable `2.0.0` package.
148148
For more information/background on why we have come to this conclusion, read
149149
[Xavier Decoster's blog post on the subject][auto-incremented-nuget-package].
150150

151-
[auto-incremented-nuget-package]: http://www.xavierdecoster.com/semantic-versioning-auto-incremented-nuget-package-versions
151+
[auto-incremented-nuget-package]: https://www.xavierdecoster.com/semantic-versioning-auto-incremented-nuget-package-versions
152152
[continuous-delivery]: /docs/reference/modes/continuous-delivery
153153
[conventional-commits]: https://www.conventionalcommits.org/
154154
[faq-branch-name-source]: /docs/learn/faq#merged-branch-names-as-version-source

docs/input/docs/usage/cli/installation.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ of writing: Linux and macOS).
4545

4646
### Chocolatey
4747

48-
Available on [Chocolatey](http://chocolatey.org) as
48+
Available on [Chocolatey](https://chocolatey.org) as
4949
[`GitVersion.Portable`][choco].
5050

5151
```shell
@@ -84,7 +84,7 @@ of writing: Linux, macOS, Windows).
8484

8585
[dotnet-tool]: https://docs.microsoft.com/en-us/dotnet/core/tools/global-tools#install-a-global-tool
8686
[tool]: https://www.nuget.org/packages/GitVersion.Tool/
87-
[brew]: https://formulae.brew.sh/formula-linux/gitversion
87+
[brew]: https://formulae.brew.sh/formula/gitversion
8888
[homebrew]: https://brew.sh/
8989
[docker]: https://hub.docker.com/r/gittools/gitversion
90-
[choco]: http://chocolatey.org/packages/GitVersion.Portable
90+
[choco]: https://chocolatey.org/packages/GitVersion.Portable

0 commit comments

Comments
 (0)