Age | Commit message (Collapse) | Author |
|
Updates #10953
|
|
I shouldn't have merged this without running the tests.
This libray logs to stderr on init, which is a no go for us.
Re. test failure:
```
[stderr]
2023/05/17 18:21:04 maxprocs: Leaving GOMAXPROCS=2: CPU quota undefined
```
This reverts commit 59050f97f637b7cb423e6f5b63e36c1ea973c183.
|
|
Fixes #10950
|
|
Primary motivation is documentation, but it will also hopefully simplify the code.
Also,
* Lower case the default output format names; this is in line with the custom ones (map keys) and how
it's treated all the places. This avoids doing `stringds.EqualFold` everywhere.
Closes #10896
Closes #10620
|
|
See https://github.com/mvdan/gofumpt
|
|
And use that to calculate number of workers, if set, else fall back to number of logical CPUs.
Also tweak the relevant related settings to match the new setup.
Also remove the setting of `runtime.GOMAXPROCS` as this has been the default behaviour since Go 1.5.
Fixes #5814
|
|
We have no global `Hugo` object no more (yay!), and there are some external tools that depends on that value.
These tools need to use get that value from `Response.Result`.
Note that `commands.Execute` now also takes the arguments as a string slice. This should also make it easier to use, not having to modify `os.Args`.
This commit also wraps up this particular issue. Phew!
Test coverage in /commands before: 14.4%
Now: 53.5%
Still work to do, now it is at least possible.
Closes #4598
|
|
There are still some cleaning to do, but that felt good.
See #4598
|
|
See #4598
|
|
|
|
Fixes #3239
|
|
Fixes #740
|
|
Still need to add some missing headers and an AUTHORS file.
See #1646
|
|
|
|
Among the various changes, most instances of
{{ template "partials/FILE.html" . }}
were changed to
{{ partial "FILE.html" . }}
Also, in main.go, change "2013" to "2013-14".
|
|
handling. Integration of jWalterWeatherman library. Fixed #137
|
|
Seeing 300%+ improvement of total build time.
|
|
Better organization of main (controller style) code.
|
|
Being a good OS citizen so folks can compose hugo into their tool chain.
Also helps with git bisect run.
|
|
Currently changing css deletes all the site published html when it copies.
Refs #46
|
|
New behavior adds a special case for file changes inside the static directory to fsync PublishDir
|
|
Mention more clearly that, for generating `/filename.html`, you need to
set the `uglyurls` flag to `true`.
|
|
Remove the need for NewSite by relying on appropriate defaults. Renamed
site.c to site.Config to allow Sites to be created outside the package.
|
|
Any program, when asks to print their version, only prints that, and then
stops.
hugo checks the config (and prints a warning message if not found), and
proceeds to generate the site!
Yet, the user just wanted to check the version.
This patch makes sure hugo stops after printing the version.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Adding --uglyurls option to retain previous behavior
|
|
|
|
|
|
|
|
|
|
|
|
restructuredtext support
|
|
|
|
|