-
To have more of a comprehensive set of documentation, we can replace our single-page documentation site with a full Hugo site. This is a very straightforward Hugo site, implementing the basics needed, and using Classless for the minimal set of styling necessary. This also gives us the opportunity to extend this better in the future, for instance adding other pages. We can use Cobra's `GenMarkdownTree` function - with the ability to tweak the URLs so they work for the built Hugo structure - to do the bulk of the work. On Netlify we make sure to set the `baseDir` to `public`, so we can use the `netlify.toml` relative from there, which requires `gendoc` be set up to expect to be run from the `public` directory. Closes #52.
8f46b94f
Analyzing file…