Use Docsy as a Hugo Module
Learn how to get started with Docsy by using the theme as a Hugo Module.
2 minute read
As you saw in our introduction, Docsy is a Hugo theme, which means that if you want to use Docsy, you need to set up your website source so that the Hugo static site generator can find and use the Docsy theme files when building your site. The simplest way to do this is to copy and edit our example site, though we also provide instructions for adding the Docsy theme manually to new or existing sites.
If you want to build and test your site locally you also need to be able to run Hugo itself, either by installing it and any other required dependencies, or by using our provided Docker container.
This page describes Docsy’s installation options and helps you choose the appropriate setup guide to get started.
Hugo offers multiple options for using themes, all of which are supported by Docsy.
If you have an existing site that uses Docsy as a Git submodule, and you would like to update it to use Hugo Modules, follow our migration guide. If you’re not ready to migrate yet, don’t worry! Your site will continue to work as usual.
Follow the setup guide for your chosen approach. If you’re new to Docsy and not sure which guide to follow, we recommend following the Use Docsy as a Hugo Module guide as a simple and easily maintained option.
Learn how to get started with Docsy by using the theme as a Hugo Module.
Create a new Docsy site with Docsy using Git or NPM
Instructions on how to setup and run a local Docsy site with Docker.
Basic configuration for new Docsy sites.
Known issues when installing Docsy theme.