I’m currently working on making Hugo automatically generate a simple website based on the app store description files as stored in the app’s source repo. I’m starting with the fastlane supply layout but also would like to support the Triple-T Gradle Play Publisher layout. Both of these work by organizing text and graphic files in a standard directory layout with standard naming:
- fastlane/
└── metadata/
└── android/
└── <locale>/
├── full_description.txt
├── short_description.txt
├── title.txt
├── video.txt
├── changelogs/
│ ├── <version-code>.txt
│ └── <version-code>.txt
└── images/
├── featureGraphic.png
├── icon.png
├── promoGraphic.png
├── tvBanner.png
├── phoneScreenshots/
│ └── *.png
├── sevenInchScreenshots/
│ └── *.png
├── tenInchScreenshots/
│ └── *.png
├── tvScreenshots/
│ └── *.png
└── wearScreenshots/
└── *.png
I can include the root dir as a staticDir
but then I can’t resize the images as they are used, since they’d have to be in contentDir
for that to work. If I set it to contentDir
it seems likely there will be conflicts between Hugo and Fastlane/Triple-T. If it was possible to set the root as a data dir and if Hugo loaded .txt files as data, then it would make handling the text easy.
My plan is to make this into a Hugo theme, so it is really easy for people to generate website for apps, and keep them in sync with the app store materials.