TugboatQA / docs

Tugboat Docs
https://docs.tugboat.qa
MIT License
10 stars 18 forks source link

Fix shortcode "children" must be closed or self-closed #389

Closed penyaskito closed 7 months ago

penyaskito commented 7 months ago

Running yarn build gave me an error: shortcode "children" must be closed or self-closed

See https://github.com/gohugoio/hugo/issues/10838

Apparently hugo 0.111 is more restrictive, and hugo 0.111 is the default in e.g. debian 12 repos (I'm using ddev). This should work in any previous version of hugo though.

q0rban commented 7 months ago

Tested and this works with both yarn build and hugo serve with hugo v0.99.0.

FYI, no need to use ddev for this if you have hugo installed. I guess we need a CONTRIBUTING.md! I thought we had one. 🤔

penyaskito commented 7 months ago

@q0rban I use ddev for everything, I don't even have node installed locally and just a very old php!

q0rban commented 7 months ago

sounds good, since we don't have a CONTRIBUTING.md I'll just note that all you need is hugo serve to run this locally, not nodejs unless you want to run the linter or link checker scripts.

penyaskito commented 7 months ago

Ended up writing https://github.com/penyaskito/ddev-hugo