Skip to content

将 Halo 1.5 的主题配置自动转换为 Halo 2.0 适用的主题配置的工具。

Notifications You must be signed in to change notification settings

halo-sigs/convert-theme-config-to-next

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@halo-dev/convert-theme-config-to-next

将 Halo 1.5 的主题配置自动转换为 Halo 2.0 适用的主题配置。

使用

theme.yaml

npx @halo-dev/convert-theme-config-to-next theme -i path/to/theme.yaml

或者

cd path/to/theme

npx @halo-dev/convert-theme-config-to-next theme

转换完成之后需要修改 metadata.name spec.settingName spec.configMapName

settings.yaml

npx @halo-dev/convert-theme-config-to-next settings -i path/to/settings.yaml

或者

cd path/to/theme

npx @halo-dev/convert-theme-config-to-next settings

转换完成之后需要修改 metadata.name

About

将 Halo 1.5 的主题配置自动转换为 Halo 2.0 适用的主题配置的工具。

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published