1
0
Fork 0
hugo/testscripts/commands
Joe Mooring 24ac6a9de9 commands/new: Improve theme creation
- Update the skeleton structure to match the new template system.
- Add a --format flag to the `hugo new theme` command to control the
  format of the site configuration and default archetype files.
- Remove theme.toml. This file's presence can be confusing for new
  users, and the README in the themes repository already has an example.
- Remove the LICENSE and README files from the skeleton. These files
  are not needed for a theme to work, and they can be added later by
  the user if desired.

Closes #13489
Closes #13544
2025-04-08 16:35:46 +02:00
..
commands_errors.txt Fix "unknown command" message when no suggestion 2023-05-22 18:54:34 +02:00
completion.txt Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
config.txt commands: Use consistent style when describing subcommands 2024-10-15 08:51:53 +02:00
config__cachedir.txt Use os.UserCacheDir as first fallback if cacheDir is not set 2023-07-27 20:59:47 +02:00
convert.txt commands: Use consistent style when describing subcommands 2024-10-15 08:51:53 +02:00
deprecate.txt Write all logging (INFO, WARN, ERROR) to stderr 2024-12-13 09:23:09 +01:00
env.txt Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
gen.txt commands: Add --omitEmpty flag to gen chromastyles 2025-03-11 16:50:59 +01:00
hugo.txt Fix deprecation errors 2024-08-05 19:23:53 +02:00
hugo__configdir.txt Write all logging (INFO, WARN, ERROR) to stderr 2024-12-13 09:23:09 +01:00
hugo__errors.txt commands: Use punctuation consistently in short description 2025-02-13 08:40:26 +01:00
hugo__flags.txt commands: Fail the build when no config file or config dir 2023-05-27 16:56:54 +02:00
hugo__noconfig.txt Don't create the public folder unless needed 2023-05-28 12:55:44 +02:00
hugo__path-warnings-postprocess.txt Fix false path warnings with resources.PostProcess 2023-06-27 21:55:35 +02:00
hugo__path-warnings.txt Write all logging (INFO, WARN, ERROR) to stderr 2024-12-13 09:23:09 +01:00
hugo__path-warnings_issue13164.txt Fix same resource file published more than once 2024-12-27 18:55:24 +01:00
hugo__processingstats.txt all: Rework page store, add a dynacache, improve partial rebuilds, and some general spring cleaning 2024-01-27 16:28:14 +01:00
hugo__processingstats2.txt all: Rework page store, add a dynacache, improve partial rebuilds, and some general spring cleaning 2024-01-27 16:28:14 +01:00
hugo__publishdir_in_config.txt commands: Load config before creating the filesystem 2023-05-18 15:38:25 +02:00
hugo__static_composite.txt Fix regression on handling of overlapping file mounts 2024-02-22 15:36:27 +01:00
hugo__watch.txt Don't inject livereload script on hugo -w 2023-06-02 09:04:00 +02:00
hugo_build.txt commands: Add "hugo build" as an alias for "hugo" 2024-09-30 10:36:29 +02:00
hugo_configdev_env.txt Fix regression when loading config -e is empty or HUGO_ENV or HUGO_ENVIRONMENT is set 2023-05-24 16:39:31 +02:00
hugo_configdev_environment.txt Fix regression when loading config -e is empty or HUGO_ENV or HUGO_ENVIRONMENT is set 2023-05-24 16:39:31 +02:00
hugo_configprod.txt Fix regression when loading config -e is empty or HUGO_ENV or HUGO_ENVIRONMENT is set 2023-05-24 16:39:31 +02:00
hugo_printpathwarnings.txt Write all logging (INFO, WARN, ERROR) to stderr 2024-12-13 09:23:09 +01:00
hugo_printunusedtemplates.txt Reimplement and simplify Hugo's template system 2025-04-06 20:59:41 +02:00
import_jekyll.txt commands: Use consistent style when describing subcommands 2024-10-15 08:51:53 +02:00
list.txt commands: Fix --clock with the list command 2024-02-17 13:14:15 +01:00
mod.txt Upgrade to Go 1.23 2024-08-15 10:18:19 +02:00
mod__disable.txt Fix it so disable a module does not disable transitive dependency required by others 2023-08-23 18:05:18 +02:00
mod__themesdir.txt commands: Reinstate some of the removed build flags (e.g. --theme) to new and mod 2023-05-28 12:55:44 +02:00
mod_get.txt Fix so hugo get -u updates transitively 2023-10-22 16:32:01 +02:00
mod_get_u.txt commands/mod: Ignore invalid module path 2024-02-22 16:00:03 +01:00
mod_init.txt commands: Ignore "module does not exist" errors in hugo mod init 2024-09-19 12:26:04 +02:00
mod_npm.txt Upgrade to Go 1.23 2024-08-15 10:18:19 +02:00
mod_npm_withexisting.txt commands: Skip flaky test on Windows 2025-03-03 12:50:33 +01:00
mod_tidy.txt Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
mod_vendor.txt testscripts: Make mod vendor test stable 2023-08-23 20:52:09 +02:00
new.txt commands/new: Improve theme creation 2025-04-08 16:35:46 +02:00
new_content.txt Delay the creation of cache directories until they're used 2023-08-30 16:39:06 +03:00
new_content_archetypedir.txt all: Rework page store, add a dynacache, improve partial rebuilds, and some general spring cleaning 2024-01-27 16:28:14 +01:00
noop.txt Make sure resources directory isn't created in hugo new theme 2023-08-23 22:50:35 +02:00
server.txt Fix deprecation errors 2024-08-05 19:23:53 +02:00
server__edit_config.txt commands: Make the server flag --renderToDisk into --renderToMemory (note) 2024-02-05 14:04:17 +01:00
server__edit_content.txt commands: Make the server flag --renderToDisk into --renderToMemory (note) 2024-02-05 14:04:17 +01:00
server__error_recovery_edit_config.txt hugolib/commands: Fix stuck server error issues 2024-10-24 13:34:11 +02:00
server__error_recovery_edit_content.txt hugolib/commands: Fix stuck server error issues 2024-10-24 13:34:11 +02:00
server__multihost.txt commands: Make the server flag --renderToDisk into --renderToMemory (note) 2024-02-05 14:04:17 +01:00
server__watch_hugo_stats.txt commands: Make the server flag --renderToDisk into --renderToMemory (note) 2024-02-05 14:04:17 +01:00
server__watch_moduleconfig.txt commands: Make the server flag --renderToDisk into --renderToMemory (note) 2024-02-05 14:04:17 +01:00
server_disablelivereload.txt commands: Make the server flag --renderToDisk into --renderToMemory (note) 2024-02-05 14:04:17 +01:00
server_disablelivereload__config.txt commands: Make the server flag --renderToDisk into --renderToMemory (note) 2024-02-05 14:04:17 +01:00
server_render_static_to_disk.txt commands: Make the server flag --renderToDisk into --renderToMemory (note) 2024-02-05 14:04:17 +01:00
server_render_to_memory.txt commands: Make the server flag --renderToDisk into --renderToMemory (note) 2024-02-05 14:04:17 +01:00
version.txt Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
warnf_stderr.txt Write all logging (INFO, WARN, ERROR) to stderr 2024-12-13 09:23:09 +01:00