marcriera / ddgo-controller-docs

Collection of technical information regarding controllers for the Densha de GO! series.
https://marcriera.github.io/ddgo-controller-docs
17 stars 3 forks source link

Hugo doesn't work #15

Closed jaoxford closed 1 month ago

jaoxford commented 1 month ago

Thanks for making this. I want to test out some changes. However when I run hugo server -D I get the following error:

Watching for changes in /Projects/ddgo-controller-docs/{archetypes,content,data,layouts,static}
Watching for config changes in /Projects/ddgo-controller-docs/config.toml
Start building sites … 
hugo v0.127.0+extended darwin/arm64 BuildDate=2024-06-05T10:27:59Z VendorInfo=brew

Built in 12 ms
Error: error building site: process: readAndProcessContent: "/Projects/ddgo-controller-docs/content/adapters/cheats/_index.md:15:1": failed to extract shortcode: template for shortcode "notice" not found

Do you think this could be a hugo issue, a theme issue, or an issue with the code?

Thanks

jaoxford commented 1 month ago

Found the issue, I hadn't installed the theme properly.

Fixed it with:

git submodule init 
git submodule update

In case anybody ever gets the same issue. Sourced from: https://stackoverflow.com/a/3796947/4044560