Skip to content

Commit a4927d6

Browse files
authored
Merge pull request #2599 from asbjornu/feature/website-refresh
Refresh website
2 parents 7f10281 + 3607803 commit a4927d6

File tree

102 files changed

+1558
-742
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

102 files changed

+1558
-742
lines changed

.github/workflows/docs.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Verify Documentation
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- uses: actions/checkout@v2
11+
with:
12+
fetch-depth: 0
13+
14+
- name: '[Build Documentation]'
15+
shell: pwsh
16+
run: ./build.ps1 -Target Build-Documentation
17+
18+
- name: '[HTMLProofer]'
19+
uses: chabad360/htmlproofer@master
20+
with:
21+
directory: ./artifacts/Documentation
22+
arguments: --url-ignore /api/ --allow-hash-href --assume-extension --disable-external

BREAKING_CHANGES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,6 @@ work for you
4242
`GitVersionConfig.yaml` instead
4343
- GitVersionTask's `ReleaseDateAttribute` no longer exists
4444

45-
[gitflow]: https://gitversion.net/docs/git-branching-strategies/gitflow-examples_complete
45+
[gitflow]: https://gitversion.net/docs/learn/branching-strategies/gitflow-examples_complete
4646
[pr-1541]: https://github.com/GitTools/GitVersion/pull/1541
4747
[pr-1581]: https://github.com/GitTools/GitVersion/pull/1581

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ We love contributions to get started contributing you might need:
55
- [Get started with git](http://rogerdudler.github.io/git-guide)
66
- [How to create a pull request](https://help.github.com/articles/using-pull-requests)
77
- [An issue to work on](https://github.com/GitTools/GitVersion/labels/up-for-grabs) - We are on [Up for grabs](http://up-for-grabs.net/), our up for grabs issues are tagged `up-for-grabs`
8-
- An understanding of our [architecture](http://gitversion.readthedocs.org/en/latest/more-info/how-it-works/#architecture) and how [we write tests](#writing-tests)
8+
- An understanding of our [architecture](http://gitversion.net/docs/learn/how-it-works#architecture) and how [we write tests](#writing-tests)
99

1010
Once you know how to create a pull request and have an issue to work on, just post a comment saying you will work on it.
1111
If you end up not being able to complete the task, please post another comment so others can pick it up.
@@ -23,7 +23,7 @@ Issues are also welcome, [failing tests](#writing-tests) are even more welcome.
2323

2424
## How it works
2525

26-
See [how it works](http://gitversion.readthedocs.org/en/latest/more-info/how-it-works/) in GitVersion's documentation
26+
See [how it works](http://gitversion.net/docs/learn/how-it-works/) in GitVersion's documentation
2727

2828
## Writing Tests
2929

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ from The Noun Project.
8484
[contribute]: https://github.com/GitTools/GitVersion/blob/main/CONTRIBUTING.md
8585
[why]: https://gitversion.net/docs/why
8686
[usage]: https://gitversion.net/docs/usage/usage
87-
[how]: https://gitversion.net/docs/more-info/how-it-works
87+
[how]: https://gitversion.net/docs/learn/how-it-works
8888
[faq]: https://gitversion.net/docs/faq
8989
[who]: https://gitversion.net/docs/who
9090
[gv-in-action]: https://raw.github.com/GitTools/GitVersion/master/docs/input/docs/img/README.png

build/docs.cake

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Task("Preview-Documentation")
2323
});
2424
});
2525

26-
Task("Force-Publish-Documentation")
26+
Task("Build-Documentation")
2727
.IsDependentOn("Clean-Documentation")
2828
.WithCriteria(() => DirectoryExists(MakeAbsolute(Directory("docs"))), "Wyam documentation directory is missing")
2929
.Does<BuildParameters>((parameters) =>
@@ -37,7 +37,12 @@ Task("Force-Publish-Documentation")
3737
ConfigurationFile = MakeAbsolute((FilePath)"config.wyam"),
3838
Settings = parameters.WyamAdditionalSettings
3939
});
40+
});
4041

42+
Task("Force-Publish-Documentation")
43+
.IsDependentOn("Build-Documentation")
44+
.Does<BuildParameters>((parameters) =>
45+
{
4146
PublishDocumentation(parameters);
4247
});
4348

docs/input/_Card.cshtml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<div class="card">
2+
<div class="card-header">
3+
<img src="/assets/img/@Model.String("CardIcon")" alt="" aria-hidden="true">
4+
<h5>@Html.Raw(Model.String(Keys.Title))</h5>
5+
</div>
6+
7+
<div class="card-body">
8+
<p class="card-text">@Html.Raw(Model.String(DocsKeys.Description))</p>
9+
<a href="/@Model.String(Keys.RelativeFilePathBase)" class="btn btn-primary">
10+
@Html.Raw(Model.String(Keys.Title))
11+
</a>
12+
</div>
13+
</div>

docs/input/_Head.cshtml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
11
<meta name="google" content="notranslate">
22
<meta http-equiv="Content-Language" content="en">
33
<meta name="google-site-verification" content="46g_yrsDyk5YTGoXb2ii9BjmTJ2QAEsacqn6wqiAiII" />
4+
<meta property="og:image" content="https://github.com/GitTools/graphics/raw/master/GitVersion/banner-1280x640.png" />
5+
<meta property="og:site_name" content="GitVersion" />
6+
<meta property="og:type" content="object" />
7+
<meta property="og:title" content="GitVersion" />
8+
<meta property="og:url" content="https://gitversion.net/" />
9+
<meta property="og:description" content="From git log to SemVer in no time" />
10+
<link rel="icon" href="/assets/img/icon.png" type="image/png">
11+
<link rel="icon" href="/assets/img/icon.svg" type="image/svg">
12+
<link rel="apple-touch-icon" href="/assets/img/icon.png" type="image/png">
13+
<link rel="apple-touch-icon" href="/assets/img/icon.svg" type="image/svg">
Binary file not shown.

0 commit comments

Comments
 (0)