Hugo Parameter Extractor

HugoParamExtractor is a Python script designed for Hugo developers. It scans Hugo theme files, including HTML, JSON, and XML formats, and extracts the parameters used in the templates. This aids theme creators and developers in easily discovering and documenting their theme’s configurable options.

Features

  • Supports parsing HTML, JSON, and XML files within Hugo themes.
  • Extracts and categorizes parameters into ‘Site’ and ‘Normal’ parameters.
  • Organizes parameters by layout/folder names, enhancing clarity for theme developers.

Github Link

  • Python 3
  • Hugo