@trimble-oss/modus-docs-hugo-theme
v1.0.0-alpha27
Published
A Documentation theme for Hugo built by Trimble
Downloads
106
Maintainers
Keywords
Readme
Modus Docs Hugo Theme (Experimental)
A documentation theme for Hugo.
Status: Alpha. This theme is currently under development.
Installation
- Add this repo to your package.json as follows:
npm i @trimble-oss/modus-docs-hugo-theme --save-dev
- 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