TiendaNube / base-theme

BETA v1.0.0
33 stars 23 forks source link

settings.txt parsing requires tab char. Example code in docs are using spaces as indentation and fails silently. #32

Open felipe-dap opened 5 months ago

felipe-dap commented 5 months ago

Docs on how to customize settings.txt here are using spaces for indentation instead of the TAB char. This does not work. The settings.txt must be indented using TAB char.

// current version - does not work - copied from https://docs.nuvemshop.com.br/help/settings-txt - notice the usage of spaces for indentation -- // Este é o meu título i18n_input name = variable_1 description = Esta es la description i18n_input name = variable_2 description = Esta é a descrição da minha segunda variável

// this works - notice the usage of TAB char instead // Este é o meu título i18n_input name = variable_1 description = Esta es la description i18n_input name = variable_2 description = Esta é a descrição da minha segunda variável


Suggestions: Updating docs, explicitly informing that settings.txt wont parse multiple spaces as indentation - failing silently. Update html pages on docs using tab chars instead.