Check that your Hugo version is minimum 0.25 with hugo version. We assume that all changes to Hugo content and customizations are going to be tracked by git (GitHub, Bitbucket etc.). Develop locally, build on remote system.
To start real work:
Install DocDock theme
Configure DocDock and Hugo
Prepare empty Hugo site
Create empty directory, which will be root of your Hugo project. Navigate there and let Hugo to create minimal required directory structure:
$ hugo new site .
AFTER that, initialize this as git directory where to track further changes
$ git init
Next, there are at least three ways to install DocDock (first recommended):
As git submodule
As git clone
As direct copy (from ZIP)
Navigate to your themes folder in your Hugo site and use perform one of following scenarios.
1. Install DocDock as git submodule
DocDock will be added like a dependency repo to original project. When using CI tools like Netlify, Jenkins etc., submodule method is required, or you will get theme not found issues. Same applies when building site on remote server trough SSH.
Now you are ready to add content and customize looks. Do not change any file inside theme directory.
If you want to freeze changes to DocDock theme itself and use still submodules, fork private copy of DocDock and use that as submodule. When you are ready to update theme, just pull changes from origin to your private fork.
2. Install DocDock simply as git clone
This method results that files are checked out locally, but won’t be visible from parent git repo. Probably you will build site locally with hugo command and use result from public/ on your own.