Bjørn Erik Pedersen
9d76b8fa34
Merge commit 'd706529720b3b2ccb99719ccd578062ca25a0cc2'
2022-03-08 19:39:33 +01:00
Bjørn Erik Pedersen
d706529720
Squashed 'docs/' changes from 3f95a2ace..a393f4cf4
...
a393f4cf4 Add a Spellcheck GitHub Action and config
8b6b1c381 netlify: Bump to Hugo 0.93.3
84515c183 Delete deployment-with-nanobox.md
dd45f9899 Fix typos in docs
e69de81a9 Update build-options.md
7745b7891 netlify: Hubo 0.93.2
037d63364 Clarify GitHub Pages Branches
94660c34b add missing %s
325de15e2 fix link to latest release note since the release notes were moved to GitHub: https://gohugo.io/news/no-more-releasenotes-here/
dbff41d01 Update introduction.md
0ecd627f7 netlify: Hugo 0.93.1
a74e16582 Update diagrams.md
33e310956 Add Goat example to test styling
fa0100a5b Update diagrams.md
64ac75367 Adjust diagram docs
f1d600044 Update theme
95bedff1a netlify: Bump to Hugo 0.93.0
849a8437f Merge commit 'c1398b91a9f4c67876b31feb67516b252e654d3c'
c0c60c43c docs: Regenerate docs helper
2c63fe518 cod: Regen CLI docs
f33ba4e5a CodeblockContext method renames
979b47968 Move the Goat template to the correct place
2df37e9e8 Add Markdown diagrams and render hooks for code blocks
bd8037d43 Allow images to be cropped without being resized
8b2af4b49 modules: Add modules.Workspace config for Go 1.18
46b99dea1 Add --printUnusedTemplates
1285302c9 commands: Rename --i18n-warnings to printI18nWarnings
dea2242c6 commands: Rename --path-warnings, --print-men to --printPathWarnings, --printMemoryUsage
db782ea46 deps: Update github.com/alecthomas/chroma v0.9.4 => v0.10.0
git-subtree-dir: docs
git-subtree-split: a393f4cf43
2022-03-08 19:37:17 +01:00
Bjørn Erik Pedersen
4576c82ed4
Cache reflect.MethodByName
...
The isolated benchmark for the function is obviously much faster:
```bash
name old time/op new time/op delta
GetMethodByName-10 1.21µs ± 7% 0.23µs ± 5% -81.42% (p=0.029 n=4+4)
name old alloc/op new alloc/op delta
GetMethodByName-10 680B ± 0% 0B -100.00% (p=0.029 n=4+4)
name old allocs/op new allocs/op delta
GetMethodByName-10 20.0 ± 0% 0.0 -100.00% (p=0.029 n=4+4)
```
But more pleasing is the overall performance looking at the site benchmarks:
```bash
name old time/op new time/op delta
SiteNew/Regular_Bundle_with_image-10 6.25ms ± 2% 6.10ms ± 2% ~ (p=0.057 n=4+4)
SiteNew/Regular_Bundle_with_JSON_file-10 6.30ms ± 2% 5.66ms ±11% ~ (p=0.057 n=4+4)
SiteNew/Regular_Tags_and_categories-10 22.2ms ± 2% 17.4ms ± 1% -21.88% (p=0.029 n=4+4)
SiteNew/Regular_Canonify_URLs-10 108ms ± 0% 107ms ± 0% -1.20% (p=0.029 n=4+4)
SiteNew/Regular_Deep_content_tree-10 36.1ms ± 1% 33.8ms ± 1% -6.44% (p=0.029 n=4+4)
SiteNew/Regular_TOML_front_matter-10 24.9ms ± 1% 22.6ms ± 1% -9.30% (p=0.029 n=4+4)
SiteNew/Regular_Many_HTML_templates-10 17.9ms ± 1% 16.7ms ± 1% -6.43% (p=0.029 n=4+4)
SiteNew/Regular_Page_collections-10 23.3ms ± 1% 22.0ms ± 0% -5.58% (p=0.029 n=4+4)
SiteNew/Regular_List_terms-10 8.00ms ± 1% 7.63ms ± 0% -4.62% (p=0.029 n=4+4)
name old alloc/op new alloc/op delta
SiteNew/Regular_Bundle_with_image-10 2.10MB ± 0% 2.07MB ± 0% -1.46% (p=0.029 n=4+4)
SiteNew/Regular_Bundle_with_JSON_file-10 1.88MB ± 0% 1.85MB ± 0% -1.76% (p=0.029 n=4+4)
SiteNew/Regular_Tags_and_categories-10 13.5MB ± 0% 11.6MB ± 0% -13.99% (p=0.029 n=4+4)
SiteNew/Regular_Canonify_URLs-10 96.1MB ± 0% 95.8MB ± 0% -0.40% (p=0.029 n=4+4)
SiteNew/Regular_Deep_content_tree-10 28.4MB ± 0% 27.3MB ± 0% -3.83% (p=0.029 n=4+4)
SiteNew/Regular_TOML_front_matter-10 16.9MB ± 0% 15.1MB ± 0% -10.58% (p=0.029 n=4+4)
SiteNew/Regular_Many_HTML_templates-10 8.98MB ± 0% 8.44MB ± 0% -6.04% (p=0.029 n=4+4)
SiteNew/Regular_Page_collections-10 17.1MB ± 0% 16.5MB ± 0% -3.91% (p=0.029 n=4+4)
SiteNew/Regular_List_terms-10 3.92MB ± 0% 3.72MB ± 0% -5.03% (p=0.029 n=4+4)
name old allocs/op new allocs/op delta
SiteNew/Regular_Bundle_with_image-10 25.8k ± 0% 24.9k ± 0% -3.49% (p=0.029 n=4+4)
SiteNew/Regular_Bundle_with_JSON_file-10 25.8k ± 0% 24.9k ± 0% -3.49% (p=0.029 n=4+4)
SiteNew/Regular_Tags_and_categories-10 288k ± 0% 233k ± 0% -18.90% (p=0.029 n=4+4)
SiteNew/Regular_Canonify_URLs-10 375k ± 0% 364k ± 0% -2.80% (p=0.029 n=4+4)
SiteNew/Regular_Deep_content_tree-10 314k ± 0% 283k ± 0% -9.77% (p=0.029 n=4+4)
SiteNew/Regular_TOML_front_matter-10 302k ± 0% 252k ± 0% -16.55% (p=0.029 n=4+4)
SiteNew/Regular_Many_HTML_templates-10 133k ± 0% 117k ± 0% -11.81% (p=0.029 n=4+4)
SiteNew/Regular_Page_collections-10 202k ± 0% 183k ± 0% -9.55% (p=0.029 n=4+4)
SiteNew/Regular_List_terms-10 55.6k ± 0% 49.8k ± 0% -10.40% (p=0.029 n=4+4)
```
Thanks to @quasilyte for the suggestion.
Fixes 9386
2022-03-08 19:36:55 +01:00
Bjørn Erik Pedersen
ff02d41721
releaser: Remove the GitHub link syntax around release contributors
...
Fixes #9581
2022-03-08 19:36:31 +01:00
Bjørn Erik Pedersen
63bb2a5b18
Some minor adjustments to the new static filesystem logic
...
Closes #9625
2022-03-08 19:27:54 +01:00
SatowTakeshi
7d8011ed63
Allow rendering static files to disk and dynamic to memory in server mode
...
Updates #9625
2022-03-08 19:27:54 +01:00
Christian Oliff
a393f4cf43
Add a Spellcheck GitHub Action and config
2022-03-08 16:59:24 +01:00
dependabot[bot]
b9a1be2f99
build(deps): bump github.com/kyokomi/emoji/v2 from 2.2.8 to 2.2.9
...
Bumps [github.com/kyokomi/emoji/v2](https://github.com/kyokomi/emoji ) from 2.2.8 to 2.2.9.
- [Release notes](https://github.com/kyokomi/emoji/releases )
- [Commits](https://github.com/kyokomi/emoji/compare/v2.2.8...v2.2.9 )
---
updated-dependencies:
- dependency-name: github.com/kyokomi/emoji/v2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-03-08 16:10:04 +01:00
dependabot[bot]
0978245039
build(deps): bump github.com/evanw/esbuild from 0.14.23 to 0.14.25
...
Bumps [github.com/evanw/esbuild](https://github.com/evanw/esbuild ) from 0.14.23 to 0.14.25.
- [Release notes](https://github.com/evanw/esbuild/releases )
- [Changelog](https://github.com/evanw/esbuild/blob/master/CHANGELOG.md )
- [Commits](https://github.com/evanw/esbuild/compare/v0.14.23...v0.14.25 )
---
updated-dependencies:
- dependency-name: github.com/evanw/esbuild
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-03-08 16:09:17 +01:00
dependabot[bot]
ff37df830c
build(deps): bump github.com/niklasfasching/go-org from 1.6.0 to 1.6.2
...
Bumps [github.com/niklasfasching/go-org](https://github.com/niklasfasching/go-org ) from 1.6.0 to 1.6.2.
- [Release notes](https://github.com/niklasfasching/go-org/releases )
- [Commits](https://github.com/niklasfasching/go-org/compare/v1.6.0...v1.6.2 )
---
updated-dependencies:
- dependency-name: github.com/niklasfasching/go-org
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-03-08 16:08:32 +01:00
dependabot[bot]
5857d5524a
build(deps): bump github.com/getkin/kin-openapi from 0.90.0 to 0.91.0
...
Bumps [github.com/getkin/kin-openapi](https://github.com/getkin/kin-openapi ) from 0.90.0 to 0.91.0.
- [Release notes](https://github.com/getkin/kin-openapi/releases )
- [Commits](https://github.com/getkin/kin-openapi/compare/v0.90.0...v0.91.0 )
---
updated-dependencies:
- dependency-name: github.com/getkin/kin-openapi
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-03-08 16:05:40 +01:00
Bjørn Erik Pedersen
8b6b1c381d
netlify: Bump to Hugo 0.93.3
2022-03-08 14:48:20 +01:00
hugoreleaser
d86eca5bb2
releaser: Prepare repository for 0.94.0-DEV
...
[ci skip]
2022-03-08 10:50:30 +00:00
hugoreleaser
44e3c002a8
releaser: Bump versions for release of 0.93.3
...
[ci skip]
2022-03-08 10:15:27 +00:00
hugoreleaser
9177849f9b
releaser: Add release notes for 0.93.3
...
[ci skip]
2022-03-08 10:15:27 +00:00
Bjørn Erik Pedersen
0e0d672bcb
Remove the decorator from the fs used in ReadDir
...
There have been a site breakage reported in the wild after 0.93.1. With this commit we shoudl be back to how it behaved in 0.92.2.
Closes #9609
2022-03-08 09:51:59 +01:00
Bjørn Erik Pedersen
19f816f77e
Update stale.yml
...
operations-per-run: 999
We need to get this done so the notification gets back to normal.
2022-03-08 09:09:38 +01:00
Christian Oliff
84515c183b
Delete deployment-with-nanobox.md
...
service was acquired and closed down:
https://nanobox.io/
2022-03-08 08:58:43 +01:00
dependabot[bot]
970f385c48
build(deps): bump github.com/yuin/goldmark from 1.4.7 to 1.4.8
...
Bumps [github.com/yuin/goldmark](https://github.com/yuin/goldmark ) from 1.4.7 to 1.4.8.
- [Release notes](https://github.com/yuin/goldmark/releases )
- [Commits](https://github.com/yuin/goldmark/compare/v1.4.7...v1.4.8 )
---
updated-dependencies:
- dependency-name: github.com/yuin/goldmark
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-03-07 09:59:16 +01:00
Bjørn Erik Pedersen
76c1248f70
Remove the examples/ folder
...
These are not maintained and do not belong in this repository.
2022-03-06 11:09:41 +01:00
Christian Oliff
dd45f9899b
Fix typos in docs
2022-03-05 10:46:51 +01:00
Bjørn Erik Pedersen
e69de81a91
Update build-options.md
2022-03-05 10:40:55 +01:00
Bjørn Erik Pedersen
7745b78913
netlify: Hubo 0.93.2
2022-03-04 14:50:16 +01:00
hugoreleaser
9e76507da2
releaser: Prepare repository for 0.94.0-DEV
...
[ci skip]
2022-03-04 12:57:53 +00:00
hugoreleaser
643b5ae9cf
releaser: Bump versions for release of 0.93.2
...
[ci skip]
2022-03-04 12:21:48 +00:00
hugoreleaser
2f7feca9a1
releaser: Add release notes for 0.93.2
...
[ci skip]
2022-03-04 12:21:48 +00:00
Bjørn Erik Pedersen
673cde1eb1
tpl/os: Revert readDir in theme behaviour
...
Fixes #9599
2022-03-04 08:43:47 +01:00
rick-masters
037d633649
Clarify GitHub Pages Branches
2022-03-03 15:54:31 +01:00
Yannic Haupenthal
94660c34b6
add missing %s
2022-03-03 15:54:06 +01:00
Yannic Haupenthal
325de15e22
fix link to latest release note
...
since the release notes were moved to GitHub:
https://gohugo.io/news/no-more-releasenotes-here/
2022-03-03 15:54:06 +01:00
Bjørn Erik Pedersen
dbff41d012
Update introduction.md
2022-03-03 10:07:34 +01:00
Joe Mooring
e46e9ceb29
markup/goldmark: Escape image alt attribute
...
Fixes #9594
2022-03-02 21:05:33 +01:00
Bjørn Erik Pedersen
0ecd627f7a
netlify: Hugo 0.93.1
2022-03-02 14:52:20 +01:00
hugoreleaser
883e71c96a
releaser: Prepare repository for 0.94.0-DEV
...
[ci skip]
2022-03-02 12:52:43 +00:00
hugoreleaser
e9669fed14
releaser: Bump versions for release of 0.93.1
...
[ci skip]
2022-03-02 12:16:06 +00:00
hugoreleaser
fefb1caacf
releaser: Add release notes for 0.93.1
...
[ci skip]
2022-03-02 12:16:06 +00:00
Bjørn Erik Pedersen
0327da050f
tpl/transform: Fix it when template.HTML is passes as option to Hightlight
...
Fixes #9591
2022-03-02 12:30:35 +01:00
Bjørn Erik Pedersen
9b8b6d34e2
tpl/partials: Fix partialCached deadlock regression
...
This is a rollback of 0927cf739f
We cannot do that change until we either completes #9570 or possibly also use the new TryLock in GO 1.18.
Fixes #9588
Opens #4086
2022-03-02 11:16:21 +01:00
Bjørn Erik Pedersen
376704d382
tpl/collections: Fix apply when function have Context as first arg
...
As introduced in `partial` and `partialCached` in Hugo 0.93.0.
Fixes #9585
2022-03-01 13:18:02 +01:00
Bjørn Erik Pedersen
a74e16582c
Update diagrams.md
2022-02-28 18:51:16 +01:00
Bjørn Erik Pedersen
33e310956b
Add Goat example to test styling
2022-02-28 18:21:44 +01:00
Bjørn Erik Pedersen
fa0100a5b6
Update diagrams.md
2022-02-28 14:13:18 +01:00
Bjørn Erik Pedersen
64ac75367a
Adjust diagram docs
2022-02-28 10:50:52 +01:00
Bjørn Erik Pedersen
f1d6000444
Update theme
2022-02-28 10:42:04 +01:00
Bjørn Erik Pedersen
95bedff1aa
netlify: Bump to Hugo 0.93.0
2022-02-28 10:40:02 +01:00
Bjørn Erik Pedersen
849a8437fb
Merge commit 'c1398b91a9f4c67876b31feb67516b252e654d3c'
2022-02-28 10:37:27 +01:00
Bjørn Erik Pedersen
c1398b91a9
Squashed 'docs/' changes from 93f7baf80..3f95a2ace
...
3f95a2ace Update merge function examples (#1662 )
e8d518011 requires -> require typo fix (#1666 )
e714066cb Update GitLab deployment instructions (#1661 )
11946a218 update GitLab CI/CD yaml syntax (#1649 )
3568ddc03 Add explicit `contentDir` to module-config-mounts (#1658 )
798ac8f68 Add default value to isHTML
d376565ce Create extensions.json
git-subtree-dir: docs
git-subtree-split: 3f95a2ace3
2022-02-28 10:37:27 +01:00
Bjørn Erik Pedersen
41b5bc9637
Merge commit 'c1398b91a9f4c67876b31feb67516b252e654d3c'
2022-02-28 10:37:27 +01:00
hugoreleaser
5a1b394f2a
releaser: Prepare repository for 0.94.0-DEV
...
[ci skip]
2022-02-28 09:05:08 +00:00
hugoreleaser
0746908247
releaser: Bump versions for release of 0.93.0
...
[ci skip]
2022-02-28 08:30:42 +00:00