Bjørn Erik Pedersen
9af78d1100
tpl/collections: Improve error message in Index
2023-02-08 10:22:20 +01:00
Max Efremov and Joe Mooring
596af47f58
Fixing typo in configuration.md doc ( #1966 )
...
Co-authored-by: Joe Mooring <joe@mooring.com >
2023-02-07 20:46:31 -08:00
Bjørn Erik Pedersen
d33a7ebcc1
Make the HTML collector parsing more robust
...
Most notably better handling self-closing elements
Closes #10698
2023-02-07 09:11:02 +01:00
Bjørn Erik Pedersen
2a364cca64
Revert "build(deps): bump github.com/getkin/kin-openapi from 0.110.0 to 0.114.0"
...
This reverts commit 87c78bd3e9 .
There seem to be some breaking changes in the above that needs to be looked into.
2023-02-05 20:34:35 +01:00
Joe Mooring
3fb2417cb7
deps: Upgrade github.com/yuin/goldmark v1.5.3 => v1.5.4
...
Closes #10661
2023-02-05 20:09:06 +01:00
Bjørn Erik Pedersen
fce0890484
tpl/strings: Add strings.ContainsNonSpace
2023-02-05 20:08:44 +01:00
dependabot[bot]
87c78bd3e9
build(deps): bump github.com/getkin/kin-openapi from 0.110.0 to 0.114.0
...
Bumps [github.com/getkin/kin-openapi](https://github.com/getkin/kin-openapi ) from 0.110.0 to 0.114.0.
- [Release notes](https://github.com/getkin/kin-openapi/releases )
- [Commits](https://github.com/getkin/kin-openapi/compare/v0.110.0...v0.114.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 >
2023-02-05 20:07:15 +01:00
Joe Mooring
69c369e114
deps: Upgrade github.com/alecthomas/chroma v2.4.0 => v2.5.0
...
Fixes #9890
Fixes #10692
2023-02-05 20:06:51 +01:00
Khayyam Saleem
73ece30d84
markup: Fix linenos codeblock hl option case regression
...
This fixes a regression introduced in v0.93.0 where previously, a
mixed-case key for lineNos would be successfully parsed. This change
moves the configuration key lowercasing step into the configuration
normalization stage, which is called whether the highlighting config
is being parsed from a `string` or a `map`.
Fixes #10682
2023-02-05 20:06:25 +01:00
Bjørn Erik Pedersen
f9fc0e045b
Fix slow HTML elements collector for the pre case
...
```
name old time/op new time/op delta
ElementsCollectorWriterPre-10 25.2µs ± 1% 3.4µs ± 0% -86.54% (p=0.029 n=4+4)
name old alloc/op new alloc/op delta
ElementsCollectorWriterPre-10 624B ± 0% 142B ± 0% -77.18% (p=0.029 n=4+4)
name old allocs/op new allocs/op delta
ElementsCollectorWriterPre-10 16.0 ± 0% 6.0 ± 0% -62.50% (p=0.029 n=4+4)
```
Fixes #10698
2023-02-05 20:01:39 +01:00
Bjørn Erik Pedersen
4f4a1c00bf
publisher: Add benchmark
2023-02-05 16:39:31 +01:00
Olivér Falvai
c47cadfcbd
Fix hardWraps config spelling ( #1964 )
2023-02-03 13:03:47 -08:00
Anthony Fok
76c6140c52
snap: Install dart-sass-embedded for 32-bit ARM (armhf) too
...
See https://github.com/sass/dart-sass-embedded/releases/tag/1.54.7
which "Add[ed] support for 32-bit ARM releases on Linux" on 2022-08-30.
2023-02-03 14:58:11 +01:00
Anthony Fok
d4482e8bf4
snap: Add read access for ~/.gitconfig.local and ~/.config/git/* too
...
in hugo:gitconfig plug (personal-files interface) in case end users need
the flexibility of using additional custom git config files.
Fixes #10337
2023-02-03 14:57:53 +01:00
Joe Mooring
5739a174ee
Add detail to tabWidth highlighting option
2023-01-31 18:48:44 -08:00
Paolo Mainardi
73a4bcd1f4
doc: Add hugo-lyra search engine ( #1959 )
...
* doc: Add hugo-lyra search engine
* Fix capitalization
2023-01-31 14:11:08 -08:00
Bjørn Erik Pedersen
1477d0ba90
commands: Fix server url rewrites (http status 200)
...
Broken by me in Hugo 0.103.0 it seems. A little bit mysterious as it has worked for me after that, but started to fail just
recently.
Closes #10668
2023-01-31 12:42:31 +01:00
dependabot[bot]
dd37163f5a
build(deps): bump github.com/kyokomi/emoji/v2 from 2.2.10 to 2.2.11
...
Bumps [github.com/kyokomi/emoji/v2](https://github.com/kyokomi/emoji ) from 2.2.10 to 2.2.11.
- [Release notes](https://github.com/kyokomi/emoji/releases )
- [Commits](https://github.com/kyokomi/emoji/compare/v2.2.10...v2.2.11 )
---
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 >
2023-01-31 09:41:13 +01:00
dependabot[bot]
c3a59a7d5a
build(deps): bump gocloud.dev from 0.24.0 to 0.28.0 ( #10610 )
...
Bumps [gocloud.dev](https://github.com/google/go-cloud ) from 0.24.0 to 0.28.0.
- [Release notes](https://github.com/google/go-cloud/releases )
- [Commits](https://github.com/google/go-cloud/compare/v0.24.0...v0.28.0 )
---
updated-dependencies:
- dependency-name: gocloud.dev
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Closes #9778
2023-01-31 09:40:39 +01:00
Joe Mooring
4ccc8cfb4c
Fix description of collections.Uniq
2023-01-31 08:12:45 +01:00
Bjørn Erik Pedersen
e2cfc3d5a2
Update CONTRIBUTING.md
2023-01-31 08:08:52 +01:00
Joe Mooring
6cc9ebdfd8
Update uniq function example ( #1963 )
2023-01-30 11:50:25 -08:00
Joe Mooring
686a65cf69
Update uniq.md
2023-01-30 08:37:49 -08:00
Joe Mooring
096f794d0c
Update uniq.md
2023-01-30 08:37:20 -08:00
Christian Oliff
914ca0c387
remove version from SVG example ( #1957 )
...
version is deprecated and is not needed
REF: https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/version
2023-01-29 18:23:25 -08:00
Bjørn Erik Pedersen
168858331f
Fix shortcode detection in RenderString
...
Fixes #10654
2023-01-26 11:41:07 +01:00
Bjørn Erik Pedersen
4ef9baf5bd
Only invoke a given cached partial once
...
Note that this is backed by a LRU cache (which we soon shall see more usage of), so if you're a heavy user of cached partials it may be evicted and
refreshed if needed. But in most cases every partial is only invoked once.
This commit also adds a timeout (the global `timeout` config option) to make infinite recursion in partials
easier to reason about.
```
name old time/op new time/op delta
IncludeCached-10 8.92ms ± 0% 8.48ms ± 1% -4.87% (p=0.016 n=4+5)
name old alloc/op new alloc/op delta
IncludeCached-10 6.65MB ± 0% 5.17MB ± 0% -22.32% (p=0.002 n=6+6)
name old allocs/op new allocs/op delta
IncludeCached-10 117k ± 0% 71k ± 0% -39.44% (p=0.002 n=6+6)
```
Closes #4086
Updates #9588
2023-01-25 17:35:23 +01:00
Bjørn Erik Pedersen
93ed6e447a
Update README.md
2023-01-24 15:04:06 +01:00
Bjørn Erik Pedersen
58347d41f3
Update theme
2023-01-24 14:58:17 +01:00
aaron
7c806371f6
Fix 404 error for CloudCannon community learn docs ( #1955 )
2023-01-21 10:02:30 -08:00
Bjørn Erik Pedersen
58e42b03dc
Update theme
2023-01-20 19:51:51 +01:00
Bjørn Erik Pedersen
fd0385ee20
Update theme
2023-01-19 11:36:03 +01:00
Bjørn Erik Pedersen
513b7a43aa
Update findRe.md
2023-01-18 09:36:25 +01:00
Bjørn Erik Pedersen
4d39137ef9
Update configuration.md
2023-01-18 09:29:46 +01:00
Bjørn Erik Pedersen
b1c3b58a74
Update configuration.md
2023-01-18 09:29:06 +01:00
Bjørn Erik Pedersen
f827cce8d8
Update configuration.md
2023-01-18 09:27:46 +01:00
Bjørn Erik Pedersen
3d72ed8fb8
netlify: Hugo 0.110.0
2023-01-17 14:23:16 +01:00
Bjørn Erik Pedersen
e6f969c872
Merge branch 'feat/config-rename'
2023-01-17 14:22:28 +01:00
hugoreleaser
0d1161b263
releaser: Prepare repository for 0.111.0-DEV
...
[ci skip]
2023-01-17 12:28:17 +00:00
hugoreleaser
e32a493b78
releaser: Bump versions for release of 0.110.0
...
[ci skip]
2023-01-17 12:16:09 +00:00
Bjørn Erik Pedersen
4c0b5a0b53
dos: Regen CLI docs
2023-01-17 12:52:53 +01:00
Bjørn Erik Pedersen
19e9605629
dos: Regen CLI docs
2023-01-17 12:52:53 +01:00
Bjørn Erik Pedersen
05d9db7055
docs: Regen docshelper
2023-01-17 12:52:08 +01:00
Bjørn Erik Pedersen
80e8bd3b72
docs: Regen docshelper
2023-01-17 12:52:08 +01:00
Bjørn Erik Pedersen
f73bdb6e58
Merge commit 'ef6f101e75256c3bb88a6f1f3b5c1273bf8d7382'
2023-01-17 12:51:46 +01:00
Bjørn Erik Pedersen
b661132e0a
Merge commit 'ef6f101e75256c3bb88a6f1f3b5c1273bf8d7382'
2023-01-17 12:51:46 +01:00
Bjørn Erik Pedersen
ef6f101e75
Squashed 'docs/' changes from 2c0125b52..1214f6ffb
...
1214f6ffb Document cleanDestinationDir configuration setting
27ca65463 Clarify .Page.Param method (#1953 )
3fa1792d2 Document the usage of `hardWrap` option for markdown rendering (#1951 )
8b5afdfb4 Update theme
207e7f0a0 fix docs for getting remote font
1f7094b9e Correct typo
f9d6445c4 Added missing `/` in URL generator (#1946 )
3a22ee7d6 Remove translations
b3b900f3f Update introduction.md
aca440052 rm Forestry - facing end-of-life shortly (#1944 )
af0014e14 Update scss-sass.md
1c43bbbc9 Merge branch 'docs/goworkspace'
d034175ca netlify: Hugo 0.109.0
d3a6a5c3f Merge branch 'tempv0.109.0'
e033dbead docs: Regen docs helper JSON
452bf675c resource/page: Add Page.Ancestors
12edd7363 Add some docs for workspaces
8f0fcba6b Add HUGO_PUBLISHDIR to the Node environment
4e66d98ad Update theme
808aee6f6 config: Update to ga v4
1de2bc5a9 config: Update to ga v4
ddb5fd6b0 Merge commit '41bc6f702aa54200530efbf4267e5c823df3028d'
54c54bf76 modules: Adjust watch logic vs workspace use definitions
git-subtree-dir: docs
git-subtree-split: 1214f6ffbf
2023-01-17 12:51:01 +01:00
Bjørn Erik Pedersen
d595419031
related: Handly []any
...
See #10624
2023-01-17 12:50:26 +01:00
Bjørn Erik Pedersen
671f64b2eb
Fix permalinks issue with repeated sections
...
Fixes #10377
2023-01-17 12:49:16 +01:00
Bjørn Erik Pedersen
2fb40ece5d
tpl/strings: Add findRESubmatch
...
Fixes #10594
2023-01-17 12:14:11 +01:00