Skip to content

Commit 6d4ebb8

Browse files
committed
Fix docs code formatting on faker-comparison page
1 parent 3a9dde0 commit 6d4ebb8

File tree

2 files changed

+14
-6
lines changed

2 files changed

+14
-6
lines changed

CHANGELOG.md

+8-2
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,14 @@ All notable changes to this project will be documented in this file.
44
The format follows [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and the project versioning adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html)
66

7-
## [1.11.0] - UNRELEASED
7+
## [1.11.0] - 2022-05-22
88
### Added
99
- [#122](https://github.com/serpro69/kotlin-faker/pull/122) [core] Add (unique) `numerify`, `letterify`, `bothify` and `regexify` functions through `StringProvider`
1010
- [#129](https://github.com/serpro69/kotlin-faker/pull/129) [core] Update dictionary files, including:
1111
- New data and functions in existing data providers
12-
- New data providers:
12+
- <details><summary>New data providers:</summary>
13+
<p>
14+
1315
- `adjective`
1416
- `australia`
1517
- `bible`
@@ -39,6 +41,10 @@ and the project versioning adheres to [Semantic Versioning](https://semver.org/s
3941
- `touhou`
4042
- `tron`
4143
- `volleyball`
44+
45+
</p>
46+
</details>
47+
4248
- Updates to existing localized dictionaries
4349
- Especially notable for `fr` and `ja` locales as they now, similarly to `en` locale, contain multiple dict files per locale
4450
- New localized dictionaries for `es-AR`, `lt` and `mi-NZ` locales

docs/src/orchid/resources/pages/faker-comparisons.md

+6-4
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ So why use this one instead? I've decided to make a comparison between <strong>k
1010

1111
{% info %}
1212
The benchmarks time is an average execution time of 10 consecutive runs on the system with the following specs:
13-
<br>
13+
{% filter compileAs('md') %}
1414
```text
1515
OS: Ubuntu 20.04.4 LTS x86_64
1616
Host: Precision 5530
@@ -20,9 +20,10 @@ GPU: NVIDIA Quadro P2000 Mobile
2020
GPU: Intel UHD Graphics 630
2121
Memory: 21277MiB / 31728MiB
2222
```
23-
<br>
23+
{% endfilter %}
24+
2425
Each run includes creating a new Faker instance and generating a 1_000_000 values with the function returning a person's full name:
25-
<br>
26+
{% filter compileAs('md') %}
2627
```kotlin
2728
fun main() {
2829
List(10) { it }.sumOf {
@@ -33,6 +34,7 @@ fun main() {
3334
} / 10
3435
}
3536
```
37+
{% endfilter %}
3638
<br>
3739
<i>Note: benchmarks for `blocoio/faker` could not be done due to unexpected exceptions coming from the lib, benchmarks for `moove-it/fakeit` could not be done due to android dependencies in the lib</i>
3840
{% endinfo %}
@@ -136,7 +138,7 @@ fun main() {
136138
<td><strong>Actively maintained</strong></td>
137139
<td>&#10004;</td>
138140
<td>&#10004;</td>
139-
<td>&#10004;</td>
141+
<td>&#10007;</td>
140142
<td>&#10004;</td>
141143
<td>&#10007;</td>
142144
</tr>

0 commit comments

Comments
 (0)