McShelby / hugo-theme-relearn

A theme for Hugo designed for documentation
https://mcshelby.github.io/hugo-theme-relearn/
MIT License
379 stars 178 forks source link

docs: fix oddities in the installation tutorial #840

Closed stevenroose closed 4 months ago

stevenroose commented 4 months ago

I'm following the installation tutorial which instructs to make a first chapter and two pages, but it doesn't work as the page says it should.

Only the chapter's menu item is created, but the pages menu items are not and there is no collapsable menu. Checked in Firefox and Chromium.

I'm using the 5.27.0 tag, not master.

McShelby commented 4 months ago

Please remove draft = true from the newly created pages.

McShelby commented 4 months ago

This is because Hugo nowadays overrides the default archetype.

McShelby commented 4 months ago

I've revamped to installation tutorial for a smoother experience.

Check it out: https://mcshelby.github.io/hugo-theme-relearn/basics/installation/index.html