MiloDocs Hugo Theme for Docs Eng & Tech Writers
MIT License
brew install hugo
site_name="milodocs_$(date +%s%N | md5sum | head -c 8)"
hugo new site "$site_name"
cd "$site_name"
git init
git submodule add https://github.com/lbliii/milodocs themes/milodocs
mkdir config/
cp -r themes/milodocs/exampleSite/config/* config/
rm config/_default/security.yaml
rm hugo.toml
git add .
git commit -m "Initial commit"
hugo server -D -p 1313
content/
(e.g., content/get-started
)._index.md
file with the following frontmatter:
---
title:
description:
weight:
---
Getting from 0 to 1 takes ~5 minutes.
brew install hugo
See Hugo Docs for more options:
hugo new site <siteName>
Open your <siteName>
project directory.
Navigate to the themes/
directory.
Run the following command:
gh repo clone lbliii/milodocs
baseURL = 'https://example.org/'
languageCode = 'en-us'
title = 'My New Hugo Site'
theme = 'milodocs'
Time to start saving your progress!
git init
siteName
repo.hugo server