lbliii / milodocs

MiloDocs Hugo Theme for Docs Eng & Tech Writers

Home Page:https://milodocs-theme.netlify.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MiloDocs

Features

  • native chatGPT UI
  • native algolia UI

Installation

Quickstart (MacOS)

Copy and paste this into your terminal.

brew install hugo
site_name="milodocs_$(date +%s%N | md5sum | head -c 8)"
hugo new site "$site_name"
cd "$site_name"
git clone https://github.com/lbliii/milodocs themes/milodocs
echo 'theme = "milodocs"' >> hugo.toml
git init
git add .
git commit -m "Initial commit"
hugo server -D -p 1313

Open localhost:1313

Getting from 0 to 1 takes ~5 minutes.

1. Install Hugo

brew install hugo

See Hugo Docs for more options:

2. Create a New Site

hugo new site <siteName>

3. Install This Project

  1. Open your <siteName> project directory.

  2. Navigate to the themes/ directory.

  3. Run the following command:

    gh repo clone lbliii/milodocs

4. Add Theme to Config

baseURL = 'https://example.org/'
languageCode = 'en-us'
title = 'My New Hugo Site'
theme = 'milodocs'

5. Init Repo

Time to start saving your progress!

  1. Run the following:
    git init
  2. Add a comment.
  3. Push your new site and theme to your remote git repo.

6. Deploy locally

  1. Navigate into the siteName repo.
  2. Run the following:
    hugo server
  3. Open localhost (typically localhost:1313).

About

MiloDocs Hugo Theme for Docs Eng & Tech Writers

https://milodocs-theme.netlify.app/

License:MIT License


Languages

Language:HTML 57.0%Language:JavaScript 21.2%Language:Python 12.2%Language:CSS 5.0%Language:Shell 3.3%Language:Makefile 1.2%Language:Ruby 0.0%