Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-03-08docs: Regenerate CLI docsBjørn Erik Pedersen
2022-03-08docs: Regenerate docshelperBjørn Erik Pedersen
2022-03-08Merge commit 'd706529720b3b2ccb99719ccd578062ca25a0cc2'Bjørn Erik Pedersen
2022-03-08Squashed 'docs/' changes from 3f95a2ace..a393f4cf4Bjørn Erik Pedersen
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: a393f4cf43829011e96d109de2f039a9b05b2d16
2022-03-08Cache reflect.MethodByNameBjørn Erik Pedersen
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-08releaser: Remove the GitHub link syntax around release contributorsBjørn Erik Pedersen
Fixes #9581
2022-03-08Some minor adjustments to the new static filesystem logicBjørn Erik Pedersen
Closes #9625
2022-03-08Allow rendering static files to disk and dynamic to memory in server modeSatowTakeshi
Updates #9625
2022-03-08build(deps): bump github.com/kyokomi/emoji/v2 from 2.2.8 to 2.2.9dependabot[bot]
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-08build(deps): bump github.com/evanw/esbuild from 0.14.23 to 0.14.25dependabot[bot]
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-08build(deps): bump github.com/niklasfasching/go-org from 1.6.0 to 1.6.2dependabot[bot]
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-08build(deps): bump github.com/getkin/kin-openapi from 0.90.0 to 0.91.0dependabot[bot]
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-08releaser: Prepare repository for 0.94.0-DEVrelease-0.93.3hugoreleaser
[ci skip]
2022-03-08releaser: Bump versions for release of 0.93.3v0.93.3hugoreleaser
[ci skip]
2022-03-08releaser: Add release notes for 0.93.3hugoreleaser
[ci skip]
2022-03-08Remove the decorator from the fs used in ReadDirBjørn Erik Pedersen
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-08Update stale.ymlBjørn Erik Pedersen
operations-per-run: 999 We need to get this done so the notification gets back to normal.
2022-03-07build(deps): bump github.com/yuin/goldmark from 1.4.7 to 1.4.8dependabot[bot]
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-06Remove the examples/ folderBjørn Erik Pedersen
These are not maintained and do not belong in this repository.
2022-03-04releaser: Prepare repository for 0.94.0-DEVrelease-0.93.2hugoreleaser
[ci skip]
2022-03-04releaser: Bump versions for release of 0.93.2v0.93.2hugoreleaser
[ci skip]
2022-03-04releaser: Add release notes for 0.93.2hugoreleaser
[ci skip]
2022-03-04tpl/os: Revert readDir in theme behaviourBjørn Erik Pedersen
Fixes #9599
2022-03-02markup/goldmark: Escape image alt attributeJoe Mooring
Fixes #9594
2022-03-02releaser: Prepare repository for 0.94.0-DEVrelease-0.93.1hugoreleaser
[ci skip]
2022-03-02releaser: Bump versions for release of 0.93.1v0.93.1hugoreleaser
[ci skip]
2022-03-02releaser: Add release notes for 0.93.1hugoreleaser
[ci skip]
2022-03-02tpl/transform: Fix it when template.HTML is passes as option to HightlightBjørn Erik Pedersen
Fixes #9591
2022-03-02tpl/partials: Fix partialCached deadlock regressionBjørn Erik Pedersen
This is a rollback of 0927cf739fee9646c7fb917965799d9acf080922 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-01tpl/collections: Fix apply when function have Context as first argBjørn Erik Pedersen
As introduced in `partial` and `partialCached` in Hugo 0.93.0. Fixes #9585
2022-02-28Squashed 'docs/' changes from 93f7baf80..3f95a2aceBjørn Erik Pedersen
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: 3f95a2ace37b04851905d72e4444020e30996787
2022-02-28Merge commit 'c1398b91a9f4c67876b31feb67516b252e654d3c'Bjørn Erik Pedersen
2022-02-28releaser: Prepare repository for 0.94.0-DEVrelease-0.93.0hugoreleaser
[ci skip]
2022-02-28releaser: Bump versions for release of 0.93.0v0.93.0hugoreleaser
[ci skip]
2022-02-28releaser: Add release notes for 0.93.0hugoreleaser
[ci skip]
2022-02-28docs: Regenerate docs helperBjørn Erik Pedersen
2022-02-28markup/highlight: Ignore HL_lines_parsed in the gen docsBjørn Erik Pedersen
2022-02-28cod: Regen CLI docsBjørn Erik Pedersen
2022-02-27tpl/diagrams: Rename the SVG accessor to WrappedBjørn Erik Pedersen
Not perfect, but it gets it in line with the other .Inner/.Wrapped combos.
2022-02-27markup/highlight: Rework the return value from HighlightCodeblockBjørn Erik Pedersen
To make it possible to render it with a custom HTML ("<div>") wrapper. Updates #9573
2022-02-27tpl/transform: Add CanHighlightBjørn Erik Pedersen
Closes #9573
2022-02-27Rename Codeowners() to CodeOwners()Bjørn Erik Pedersen
2022-02-27tpl/diagrams: Rename Body to InnerBjørn Erik Pedersen
This relates to #9577 – there's no concept a body element in SVG, so we might as well use an exsisting "Hugo term".
2022-02-27CodeblockContext method renamesBjørn Erik Pedersen
Fixes #9577
2022-02-27build(deps): bump github.com/tdewolff/minify/v2 from 2.9.29 to 2.10.0dependabot[bot]
Bumps [github.com/tdewolff/minify/v2](https://github.com/tdewolff/minify) from 2.9.29 to 2.10.0. - [Release notes](https://github.com/tdewolff/minify/releases) - [Commits](https://github.com/tdewolff/minify/compare/v2.9.29...v2.10.0) --- updated-dependencies: - dependency-name: github.com/tdewolff/minify/v2 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2022-02-26markup/goldmark: Adjust test for WindowsBjørn Erik Pedersen
2022-02-26markup/goldmark: Improve attributes vs optionsBjørn Erik Pedersen
Fixes #9571
2022-02-26markup/goldmark: Add Position to CodeblockContextBjørn Erik Pedersen
But note that this is not particulary fast and the recommendad usage is error logging only. Updates #9574
2022-02-26 markup/goldmark: Unify some code block testsBjørn Erik Pedersen
2022-02-26Remove the trailing new line in .CodeBjørn Erik Pedersen
Fixes #9572