Building your Developer Portal
Local Edition Developer Portal pages are built with Hugo and we do make some assumptions:
-
You have Hugo installed on your machine.
-
You have Node.js installed on your machine.
-
You have GulpJS installed on your machine.
Folders
The codebase for the Developer Portal is included as a container that is part of the 5.2 (or later) installation files.
Organize your site like any other Hugo project. (See the Organization topic at Hugo.) Typically, you have a content folder with all your pages.

_index.md is required in each folder, it is your "folder home page".
Building with Hugo
Use Hugo to build your HTML files.
-
In the command line, cd into the directory for your project and run a build.
-
gulpcompiles, lints, concatenates, and minifies all of the template files, and runs a fresh build of the Hugo templates. You can access them in thedocsdirectory. -
gulpwatch runs the default Gulp tasks, watch for the changes, and recompile automatically. -
gulp serverruns the default Gulp tasks, automatically recompile when changes happen, and spin up a local development server that automatically reloads with your changes.