regolith-linux / website

The public Regolith website.
Apache License 2.0
16 stars 50 forks source link

Manually merge 1.5.2 changes back into v2 site branch. #134

Closed kgilmer closed 3 years ago

kgilmer commented 3 years ago

I was unable to get hugo server to work for me on my machine, and I'd rather not tempt fate late at night that the push will break the site. So, if you could review and merge if looks good, thanks.

Also, did you have to update anything to get the site to build locally? Here's a snippet of my errors, but hugo generates many warnings.

WARN 2021/02/04 21:35:03 found no layout file for "HTML" for "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2021/02/04 21:35:03 found no layout file for "HTML" for "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
ERROR 2021/02/04 21:35:04 [en] REF_NOT_FOUND: Ref "customize": "/home/kgilmer/dev/repos/website/content/en/docs/Getting started/configuration.md:66:56": page not found
ERROR 2021/02/04 21:35:04 [en] REF_NOT_FOUND: Ref "howtos": "/home/kgilmer/dev/repos/website/content/en/docs/Getting started/configuration.md:66:102": page not found
Built in 2304 ms
Error: Error building site: logged 2 error(s)

The merge tool I used was new to me and some of the lines here that were commented out I ended up deleting. I can put those back in if you prefer.

moritzheiber commented 3 years ago

@kgilmer the way we are using the docsy theme has changed, i.e. it’s now added as a git submodule and thus the submodule has to be initialized when cloning the repository (as documented) or before trying to render changes (via git submodule update —init —recursive). Can you give that a try and let me know whether it works for you?

Also, please make sure you have the extended version of Hugo installed, not just the regular one.

kgilmer commented 3 years ago

Thanks @moritzheiber , I had to upgrade hugo to .80 in addition to the submodules and now I'm all fixed up.