Before you begin
Hugo, Dart Sass, Go, Git, Node.js, and optional PostCSS requirements for Docsy sites
Hugo modules are the simplest and latest way to use Hugo themes like Docsy when building a website. Hugo uses the modules mechanism to pull in the theme files from the main Docsy repo at your chosen revision, and it’s easy to keep the theme up to date in your site. Our example site uses Docsy as a Hugo module.
To find out about other setup approaches, see our Get started overview. If you want to migrate an existing Docsy site to use Hugo Modules, see our migration guide.
To use Docsy as a Hugo Module, you have a couple of options:
If you’re a beginner, we recommend that you get started by copying our example site. If you’re already familiar with Hugo or want a very different site structure, you can follow our guide to start a site from scratch, which gives you maximum flexibility at the cost of higher implementation effort. In both cases you need to follow our prerequisites guide to make sure that you have installed Hugo and all necessary dependencies.
Hugo, Dart Sass, Go, Git, Node.js, and optional PostCSS requirements for Docsy sites
Clone the example site and adapt it: a ready-made site structure with a pinned toolchain.
For experienced Hugo users who need a custom site structure
Cette page est-elle utile?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.