Skip to content

Commit 0af8b80

Browse files
authored
Merge pull request #1641 from dennisdoomen/Merge/FromMaster
Merge website changes from master
2 parents dbe3fda + f0798b1 commit 0af8b80

File tree

7 files changed

+68
-18
lines changed

7 files changed

+68
-18
lines changed

docs/_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ reCaptcha:
5959
atom_feed:
6060
path : # blank (default) uses feed.xml
6161
search : true # true, false (default)
62-
search_full_content : # true, false (default)
62+
search_full_content : true #, false (default)
6363
search_provider : # lunr (default), algolia
6464
algolia:
6565
application_id : # YOUR_APPLICATION_ID

docs/_pages/about.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Because of that Fluent Assertions supports the following minimum platforms.
4949

5050
Fluent Assertions supports the following unit test frameworks:
5151

52-
* MSTest2 (Visual Studio 2017, Visual Studio 2019)
52+
* [MSTest V2](https://github.com/Microsoft/testfx) (Visual Studio 2017, Visual Studio 2019)
5353
* [NUnit](http://www.nunit.org/)
5454
* [XUnit2](https://github.com/xunit/xunit/releases)
5555
* [NSpec](http://nspec.org/)

docs/_sass/minimal-mistakes/_buttons.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
(github, #24292e),
4545
(stackoverflow, #F48024),
4646
(patreon, rgb(250, 118, 100)),
47+
(github, rgb(217, 85, 169)),
4748
(google-plus, $google-plus-color),
4849
(linkedin, $linkedin-color);
4950

docs/_sass/minimal-mistakes/_footer.scss

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,6 @@
99
margin-right: 0;
1010
width: 100%;
1111
clear: both;
12-
/* sticky footer fix start */
13-
position: absolute;
14-
bottom: 0;
15-
height: auto;
16-
/* sticky footer fix end */
1712
margin-top: 3em;
1813
color: $muted-text-color;
1914
-webkit-animation: $intro-transition;

docs/_sass/minimal-mistakes/_page.scss

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,22 @@
2020
}
2121
}
2222

23+
body {
24+
display: -webkit-box;
25+
display: -ms-flexbox;
26+
display: flex;
27+
min-height: 100vh;
28+
-webkit-box-orient: vertical;
29+
-webkit-box-direction: normal;
30+
-ms-flex-direction: column;
31+
flex-direction: column;
32+
}
33+
34+
.initial-content,
35+
.search-content {
36+
flex: 1 0 auto;
37+
}
38+
2339
.page {
2440
@include breakpoint($large) {
2541
float: right;

docs/assets/js/lunr/lunr-store.js

Lines changed: 39 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ var store = [
1818
"title": {{ doc.title | jsonify }},
1919
"excerpt":
2020
{%- if site.search_full_content == true -%}
21-
{{ doc.content |
21+
{{ doc.content | newline_to_br |
22+
replace:"<br />", " " |
2223
replace:"</p>", " " |
2324
replace:"</h1>", " " |
2425
replace:"</h2>", " " |
@@ -28,7 +29,8 @@ var store = [
2829
replace:"</h6>", " "|
2930
strip_html | strip_newlines | jsonify }},
3031
{%- else -%}
31-
{{ doc.content |
32+
{{ doc.content | newline_to_br |
33+
replace:"<br />", " " |
3234
replace:"</p>", " " |
3335
replace:"</h1>", " " |
3436
replace:"</h2>", " " |
@@ -49,4 +51,39 @@ var store = [
4951
{%- endif -%}
5052
}{%- unless forloop.last and l -%},{%- endunless -%}
5153
{%- endfor -%}
54+
{%- endfor -%},
55+
{%- for doc in site.pages -%}
56+
{%- if doc.title and doc.title != "Publications" and doc.title != "People" and doc.title != "News Archive" -%}
57+
{%- if forloop.last -%}
58+
{%- assign l = true -%}
59+
{%- endif -%}
60+
{
61+
"title": {{ doc.title | jsonify }},
62+
"excerpt":
63+
{%- if site.search_full_content == true -%}
64+
{{ doc.content | newline_to_br |
65+
replace:"<br />", " " |
66+
replace:"</p>", " " |
67+
replace:"</h1>", " " |
68+
replace:"</h2>", " " |
69+
replace:"</h3>", " " |
70+
replace:"</h4>", " " |
71+
replace:"</h5>", " " |
72+
replace:"</h6>", " "|
73+
strip_html | strip_newlines | jsonify }},
74+
{%- else -%}
75+
{{ doc.content | newline_to_br |
76+
replace:"<br />", " " |
77+
replace:"</p>", " " |
78+
replace:"</h1>", " " |
79+
replace:"</h2>", " " |
80+
replace:"</h3>", " " |
81+
replace:"</h4>", " " |
82+
replace:"</h5>", " " |
83+
replace:"</h6>", " "|
84+
strip_html | strip_newlines | truncatewords: 50 | jsonify }},
85+
{%- endif -%}
86+
"url": {{ doc.url | absolute_url | jsonify }}
87+
}{%- unless forloop.last and l -%},{%- endunless -%}
88+
{%- endif -%}
5289
{%- endfor -%}]

docs/index.html

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@
66
overlay_color: "#373737"
77
overlay_filter: "0.7"
88
overlay_image: "/assets/images/fluent_assertions_large_horizontal.svg"
9-
cta_label: "Get 6.0 now!"
10-
cta_url: "/releases/#5100"
11-
caption: "Logo by [**IUserName**](https://github.com/IUsername) <br/>Icons by [**Zlatko Najdenovski**](https://www.flaticon.com/authors/zlatko-najdenovski) from [Flaticon](https://www.flaticon.com/)"
9+
cta_label: "6.0 Beta 1 is out and it's huge!"
10+
cta_url: "https://github.com/fluentassertions/fluentassertions/blob/release-6.0/docs/_pages/releases.md#600-beta-1"
11+
caption: "Logo by [**IUserName**](https://github.com/IUsername) and icons by [**Zlatko Najdenovski**](https://www.flaticon.com/authors/zlatko-najdenovski) from [Flaticon](https://www.flaticon.com/)
12+
"
1213
excerpt: '_"With Fluent Assertions, the assertions look beautiful, natural and, most importantly, extremely readable"_ - [Girish](https://twitter.com/girishracharya)
1314
<br />
1415
![](https://img.shields.io/nuget/dt/FluentAssertions.svg?style=for-the-badge)
@@ -18,12 +19,12 @@
1819
'
1920
intro:
2021
- excerpt: '
21-
[Follow <i class="fab fa-twitter"></i> @ddoomen](https://twitter.com/ddoomen){: .btn .btn--twitter}
22-
[Follow <i class="fab fa-twitter"></i> @jnyrup](https://twitter.com/jnyrup){: .btn .btn--twitter}
22+
[<i class="fab fa-twitter"></i> @ddoomen](https://twitter.com/ddoomen){: .btn .btn--twitter}
23+
[<i class="fab fa-twitter"></i> @jnyrup](https://twitter.com/jnyrup){: .btn .btn--twitter}
24+
[<i class="fab fa-github"></i> Github Sponsors](https://github.com/sponsors/dennisdoomen){: .btn .btn--github}
25+
[<i class="fab fa-patreon"></i> Patreon](https://www.patreon.com/bePatron?u=9250052&redirect_uri=http%3A%2F%2Ffluentassertions.com%2F&utm_medium=widget){: .btn .btn--patreon}
2326
[<i class="fab fa-paypal"></i> Tip Us](https://paypal.me/fluentassertions){: .btn .btn--paypal}
2427
[<i class="fa fa-coffee"></i> Buy us a coffee](https://ko-fi.com/dennisdoomen){: .btn .btn--paypal}
25-
[<i class="fab fa-patreon"></i> Sponsor Us](https://www.patreon.com/bePatron?u=9250052&redirect_uri=http%3A%2F%2Ffluentassertions.com%2F&utm_medium=widget){: .btn .btn--patreon}
26-
[<i class="fas fa-money-check"></i> Wire Us](mailto:dennis.doomen@avivasolutions.nl?subject=Support%20Fluent%20Assertions){: .btn .btn--rabobank}
2728
<br/>
2829
A very extensive set of extension methods that allow you to more naturally specify the expected outcome of a TDD or
2930
BDD-style unit tests. Targets .NET Framework 4.7, as well as .NET Core 2.1, .NET Core 3.0, .NET Standard 2.0 and 2.1.'
@@ -75,8 +76,8 @@
7576
- title: "Powered By"
7677
image_path: /assets/images/gift.svg
7778
excerpt: '
78-
This project is made possible by
79-
<a href="https://www.jetbrains.com/rider/"><img src="/assets/images/jetbrainsrider.svg" style="width:150px"/></a> and
79+
This project is supported by [Michaël Hompus](https://hompus.nl/), [Artur Krajewski](https://github.com/krajek), [Matthias Koch](https://ithrowexceptions.com/), [Wouter Huysentruit](https://www.huysentruit.be/) and [Innovensa](https://www.innovensa.co.uk/), with special thanks to our super-sponsors
80+
[Cristian Quirosj](https://github.com/cquirosj), <a href="https://www.jetbrains.com/rider/"><img src="/assets/images/jetbrainsrider.svg" style="width:150px"/></a> and
8081
<a href="https://www.semanticmerge.com/"><img src="/assets/images/semantic-merge.png" style="width:150px"/></a>
8182
'
8283
- title: "Community Extensions"

0 commit comments

Comments
 (0)