Socket
Book a DemoInstallSign in
Socket

@trimble-oss/modus-docs-hugo-theme

Package Overview
Dependencies
Maintainers
5
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@trimble-oss/modus-docs-hugo-theme

A Documentation theme for Hugo built by Trimble

Source
npmnpm
Version
1.0.0-alpha5
Version published
Weekly downloads
15
Maintainers
5
Weekly downloads
 
Created
Source

Modus Docs Hugo Theme (Experimental)

A documentation theme for Hugo.

Status: Alpha. This theme is currently under development and is not yet ready for production use.

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

FAQs

Package last updated on 14 Sep 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts