Skip to content

trimble-oss/modus-docs-hugo-theme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Modus Docs Hugo Theme (Experimental)

LICENSE GitHub Super-Linter npm Version

A documentation theme for Hugo.

Status: Alpha. This theme is currently under development.

Installation

  1. Add this repo to your package.json as follows:
npm i @trimble-oss/modus-docs-hugo-theme --save-dev
  1. Add the following mounts to your Hugo config:
module:
  mounts:
    - source: node_modules/@trimble-oss/modus-docs-hugo-theme/assets/
      target: assets
      # The main theme CSS and JavaScript

    - source: node_modules/@trimble-oss/modus-docs-hugo-theme/layouts/
      target: layouts
      # The main theme templates

    - source: node_modules/@trimble-oss/modus-docs-hugo-theme/static/
      target: static
      # Includes Trimble favicon and JS for theme toggle and search

    - source: node_modules/@trimble-oss/modus-icons/dist/modus-solid/sprites/modus-icons.svg
      target: static/modus-solid-icons.svg
      # Modus Icons Solid will be available as an SVG sprite

    - source: node_modules/@trimble-oss/modus-icons/dist/modus-outlined/fonts/
      target: static/fonts/
      # Modus Icons Outlined will be available as webfont