Skip to content

Your first docs site

Minimal walkthrough: mount the theme, add content, serve.

The fastest path from zero to a rendered docs page.

Mount the theme

hugo mod init example.com/mydocs
hugo mod get github.com/fernandezvara/hugodoks
# hugo.toml
[module]
  [[module.imports]]
    path = "github.com/fernandezvara/hugodoks"

[outputs]
  home = ["html", "rss", "searchindex"]

Add content

hugo new docs/_index.md
hugo new docs/getting-started.md

Serve

hugo server

The sidebar shows both Guides and Shortcodes as collapsible groups — opening one collapses the other.

Edit this page · Last updated 01 Jan 0001